Scherler, Thorsten wrote:
Hi Markus, I found this page (combined with what u have written):
http://xml.apache.org/fop/fonts.html

[..]

This font contains no embedding license restrictions

Then I did:
Register the fonts within FOP
Edit conf/userconfig.xml and add entries for the font if the fonts section, ie:
 <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
    <font-triplet name="Arial" style="normal" weight="normal"/>
    <font-triplet name="ArialMT" style="normal" weight="normal"/>
 </font>

BUT I am using FOP as servlet (Tomcat and cocoon). I now have to compile a fop.jar with my userconfig.xml, or not?

You don't need to compile FOP if you want to use other fonts.
Registering means to tell FOP where to find the new fonts at runtime.
For loading a configuration file within a servlet see http://xml.apache.org/fop/faq.html#faq-N1030C


Christian



Reply via email to