Hi Hans,

Hans Stoessel wrote:

I convert a SVG in a WMF document using the WMFWriter from Piet Jonas and
Batik 1.5.
>
Now I have problems with the text rendering. The rendered text in the WMF
file is not a text object. It is graphic and the result on the screen is
really bad.

- How is the text in the following SVG row rendered?
            <text x="11.1230469" y="387.1083984" style="stroke:none;"
xml:space="preserve">0</text>

It is drawn with Graphics2D.drawGlyphVector.


- Will the text be written with Graphics2D.drawString form the Batik
library?

No draw string isn't nearly powerful enough to handle SVG text.


Or is another Graphics2D method used? The developer of the WMF
library says, the Graphics2D methods of his library will be used instead of
the Graphics2D methods from Batik. And if the Batik library use drawString
the result would be OK.

- Can I do something, that the text will be drawn with
Graphics2D.drawString?

The PDFTranscoder from the FOP project has a 'hack' so very simple text is drawn using 'drawString'. You might look into using that.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to