On Wednesday 22 August 2001 07:13, Thomas Patterson wrote:
> I am using the TextLayout class to center text, etc in my rendering classes
> to label items.  When converted to svg, however, it is output as a polygon
> drawing rather than an svg text element (which takes much time for the
> SVGViewer to render).
>
> Is there any way to avoid this?  Simply using g.drawString("sdsds") works,
> but I lose the flexibility of TextLayout.


TextLayout is really difficult to handle properly in the SVGGraphics2D. Some 
features don't have the equivalent in SVG so there is actually no way to use 
the TextLayout API and generates a <text> element.

Thierry.


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

Reply via email to