pango.fontset

Module for [Fontset] class

Types 3

A [pango.fontset.Fontset] represents a set of [pango.font.Font] to use when rendering text.

A [pango.fontset.Fontset] is the result of resolving a [pango.font_description.FontDescription] against a particular [pango.context.Context]. It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset.

Methods
GType _gType() @property
Fontset self()Returns `this`, for use in `with` statements.
FontsetGidBuilder builder()Get builder for [pango.fontset.Fontset] Returns: New builder object
void foreach_(pango.types.FontsetForeachFunc func)Iterates through all the fonts in a fontset, calling func for each one.
pango.font.Font getFont(uint wc)Returns the font in the fontset that contains the best glyph for a Unicode character.
pango.font_metrics.FontMetrics getMetrics()Get overall metric information for the fonts in the fontset. Returns: a [pango.font_metrics.FontMetrics] object
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [pango.fontset.Fontset]

Methods