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:
-
PrizmDoc Server looks for pre-configured font substitutions, provided by PrizmDoc out-of-the-box. The configuration file defining the substitution in JSON format is located here:
-
Windows:
<install directory>
/conf/OfficeConversionService.Font.Windows.config -
PrizmDoc Server looks for the exact font match within the local PrizmDoc fonts directory containing the fonts installed by the PrizmDoc distribution.
- PrizmDoc Server looks for the exact font match in the system fonts directory.
- If none of the steps above solved the substitution, the PrizmDoc Server will dynamically look for the most appropriate font substitution within the PrizmDoc 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.