Oh, okay. I just didn't want people to thinnk that Batik was generating bad XML as the 
rest
of the is very good. Aslong as we make sure that people know what to expect.....

Thanks,

G.

Vincent Hardy wrote:

> Gerard,
>
> I already put the patch in. I think the best option is to leave it
> in and document (which I have not done yet) that it turns the result
> into shape which will create rather large SVG files...
> What do you think?
> V.
>
> "Gerard.Davison" wrote:
> >
> > Thanks for your quick response, unfortunately I do not think that this would be a 
>very
> > good idea for day to day use. After I sent my original email it occured to me to 
>use
> > TextLayout too; but the resultant text looks awfull and the size of my svg document
> > went from 20kb to 400kb. It might be better to just not support these functions 
>until
> > we can do it properly.
> >
> > From my exprience, using the TextLayout class doesn't give very good results at 
>small
> > font sizes. In JDK 1.3 at least I am not sure that it knows enough to do a good  
>job.
> >
> > I will pay bugzilla a visit later on today,
> >
> > Thanks again,
> >
> > G.
> >
> > Vincent Hardy wrote:
> >
> > > Gerard,
> > >
> > > Humm..... my memory is failing me. I remember studying in great details
> > > the correspondance between ACIs and SVG text and concluding that there
> > > was not a complete mapping. Now, the thing I do not remember is why
> > > not just do what the regression test
> > > org.apache.batik.svggen.AttributedCharacterIterator
> > > does?
> > >
> > > I have run the regression test suite with a patch to SVGGraphics2D
> > > doing just that (i.e., implementing drawString(ACI, x, y) and it
> > > does not detect any regression. Therefore, I am going to commit the
> > > fix and it will be available in CVS or in the upcoming developer
> > > release (early next week probably).
> > >
> > > Note, though, that this turns your text into shapes (and not SVG
> > > text). This could be improved. If you feel this is a badly needed
> > > extension, thanks for entering an RFE in Bugzilla.
> > >
> > > Regards,
> > > Vincent.
> > >
> > > "Gerard.Davison" wrote:
> > > >
> > > > Hi,
> > > >
> > > > I am trying to write out out underlined text using 1.0 of Batik. I am useing 
>the
> > > >
> > > > following API to write  the string from SVGGraphics2D :
> > > >
> > > >    Graphics2D.drawString(AttributedCharacterIterator, float,float);
> > > >
> > > > But this doesn't work and I end up with "AttributedCharacterIterator not
> > > > supported yet" being traced on the console.
> > > >
> > > > Can anybody tell me what version of Batik I would have to update to in order to
> > > > get support for this method. Or does anybody know of a good quick workaround 
>for
> > > >
> > > > doing undelined text using this version of Batik.
> > > >
> > > > Thanks,
> > > >
> > > > G.
> > > >
> > > > --
> > > >
> > > >    Features times Quality is Proportional to Time
> > > >    [EMAIL PROTECTED]
> > > >
> > > >   ------------------------------------------------------------------------
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> > --
> >
> >    Features times Quality is Proportional to Time
> >    [EMAIL PROTECTED]
> >
> >   ------------------------------------------------------------------------
> > ---------------------------------------------------------------------
> > 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]

--

   Features times Quality is Proportional to Time
   [EMAIL PROTECTED]

begin:vcard 
n:Davison;Gerard
x-mozilla-html:FALSE
org:Oracle;JDeveloper
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Software Engineer
fn:Gerard Davison
end:vcard

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

Reply via email to