default_font property

default_font property

The default font for a WordProcessing document.

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 default_font(self):
    ...
@default_font.setter
def default_font(self, value):
    ...

See Also