FontMetrics
A PangoFontMetrics
structure holds the overall metric information for a font.
The information in a PangoFontMetrics
structure may be restricted to a script. The fields of this structure are private to implementations of a font backend. See the documentation of the corresponding getters for documentation of their meaning.
For an overview of the most important metrics, see:
Constructors
Allocate a new FontMetrics.
Allocate a new FontMetrics using the provided AutofreeScope.
Functions
Gets the approximate character width for a font metrics structure.
Gets the approximate digit width for a font metrics structure.
Gets the descent from a font metrics structure.
Gets the suggested position to draw the strikethrough.
Gets the suggested thickness to draw for the strikethrough.
Gets the suggested position to draw the underline.
Gets the suggested thickness to draw for the underline.
Increase the reference count of a font metrics structure by one.