Pango.FontFace
Description: Reference for Pango.FontFace

### Class

# PangoFontFace

#### Description [src]

    abstract class Pango.FontFace : GObject.Object {
      parent_instance: GObject
    }

A `PangoFontFace` is used to represent a group of fonts with the same family, slant, weight, and width, but varying sizes.

#### Ancestors

- GObject

#### Instance methods

###### pango_font_face_describe

Returns the family, style, variant, weight and stretch of a `PangoFontFace`. The size field of the resulting font description will be unset.

###### pango_font_face_get_face_name

Gets a name representing the style of this face among the different faces in the `PangoFontFamily` for the face. The name is suitable for displaying to users.

###### pango_font_face_get_family

Gets the `PangoFontFamily` that `face` belongs to.

Available since: 1.46

###### pango_font_face_is_synthesized

Returns whether a `PangoFontFace` is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it.

Available since: 1.18

###### pango_font_face_list_sizes

List the available sizes for a font.

Available since: 1.4

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PangoFontFaceClass {
      GObjectClass parent_class;
      const char* (* get_face_name) (
        PangoFontFace* face
      );
      PangoFontDescription* (* describe) (
        PangoFontFace* face
      );
      void (* list_sizes) (
        PangoFontFace* face,
        int** sizes,
        int* n_sizes
      );
      gboolean (* is_synthesized) (
        PangoFontFace* face
      );
      PangoFontFamily* (* get_family) (
        PangoFontFace* face
      );
      void (* _pango_reserved3) (
    void
      );
      void (* _pango_reserved4) (
    void
      );

    }

###### Class members

`parent_class` |
    GObjectClass
| No description available.
`get_face_name` |
    const char* (* get_face_name) (
        PangoFontFace* face
      )
| No description available.
`describe` |
    PangoFontDescription* (* describe) (
        PangoFontFace* face
      )
| No description available.
`list_sizes` |
    void (* list_sizes) (
        PangoFontFace* face,
        int** sizes,
        int* n_sizes
      )
| No description available.
`is_synthesized` |
    gboolean (* is_synthesized) (
        PangoFontFace* face
      )
| No description available.
`get_family` |
    PangoFontFamily* (* get_family) (
        PangoFontFace* face
      )
| No description available.
`_pango_reserved3` |
    void (* _pango_reserved3) (
    void
      )
| No description available.
`_pango_reserved4` |
    void (* _pango_reserved4) (
    void
      )
| No description available.

#### Virtual methods

###### Pango.FontFaceClass.describe

Returns the family, style, variant, weight and stretch of a `PangoFontFace`. The size field of the resulting font description will be unset.

###### Pango.FontFaceClass.get_face_name

Gets a name representing the style of this face among the different faces in the `PangoFontFamily` for the face. The name is suitable for displaying to users.

###### Pango.FontFaceClass.get_family

Gets the `PangoFontFamily` that `face` belongs to.

Available since: 1.46

###### Pango.FontFaceClass.is_synthesized

Returns whether a `PangoFontFace` is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it.

Available since: 1.18

###### Pango.FontFaceClass.list_sizes

List the available sizes for a font.

Available since: 1.4