Re: Converting Font to SVG: all glyphs are rotated

Dieter <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
yep...I meant flipped vertically or rotated 180 and flipped horizontally ;)

Do you have a link where it is described that "SVG coordinates are
upside down wrt cartesian" and the reasons why this was done?

Cheers,
Dieter

On Tue, Jun 14, 2011 at 6:14 PM, Martin Jacobson
<[email protected]> wrote:
> I haven't had time to verify your example, but I suspect you'll find
> that the fonts aren't rotated 180º, but flipped vertically; don't
> forget that SVG coordinates are upside down wrt cartesian. This annoys
> me on a regular basis!
>
> Martin
>
> On 14 June 2011 16:56, Dieter <[email protected]> wrote:
>> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> From my MacBook Pro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.