xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Red Light <skydelt...@yahoo.com>
Subject Re: how to embed fonts via java, using fop trunk
Date Tue, 09 Mar 2010 19:18:53 GMT
Hi Adrian,

i'm using 0.95  and i set up the font path in the servlet:

then i reference my font in my conf file:

<font metrics-url="arial.xml" kerning="yes" embed-url="ARIAL.TTF">
          <font-triplet name="Arial" style="normal" weight="normal"/>       


where arial.xml and ARIAL.TTF are in placed in the repertory that i passed to the servlet;

may be i'm mistaken but yu need to ensure that yu have:

 <!-- Base URL for resolving relative URLs -->

in your conf file.

and good luck

View raw message