Re: font size question

Christian Convey <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.