Class

Pango.Fontset

Description [src]

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

A PangoFontset represents a set of PangoFont to use when rendering text.

A PAngoFontset is the result of resolving a PangoFontDescription against a particular PangoContext. It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset.

Ancestors

  • GObject

Instance methods

pango_fontset_foreach

Iterates through all the fonts in a fontset, calling func for each one.

Available since: 1.4

pango_fontset_get_font

Returns the font in the fontset that contains the best glyph for a Unicode character.

pango_fontset_get_metrics

Get overall metric information for the fonts in the fontset.

Class structure

struct PangoFontsetClass {
  GObjectClass parent_class;
  PangoFont* (* get_font) (
    PangoFontset* fontset,
    guint wc
  );
  PangoFontMetrics* (* get_metrics) (
    PangoFontset* fontset
  );
  PangoLanguage* (* get_language) (
    PangoFontset* fontset
  );
  void (* foreach) (
    PangoFontset* fontset,
    PangoFontsetForeachFunc func,
    gpointer data
  );
  void (* _pango_reserved1) (
void
  );
  void (* _pango_reserved2) (
void
  );
  void (* _pango_reserved3) (
void
  );
  void (* _pango_reserved4) (
void
  );
  
}
Class members
parent_class
GObjectClass
 

parent GObjectClass.

get_font
PangoFont* (* get_font) (
    PangoFontset* fontset,
    guint wc
  )
  No description available.
get_metrics
PangoFontMetrics* (* get_metrics) (
    PangoFontset* fontset
  )
  No description available.
get_language
PangoLanguage* (* get_language) (
    PangoFontset* fontset
  )
  No description available.
foreach
void (* foreach) (
    PangoFontset* fontset,
    PangoFontsetForeachFunc func,
    gpointer data
  )
  No description available.
_pango_reserved1
void (* _pango_reserved1) (
void
  )
  No description available.
_pango_reserved2
void (* _pango_reserved2) (
void
  )
  No description available.
_pango_reserved3
void (* _pango_reserved3) (
void
  )
  No description available.
_pango_reserved4
void (* _pango_reserved4) (
void
  )
  No description available.

Virtual methods

Pango.FontsetClass.foreach

Iterates through all the fonts in a fontset, calling func for each one.

Available since: 1.4

Pango.FontsetClass.get_font

Returns the font in the fontset that contains the best glyph for a Unicode character.

Pango.FontsetClass.get_language
No description available.
Pango.FontsetClass.get_metrics

Get overall metric information for the fonts in the fontset.