pango.fontset_simple

Module for [FontsetSimple] class

Types 3

pango.fontset_simple.FontsetSimple is a implementation of the abstract pango.fontset.Fontset base class as an array of fonts.

When creating a pango.fontset_simple.FontsetSimple, you have to provide the array of fonts that make up the fontset.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FontsetSimple self() nothrowReturns `this`, for use in `with` statements.
FontsetSimpleGidBuilder builder() static nothrowGet builder for [pango.fontset_simple.FontsetSimple] Returns: New builder object
void append(pango.font.Font font) nothrowAdds a font to the fontset.
int size() nothrowReturns the number of fonts in the fontset. Returns: the size of fontset
Constructors
this(void * ptr, Flag!"Take" take)
this(pango.language.Language language)Creates a new [pango.fontset_simple.FontsetSimple] for the given language.
Methods
FontsetSimple build() nothrowCreate object from builder. Returns: New object