huge problem: fop (xsl:fo parser) registering fonts (linux)

Here should go questions about transforming XML with XSLT and FOP.
david2k

huge problem: fop (xsl:fo parser) registering fonts (linux)

Post by david2k »

first of all sorry for my bad english... :lol:

my problem is to register fonts for fop on linux. i get following error message: [ERROR] unknown font xxxx, so defaulted font to any

i exactly followed the font registering mechanism on the fop site (http://xml.apache.org/fop/). i wonder why it doesnt work! becase on windows it works great!

have someone encountered the same problem? have someone an working fop on linux?


thank you and greetings from david...
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello David,

Registering FOP fonts and using them to generate documents with FOP works on Windows AND Linux. Are you sure you set the FOP configuration file in <oXygen/> as it is described in http://www.oxygenxml.com/doc/ug-oxygen/ ... ssors.html ? When you set everything correctly FOP still gives the error message about the unknown font so you can ignore it. Make sure you follow all the steps in the article http://www.oxygenxml.com/doc/articles/A ... tToFOP.pdf. It worked for me. If it doesn't work for you tell us what font you are trying to register, what error messages you see, post your FOP configuration file.

Hope that helps,
Sorin
Post Reply