XMetaL Tips and Tricks
Derek Read May 16, 2014 at 10:02 pm
DITA: wrong fonts in PDF generated using XMetaL Enhanced PDF via RenderX XEPMay 16, 2014 at 10:02 pmParticipants 1Replies 0Last Activity 6 years, 11 months ago
Products: XMetaL Author Enterprise 9.0.0.047
Generating output from DITA using the deliverable “XMetaL Enhanced PDF via RenderX XEP” does not pick up the correct font types from xep.xml and font-mappings.xml. The result is that the only font used in the PDF is “Helvetica”. By default some elements should be using a sans-serif font, some using serif and some using monospace. It should also be possible to alter this via the xep.xml and font-mappings.xml files as well as via XSLT / XSL-FO but those types of changes will not be picked up.
The problem is caused by two files being included with the standard edition of XMetaL Author Enterprise 9 by mistake. These files should only be included with our Japanese editions. The Japanese editions have special requirements to support Japanese fonts in PDF output by default and this mucks up the standard functionality of the DITA OT.
Replace the following files in an XMetaL Author Enterprise 9.0.0.047 installation with those attached.
Note: C:ProgramData is a hidden folder and as a result on most systems you will not see it listed in Windows Explorer. You can access it either by entering %programdata% into the address bar in Windows Explorer, or by changing Windows Explorer's setting for displaying hidden folders.
- You must be logged in to reply to this topic.