Class
Pango.Font
Description [src]
abstract class Pango.Font : GObject.Object {
  parent_instance: GObject
}A PangoFont is used to represent a font in a
rendering-system-independent manner.
Instance methods
pango_font_describe
Returns a description of the font, with font size set in points.
pango_font_describe_with_absolute_size
Returns a description of the font, with absolute font size set in device units.
pango_font_get_coverage
Computes the coverage map for a given font and language tag.
pango_font_get_face
Gets the PangoFontFace to which font belongs.
pango_font_get_features
Obtain the OpenType features that are provided by the font.
pango_font_get_font_map
Gets the font map for which the font was created.
pango_font_get_glyph_extents
Gets the logical and ink extents of a glyph within a font.
pango_font_get_hb_font
Get a hb_font_t object backing this font.
pango_font_get_metrics
Gets overall metric information for a font.
pango_font_has_char
Returns whether the font provides a glyph for this character.
Class structure
struct PangoFontClass {
  GObjectClass parent_class;
  PangoFontDescription* (* describe) (
    PangoFont* font
  );
  PangoCoverage* (* get_coverage) (
    PangoFont* font,
    PangoLanguage* language
  );
  void (* get_glyph_extents) (
    PangoFont* font,
    PangoGlyph glyph,
    PangoRectangle* ink_rect,
    PangoRectangle* logical_rect
  );
  PangoFontMetrics* (* get_metrics) (
    PangoFont* font,
    PangoLanguage* language
  );
  PangoFontMap* (* get_font_map) (
    PangoFont* font
  );
  PangoFontDescription* (* describe_absolute) (
    PangoFont* font
  );
  void (* get_features) (
    PangoFont* font,
    hb_feature_t* features,
    guint len,
    guint* num_features
  );
  hb_font_t* (* create_hb_font) (
    PangoFont* font
  );
  
}Class members
| parent_class |  | 
| No description available. | |
| describe |  | 
| No description available. | |
| get_coverage |  | 
| No description available. | |
| get_glyph_extents |  | 
| No description available. | |
| get_metrics |  | 
| No description available. | |
| get_font_map |  | 
| No description available. | |
| describe_absolute |  | 
| No description available. | |
| get_features |  | 
| No description available. | |
| create_hb_font |  | 
| No description available. | 
Virtual methods
Pango.FontClass.create_hb_font
Pango.FontClass.describe
Returns a description of the font, with font size set in points.
Pango.FontClass.describe_absolute
Pango.FontClass.get_coverage
Computes the coverage map for a given font and language tag.
Pango.FontClass.get_features
Obtain the OpenType features that are provided by the font.
Pango.FontClass.get_font_map
Gets the font map for which the font was created.
Pango.FontClass.get_glyph_extents
Gets the logical and ink extents of a glyph within a font.
Pango.FontClass.get_metrics
Gets overall metric information for a font.
Functions
pango_font_descriptions_free
Frees an array of font descriptions.