Hi Thomas

The problem is that you can't edit the text in PowerPoint f.e. if it isn't a
text object. And so it should be a text object...

- Whats about this 'hack' in FOP? Where can I find that?

- Is it possible to use drawString instead of drawGlyphVector? Maybe if I
use an own class to draw my SVG text derived from SVGGraphics2D? In this
derived class I would replace drawGlyphVector with drawString...

Thanks for the help
Hans



> -----Ursprungliche Nachricht-----
> Von: Thomas DeWeese [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 4. Marz 2004 14:02
> An: Batik Users
> Betreff: Re: Rendering text in SVG
>
>
> 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]
>
>
>


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

Reply via email to