PangoFontFamily

Used to represent a family of related font faces.

Object Hierarchy

Description

The PangoFontFamily object is used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects. An array of PangoFontFamily objects can be retrieved from a PangoContext object using the list_families() method or from a PangoFontMap object using the list_families() method.

Methods

get_name()
  Returns a string containing the name of the font family.
is_monospace()
  Returns True if the font is monospace.
list_faces()
  Returns an array of PangoFontFace objects.