I think your font should have 4 different couples (style, weight) max:
style="normal" weight="normal"
style="normal" weight="bold"
style="italic" weight="normal"
style="italic" weight="bold"

Can you check that?

Well, each style has its own metric and embed-file in my case.

So more complete, my userconfig.xml contains:

<font embed-file="file:///home/relstar/fop/fop-0.20.5/fonts/truetype/arial.ttf" kerning="yes" metrics-file="file:///home/relstar/fop/fop-0.20.5/fonts/metrics/arial.xml">
 <font-triplet name="Arial" style="normal" weight="normal"/>
 <font-triplet name="Arial,Regular" style="normal" weight="normal"/>
</font>
<font embed-file="file:///home/relstar/fop/fop-0.20.5/fonts/truetype/arialbd.ttf" kerning="yes" metrics-file="file:///home/relstar/fop/fop-0.20.5/fonts/metrics/arialbd.xml">
 <font-triplet name="Arial" style="normal" weight="bold"/>
 <font-triplet name="Arial,Bold" style="normal" weight="bold"/>
</font>
<font embed-file="file:///home/relstar/fop/fop-0.20.5/fonts/truetype/arialbi.ttf" kerning="yes" metrics-file="file:///home/relstar/fop/fop-0.20.5/fonts/metrics/arialbi.xml">
 <font-triplet name="Arial" style="italic" weight="bold"/>
 <font-triplet name="Arial,Bold Italic" style="italic" weight="bold"/>
</font>s
<font embed-file="file:///home/relstar/fop/fop-0.20.5/fonts/truetype/ariali.ttf" kerning="yes" metrics-file="file:///home/relstar/fop/fop-0.20.5/fonts/metrics/ariali.xml">
 <font-triplet name="Arial" style="italic" weight="normal"/>
 <font-triplet name="Arial,Italic" style="italic" weight="normal"/>
</font>



All files and folders have (for now) 777 as permission set on them.

What about /home/peter/ ?

He can reach the config file because when I make a deliberate typo in the userconfig.xml, the parser picks it up and returns an error.

BB
Peter


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

Reply via email to