FontsetSimple

class FontsetSimple(**properties: Any)

Superclasses: Fontset, Object

Constructors:

FontsetSimple(**properties)
new(language:Pango.Language) -> Pango.FontsetSimple

Constructors

class FontsetSimple
classmethod new(language: Language) FontsetSimple

Creates a new PangoFontsetSimple for the given language.

Parameters:

language – a PangoLanguage tag

Methods

class FontsetSimple
append(font: Font) None

Adds a font to the fontset.

The fontset takes ownership of font.

Parameters:

font – a PangoFont.

size() int

Returns the number of fonts in the fontset.