> -----Message d'origine-----
> De : Peter Verhoye [mailto:[EMAIL PROTECTED]
>
> My problem is as follows:
> We have FOP to generate PDF files. On windows, the PDF's come
> out correctly but on Linux, they don't. More specifically,
> FOP complains he can't find the fonts that are used (Arial
> and Courrier New). Now, I've done the obvious things as
> adapting the path url's already.
I think Courier New has just one 'r'

> My userconfig.xml contains (snipped)
>
> <fonts>
>   <font
> embed-file="file:///home/peter/fop/fop-0.20.5/fonts/truetype/a
> rial.ttf"
> kerning="yes"
> metrics-file="file:///home/peter/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/peter/fop/fop-0.20.5/fonts/truetype/a
> rialbd.ttf"
> kerning="yes"
> metrics-file="file:///home/peter/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>
> </fonts>

You have 3 names for the same font! ('Arial', Arial,Regular', and
'Arial,Bold'). 
Try this snippet:

<font
  metrics-file="/home/peter/fop/fop-0.20.5/fonts/metrics/arial.xml"
  kerning="yes"
  embed-file="/home/peter/fop/fop-0.20.5/fonts/truetype/arial.ttf">

  <font-triplet name="Arial" style="normal" weight="normal"/>
  <font-triplet name="Arial" style="italic" weight="normal"/>
</font>

<font
  metrics-file="/home/peter/fop/fop-0.20.5/fonts/metrics/arialbd.xml"
  kerning="yes"
  embed-file="/home/peter/fop/fop-0.20.5/fonts/truetype/arialbd.ttf">

  <font-triplet name="Arial" style="normal" weight="bold"/>
  <font-triplet name="Arial" style="italic" weight="bold"/>
</font>


Pascal

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

Reply via email to