Context
A PangoContext
stores global information used to control the itemization process.
The information stored by PangoContext
includes the fontmap used to look up fonts, and default values such as the default language, default gravity, or default font.
To obtain a PangoContext
, use method@Pango.FontMap.create_context.
Skipped during bindings generation
parameter
families
: families: Out parameter is not supported
Constructors
Functions
Retrieves the base direction for the context.
Retrieves the base gravity for the context.
Retrieve the default font description for the context.
Gets the PangoFontMap
used to look up fonts for this context.
Retrieves the gravity for the context.
Retrieves the gravity hint for the context.
Retrieves the global language tag for the context.
Get overall metric information for a particular font description.
Returns whether font rendering with this context should round glyph positions and widths.
Loads the font in one of the fontmaps in the context that is the closest match for @desc.
Load a set of fonts in the context that can be used to render a font matching @desc.
Sets the base direction for the context.
Sets the base gravity for the context.
Set the default font description for the context
Sets the font map to be searched when fonts are looked-up in this context.
Sets the gravity hint for the context.
Sets the global language tag for the context.
Sets whether font rendering with this context should round glyph positions and widths to integral positions, in device units.