[oXygen-user] Embedding FOP fonts

Mark Wilson
Tue Mar 3 08:09:01 CST 2009


Thanks for pointing out the new instructions. I have created the metrics 
files and the fopConfiguration file.
My metrics file starts off:
<font-metrics metrics-version="2" type="TYPE0">
<font-name>TimesNewRomanPSMT</font-name>
<full-name>Times New Roman</full-name>
<family-name>Times New Roman</family-name>


However, when I attempt to actually build my pdf file, I get the following 
two warnings and my font is not used:

C:>fop -d -xml index.xml -xsl index.xsl -pdf index.pdf

Mar 3, 2009 7:00:14 AM org.apache.fop.fonts.FontCache loadFrom
WARNING: I/O exception while reading font cache 
(org.apache.fop.fonts.FontCache;
 local class incompatible: stream classdesc serialVersionUID = 
605232520271754717,
 local class serialVersionUID = 605232520271754718). Discarding font cache 
file.

Mar 3, 2009 7:00:16 AM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Times New Roman,normal,400' not found. Substituting with 
'any,normal,400'.

Any advice?
Thanks,
Mark 




More information about the oXygen-user mailing list