Page 1 of 1

Missing Fonts in oXygen 13 Upgrade

Posted: Wed Nov 16, 2011 9:47 pm
by kmank
I have been generating PDFs from DITA files successfully for over a year with oXygen 11 and then oXygen 12 and 12.1. A simple upgrade was all that was needed and the fonts have always been displayed properly in the PDF.

I have installed version 13 and I am receiving errors similar to:
[fop] 0 WARN [ main ] org.apache.fop.apps.FOUserAgent - Font "Trebuchet MS,normal,400" not found. Substituting with "any,normal,400".
I have attempted to modify the fop.xconf file to force fop to see the files, but that did not make any difference.

Can someone please point me in the right direction as to why version 13 is so different in rendering?

Re: Missing Fonts in oXygen 13 Upgrade

Posted: Thu Nov 17, 2011 1:09 pm
by Radu
Hi,

Oxygen usually comes with the latest stable DITA OT release bundled.

What exact customizations did you make to the DITA Open Toolkit?

Did you have any modifications in the ANT build files for the PDF output? At some point the DITA OT reorganized the PDF build file and split it in 3 files, so maybe your customizations were not ported correctly.

Did you modify the font mappings:

OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/cfg/fo/font-mappings.xml

to add an entry for "Trebuchet"?

In the fop.xconf did you add an entry for Trebucher or did you use the <auto-detect/> feature?

If you make the fop.xconf invalid XML, does the PDF transformation report problems in the console? This is a good indication that the configuration file is read by the DITA OT.

You can also contact us directly on the support@oxygenxml.com email address.

Regards,
Radu