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 _getGType() static nothrow
GType _gType() @property nothrow
Fontset self() nothrowReturns `this`, for use in `with` statements.
FontsetGidBuilder builder() static nothrowGet builder for [pango.fontset.Fontset] Returns: New builder object
void foreach_(pango.types.FontsetForeachFunc func) nothrowIterates through all the fonts in a fontset, calling func for each one.
pango.font.Font getFont(uint wc) nothrowReturns the font in the fontset that contains the best glyph for a Unicode character.
pango.font_metrics.FontMetrics getMetrics() nothrowGet 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 implementation template for pango.fontset.Fontset

Fluent builder for pango.fontset.Fontset

Methods
Fontset build() nothrowCreate object from builder. Returns: New object