### Struct

# PangoFontMetrics

#### Description [src]

    struct PangoFontMetrics {
      /* No available fields */
    }

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:

#### Instance methods

###### pango_font_metrics_get_approximate_char_width

Gets the approximate character width for a font metrics structure.

###### pango_font_metrics_get_approximate_digit_width

Gets the approximate digit width for a font metrics structure.

###### pango_font_metrics_get_ascent

Gets the ascent from a font metrics structure.

###### pango_font_metrics_get_descent

Gets the descent from a font metrics structure.

###### pango_font_metrics_get_height

Gets the line height from a font metrics structure.

since: 1.44

###### pango_font_metrics_get_strikethrough_position

Gets the suggested position to draw the strikethrough.

since: 1.6

###### pango_font_metrics_get_strikethrough_thickness

Gets the suggested thickness to draw for the strikethrough.

since: 1.6

###### pango_font_metrics_get_underline_position

Gets the suggested position to draw the underline.

since: 1.6

###### pango_font_metrics_get_underline_thickness

Gets the suggested thickness to draw for the underline.

since: 1.6

###### pango_font_metrics_ref

Increase the reference count of a font metrics structure by one.

###### pango_font_metrics_unref

Decrease the reference count of a font metrics structure by one.