Issues with special characters in titles in PDF/UA-1 mode
Post here questions and problems related to editing and publishing DITA content.
Issues with special characters in titles in PDF/UA-1 mode
We generate PDF's with a customized version of the DITA-OT PDF2 plug-in, specifying PDF/UA-1 mode (in a customized version of the fop.xconf file) so that we generate PDF's that are 508 compliant. Our transform was failing whenever there was a registered trademark symbol in a title element of a topic and we've tracked that down to an issue with the font-mappings.xml file. Specifically, the version of font-mappings.xml that's distributed with the DITA-OT (we're on the version that's distributed with Oxygen 24.0) maps superscripts in titles (which applies to registered trademarks in titles) to the physical fonts Helvetica and Arial Unicode MS, neither of which is installed on our Windows 10 Enterprise machines. This caused our transform to fail.
We fixed the issue by creating a customized version of the font-mappings.xml file and specifying Arial for the physical font to use for superscripts in titles (which use the Sans logical font), as in the following snippet under the Sans logical font section of the file:
<physical-font char-set="SymbolsSuperscript">
<font-face>Arial</font-face>
<baseline-shift>20%</baseline-shift>
<override-size>smaller</override-size>
</physical-font>
We're posting this fix in case anyone else encounters this issue.
We fixed the issue by creating a customized version of the font-mappings.xml file and specifying Arial for the physical font to use for superscripts in titles (which use the Sans logical font), as in the following snippet under the Sans logical font section of the file:
<physical-font char-set="SymbolsSuperscript">
<font-face>Arial</font-face>
<baseline-shift>20%</baseline-shift>
<override-size>smaller</override-size>
</physical-font>
We're posting this fix in case anyone else encounters this issue.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service