Thanks very much. Any idea when a new Batik release will come out that contains this fix?
On Sun, Apr 17, 2011 at 8:15 PM, Cameron McCormack <c...@mcc.id.au> wrote: > Hi Christian. > > Christian Convey: >> A few months ago I found that Firefox and Chromium were rendering my >> Batik-generated SVG files differently. Someone on this list kindly >> pointed out the problem: My font size (in the .svg file) was listed as >> "10", not "10px". (See example below.) >> >> Any suggestions for what I do in Java to make the "px" suffix appear >> in my svg file's font size(s)? > > This is https://issues.apache.org/bugzilla/show_bug.cgi?id=50100, which > was fixed a couple of months ago. You’ll need to grab the source from > Subversion to have this fix. If you can’t get the latest code from > Subversion, you can work around this issue by setting useCss to false to > make SVGGraphics2D use presentation attributes instead of the style="" > attribute; presentation attributes are allowed to omit units from > lengths, so browsers will be happy with them. > > -- > Cameron McCormack ≝ http://mcc.id.au/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org