pdf.accessiblity parameter generates chemistry error
Posted: Tue Apr 02, 2024 10:56 am
Hi all,
we are using Oxygen XML Editor version 26 to generate PDF output. We activated the pdf.accessiblity parameter and specified the fonts as described in Accessibility.
However, when generating PDFs with monospace fonts, the publishing fails with the following error:
We tried the following fixes, but the error persists:
Could you give us a hint as to how to fix this issue?
Thanks and best regards, Tanja
we are using Oxygen XML Editor version 26 to generate PDF output. We activated the pdf.accessiblity parameter and specified the fonts as described in Accessibility.
However, when generating PDFs with monospace fonts, the publishing fails with the following error:
Code: Select all
System ID: C:\dev\projects\DP001\trunk\en-US\maps\pdf\SoftMax_Pro_3_5_Data_Acquisition_Module_User_Guide.ditamap
Scenario: PLA PDF
Input file: C:\dev\projects\DP001\trunk\en-US\maps\pdf\SoftMax_Pro_3_5_Data_Acquisition_Module_User_Guide.ditamap
Engine name: DITA-OT
Severity: error
Description: [CH] Error com.oxygenxml.chemistry.e.fb "FOP stage failed: For PDF/UA-1, all fonts, even the base 14 fonts, have to be embedded! Offending font: /Courier"
URL: https://www.oxygenxml.com/DITA-messages.html#msgs__CH
- Specified a 'MonospaceBrandingFont' (comparable to BrandingFont and SecondaryBrandingFont), copied a font file to the publishing folder resources/fonts (the same way as for the other branding fonts), and defined this font for <code> and <pre> elements and all other respective CSS classes. With the pdf.accessibility parameter switched off, the font is successfully used in publishing. With the parameter switched on, the error persitsts.
- Defined all font faces as described in Fonts and Font Embedding. This also did not work.
Could you give us a hint as to how to fix this issue?
Thanks and best regards, Tanja