Example edits to the fontsConfig.xml file - j5 - 30 - Installation & Upgrade - Hexagon

j5 Installation and Upgrade

Language
English
Product
j5
Search by Category
Installation & Upgrade
j5 Version
30

The following steps provide an example of the changes that need to be made to the fontsConfig.xml file when using the SimSun-ExtB font.

Edit the fontsConfig.xml file

The following edits need to be made to the fontsConfig.xml file. The file is found here: C:/ProgramData/j5/generated_files/reporting-service.

  1. Find the line:

    <composite-font name="all-fonts">

  2. Add font-family="SimSun-ExtB" to the end of the composite-font tag as follows:

    <composite-font name="all-fonts" font-family="SimSun-ExtB">

  3. Add a new block tag between the composite-font tags as follows:

    <block name="ExtB" range-start="a4cf" range-end="2a6df" index="1" font-family="SimSun-ExtB" />

  4. Find the line:

    <font-encodings>

  5. Add a new encoding tag between the font-encoding tags as follows:

    <encoding font-family="SimSun-ExtB" encoding="GB18030" />

  6. Save your changes.

Install simsun-extb font family

Complete the following steps after editing the fontsConfig.xml file as shown above:

  1. Download the "simsun-extb" font-family.

  2. Unzip the contents of the simsun-extb folder.

  3. Double-click on the simsunb.ttf file and then select Install.

  4. Open the j5 System Management Console. Change the following fields on the Server Settings node to True:

    • Embed PDF fonts

    • Enable PDF/A exports

  5. Run j5Setup to save the new configuration.