How to Recognize That the Font Was Replaced

Contents
[ ]

Sometimes, it may be unclear why the document layout has changed, or why some font does not look as expected. In such cases, font substitution warnings messages implemented by the IWarningCallback interface come to rescue. They have the FontSubstitution warning type and the standard description text format, “Font ‘’ has not been found. Using ‘’ font instead. Reason: ”, with the following reasons:

  • “alternative name from the document” – for substitution by AltName
  • “fontconfig substitution” – for substitution by font config rule
  • “table substitution” – for substitution by table rule
  • “font info substitution” – for substitution by font info rule
  • “default font substitution” – for substitution by default font rule
  • “first available font” – for substitution with first available font