pango.fontset
Module for [Fontset] class
Types 3
classFontset : gobject.object.ObjectWrap
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
FontsetGidBuilder builder()Get builder for [pango.fontset.Fontset] Returns: New builder objectvoid 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