I want to use Arial in my xsl stylesheet but there are several problems.

FOP Version: Fop 1.0
OS : SLES 11 SP2

First I get the arial.ttf from a windows client.
Generate the metrics file with:
 java -cp
org.apache.fop.fonts.apps.TTFReader /opt/fop/fonts/arial.ttf arial.xml

To there everythings is ok....

Then I add to config.xml:
    <!-- arial -->
    <font metrics-url="/opt/fop/fonts/arial.xml" kerning="yes"
      <font-triplet name="Arial" style="normal" weight="normal"/>

And run fop with:
/opt/fop/fop.sh -c /opt/fop/conf/config.xml -d  -fo /tmp/test.fo -pdf

Which gives me such output:
WARNING: Font "Arial,normal,400" not found. Substituting with

Where is my fautl??

THX a lot and regards from Germany.

Reply via email to