Fonts class

Fonts class

Fonts collection.

The Fonts type exposes the following members:

Properties

PropertyDescription
latin_fontReturns or sets the Latin font.
Read/write IFontData.
east_asian_fontReturns or sets the East Asian font.
Read/write IFontData.
complex_script_fontReturns or sets the complex script font.
Read/write IFontData.

Methods

MethodDescription
get_script_font_map(self)Returns a list of all string-string pairs script font definitions in the presentation.
get_script_font(self, script)Gets the font name associated with a specific script tag from the presentation theme.
set_script_font(self, script, font_name)Assigns a font name to a specific script tag, which defines how text of that script will be rendered in the presentation.
remove_script_font(self, script)Removes the font setting associated with a specific script tag from the theme’s font collection.

See Also