Anyone knows how to fix Chinese font issue in PDF?

We recently updated from SDL LCA 11 to SDL Tridion Docs 14 (big gap), we did not change our stylesheets and we ensure that the fonts (SimSun and SimHei) used for the Chinese translations are being installed. However, everytime we publish the Chinese PDF, it is always using MS PGothic.

Anyone knows how the fonts are exactly defined in SDL Tridion Docs?

Parents
  • Assuming the PDF is generation is based on XSL:FO, the font-mappings.xml config file defines what physical fonts get mapped to the logical fonts per locale.  The file is located at App\Utilities\DITA-OT\{OT Instance}\plugins\{plugin|\cfg\fo.  If you are using Antenna House for the PDF composition,  the default location for fonts is c:\windows\fonts, but that can be changed in the config file font-config.xml that resides in the root folder of the Antenna House program Installation directory.  Keep in mind that if your PDF OT plugin is based on / builds upon another PDF plugin ( like PDF2) , the font mappings may be located in the base plugin and not the one you are using.

Reply
  • Assuming the PDF is generation is based on XSL:FO, the font-mappings.xml config file defines what physical fonts get mapped to the logical fonts per locale.  The file is located at App\Utilities\DITA-OT\{OT Instance}\plugins\{plugin|\cfg\fo.  If you are using Antenna House for the PDF composition,  the default location for fonts is c:\windows\fonts, but that can be changed in the config file font-config.xml that resides in the root folder of the Antenna House program Installation directory.  Keep in mind that if your PDF OT plugin is based on / builds upon another PDF plugin ( like PDF2) , the font mappings may be located in the base plugin and not the one you are using.

Children
No Data