PrizmDoc® Viewer v13.28 Release - Updated
PrizmDoc Viewer / Administrator Guide / PrizmDoc Server / Configuring / Substitute Fonts for Office Rendering Fidelity
In This Topic
    Substitute Fonts for Office Rendering Fidelity
    In This Topic

    Introduction

    PrizmDoc Server uses a sophisticated logic to select the right font for accurate text rendering within Microsoft Office documents in the LibreOffice-based rendering mode. The logic to locate and use the appropriate font(s) can be broken down into the following sequence:

    1. PrizmDoc Server looks for pre-configured font substitutions, provided by PrizmDoc Viewer out-of-the-box. The configuration file defining the substitution in JSON format is located here:

    2. Windows: <install directory>/conf/OfficeConversionService.Font.Windows.config

    3. PrizmDoc Server looks for the exact font match within the local PrizmDoc Viewer fonts directory containing the fonts installed by the PrizmDoc Viewer distribution.

    4. PrizmDoc Server looks for the exact font match in the system fonts directory.
    5. If none of the steps above solved the substitution, the PrizmDoc Server will dynamically look for the most appropriate font substitution within the PrizmDoc Viewer local and system fonts using the font metrics. This step might provide less accurate results due to the specifics of certain fonts. Therefore, when dealing with a wide range of fonts and languages, it is recommended to install additional font packages. Specifically when using the PrizmDoc Server Docker image, packages such as "msttcorefonts" can be helpful to improve substitution of MS core fonts.

    See also the Adding Fonts & Packages to the Container section on the Installing / Using Docker page for more information.

    For Asian language support with Prizm Server Docker containers, make sure to install corresponding language support in addition to the installed Asian fonts.