xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dieter <dieter.krach...@googlemail.com>
Subject Converting Font to SVG: all glyphs are rotated
Date Tue, 14 Jun 2011 15:56:07 GMT
Hi,

I just converted several fonts to SVG. When I extract the d="" element
from several glyphs and insert them in a SVG document I notice that
all glyphs are rotated clockwise by 180 degrees. Here is an example
for the glyph "7":

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
  <path d="M219 -2Q194 0 162 0Q130 0 92 -4Q122 44 157 105T229 237T304
387T376 550Q359 551 342 551Q325 551 306 551Q242 551 175 548T36 537Q38
582 29 628Q155 623 269 623Q384 623 490 629Q496 569 492
541Q466 509 440 466T388 374T338 273T292 172T252 77T219 -2Z"
        fill="green" stroke="blue" stroke-width="3" />	
</svg>


Is this normal? Why are the glyphs rotated?

Cheers,
Dieter

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message