Hi all,
First, sorry for maybe having to ask a FAQ question but I've read the
FAQ, tried all the pointers and hints but to no avail.
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.
My fonts are located in a dir called 'fonts' that has 2 subdirs: metrics
and truetype. All files and folders have (for now) 777 as permission set
on them.
My userconfig.xml contains (snipped)
<fonts>
<font
embed-file="file:///home/peter/fop/fop-0.20.5/fonts/truetype/arial.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/arialbd.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>
I have not set a fontbasedir (tried but didn't help either or I must
have done something wrong).
My xsl that uses the fonts (part) is:
<fo:block font-weight="bold" font-family="Arial" line-height="4mm">
<fo:inline font-size="10pt">
<xsl:value-of select="rs:returnNote"/>
</fo:inline>
</fo:block>
And I call FOP from the shell like this:
./fop.sh -d -c /home/peter/fop/fop-0.20.5/conf/userconfig.xml -xml
xml/994065058000001.xml -xsl xsl/AbstractLabel.xsl -pdf pdf/mypdf.pdf
Someone has a clue? Or a hint?
Thanks in advance.
BB
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]