xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Convey <christian.con...@gmail.com>
Subject Re: font size question
Date Mon, 18 Apr 2011 01:08:07 GMT
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 <cam@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message