XMetaL Tips and Tricks

XMetaL Community Forum XMetaL Tips and Tricks DITA: wrong fonts in PDF generated using XMetaL Enhanced PDF via RenderX XEP

  • Derek Read

    DITA: wrong fonts in PDF generated using XMetaL Enhanced PDF via RenderX XEP

    Participants 1
    Replies 0
    Last Activity 8 years, 6 months ago

    Products: XMetaL Author Enterprise

    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 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.

Lost Your Password?