Customizing the font list

You can customize your font list after you install HCL Docs. Then you can see your newly added font list in the Font Name drop-down list on the toolbar of documents, spreadsheets, or presentations editors.

Procedure

  1. In Docs WAS Deployment Manager server, locate folder ${WAS_ROOT}/profiles/Dmgr01/config/cells/${CellName}/IBMDocs-config/ and revise the section CustomizedFonts in the concord-config.json file:
    {
            "enabled": "false",
            "general": ["Arial/Arial, Helvetica, sans-serif", "Times New Roman/Times New Roman, Times, serif"],
            "globalized":
            {
                "ca": [],
                "da": [],
                "de": [],
                "el": [],
                "en": [],
                "es": [],
                "fi": [],
                "fr": [],
                "it": [],
                "ja": [],
                "ko": [],
                "nl": [],
                "no": [],
                "pl": [],
                "pt": [],
                "pt-br": [],
                "ru": [],
                "sv": [],
                "th": [],
                "tr": [],
                "zh-cn": [],
                "zh-tw": []
            }
        }
    Where the parameters are as follows:
    • enabled - Specifies whether to enable the feature. Values are either true or false.
    • general - The value is a string array that is separated by commas. It defines which fonts are added for all locales. Each element of the array is a string, and the element string is also a font list that is separated by comma. If the real fonts do not exist on the client system, the first font is a real font name, and the others are fallback fonts. For example:
      ["Arial/Arial, Helvetica, sans-serif", "Times New Roman/Times New Roman, Times, serif"] 
    • globalized - Several values for this parameter are locale sensitive. You can add locale-specific fonts under this key, and the values are similar to the preceding example.
    Note:
    • Remember to add a comma at the end of the last JSON object.
    • For DBCS characters in the configuration file, use the Unicode value, for example, characters "宋体" must be replaced by their Unicode value \u5b8b\u4f53.
    • The font value can be empty.
  2. Synchronize the Docs nodes, restart Docs Cluster.
  3. Open HCL Docs, and verify whether your newly font list can be displayed in the Font Name drop-down list on the toolbar of documents, spreadsheets, and presentations editors.