Lucian Opris wrote:

Hi,
I've regenerated the arial.xml using command line:

java -cp 
build/fop.jar:lib/avalon-framework-cvs-20020806.jar:lib/xml-apis.jar:lib/xercesImpl-2.2.1.jar
 org.apache.fop.fonts.apps.TTFReader /nas/web/fonts/arial.ttf 
/nas/web/fonts/arial.xml
and in config file I have

<font metrics-file="/nas/web/fonts/arial.xml" kerning="yes" 
embed-file="/nas/web/fonts/arial.ttf">
          <font-triplet name="Arial" style="[normal|italic]" 
weight="[normal|bold]"/>
</font>
I get the same result.
Could you tell my why is not a good ideea?
You need a file to embed.

Try something like
<fonts>
 <font metrics-file="/nas/web/fonts/arial.xml" kerning="yes"
     embed-file="/nas/web/fonts/arial.ttf">
   <font-triplet name="Arial" style="normal" weight="normal"/>
 </font>
 <font metrics-file="/nas/web/fonts/arial.xml" kerning="yes"
     embed-file="/nas/web/fonts/arialb.ttf">
   <font-triplet name="Arial" style="normal" weight="bold"/>
 </font>
 ...

You need a TTF file for the bold (and other derived) font.

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to