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]
