xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: font size question
Date Mon, 18 Apr 2011 03:38:30 GMT
Martin Gainty:
> usually font characteristics are handled by css will batik read css?

Yes, Batik processes <style> elements and style="" attributes.  Passing
in `useCSS = false` to one of the stream() methods on SVGGraphics2D just
means that it will generate presentation attributes:

  <svg ... font-size="12" font-family="Whatever">

instead of style="" attributes:

  <svg ... style="font-size: 12; font-family: Whatever">

-- 
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


Mime
View raw message