xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Batik leaking temp files
Date Wed, 16 Feb 2005 14:16:25 GMT
Måns Rullgård wrote:

> Thomas DeWeese <Thomas.DeWeese@Kodak.com> writes:

>>	1) Convert your TrueType font to an SVG font (using ttf2svg,
>>which is part of the Batik toolkit).  This might be slightly
>>slower but most of our bottlenecks are not the font stuff.  The real
>>thing you will lose is font hinting, but the JDK doesn't do a great
>>job with this right now anyways.
> I could always give it a try.  Do I still specify the font in the same
> way?

    Pretty much except you need to include a fragment identifier for
the SVG font element.  There is a fairly complete example in

  One example is:
     @font-face { font-family: "CSS Batik SVGFont";
                  src: url(batikFont.svg#Batik); }

>>     Even if you decide to go with #1 for now could you file a Bugzilla
>>requesting #2 so it's not forgotten (I think it's a good idea).
> And of course it requires registration...  Oh well, I'll do it anyway.


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

View raw message