[oXygen-user] Font metrics file location

Sorin Ristache
Mon Jul 31 01:46:01 CDT 2006


Hello,

The font metrics files must be specified in the configuration file 
specified in Options -> Preferences -> XML -> XSLT/FO/XQuery -> FO 
Processors. Apache FOP requires that. You can read about this in the 
"How to Add a Font to the <oXygen/> Built-in FOP" article on the website:

http://www.oxygenxml.com/doc/addFontToFOP.pdf

FOP embeds the font data in the PDF file so the font metrics file stored 
in the same location as the result PDF has no effect as it is not 
accessed after the PDF is generated. Any path specified in the FOP 
configuration file is relative to this configuration file, so you can 
use that to avoid hard coding absolute paths in this file.


Regards,
Sorin


Timothy Reaves wrote:
>     Where are these xml files supposed to go?  If I put them in the  
> directory specified in the PDF on the site, they are not found.  If I  
> hard code them in the fopConfiguration.xml, they are found.  But I'd  
> prefer not to hard code the location.



More information about the oXygen-user mailing list