font_info_substitution_enabled property

font_info_substitution_enabled property

The property enables automatic substitution of missing fonts based on FontInfo in the document. Default is False.

Note: The order of substitution is as follows:

  • Automatically substitute missing fonts based on font name (if enabled).
  • Automatically substitute missing fonts based on FontConfig (if enabled).
  • Substitute missing fonts based on FontSubstitutes (if set).
  • Automatically substitute missing fonts based on FontInfo (if enabled).
  • Substitute missing fonts based on DefaultFont (if set).

Definition:

@property
def font_info_substitution_enabled(self):
    ...
@font_info_substitution_enabled.setter
def font_info_substitution_enabled(self, value):
    ...

See Also