You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Andreas Metz <am...@i-te.com> on 2002/08/01 16:21:57 UTC
Problems to Convert SVG to JPG!
> Hello,
> i´m new here and need help. I will transcode a svg file into a jpeg
> file wich contains a text. Im using the Batik JPEGTranscoder. The
> font is no standard font, it is "HelvetivaNeue BoldCond". In svg
> file, all things are shown correct. If i convert the file to an jpeg,
> i will get the text in Arial. Whats the problem here? Can anybody help me
> please. Its important.
> Here the sourcecode of svg file:
> <?xml version="1.0" encoding="UTF-8"?>
> <svg xml:space="preserve" width="400" height="35">
> <text x="0" y="25" style="fill:#CC0033;font-size:20pt;font-family:'HelveticaNeue';font-weight:bold;font-stretch:condensed">The Text</text>
> </svg>
>
> I have tested it with other fonts. It works fine, also in converting to jpg, but not with "font-stretch:condensed" as an attribute
> Whats wrong??
>
> Thanxs a lot.
> Mfg,
> Andy
>
>