Class: Pango::Fontset

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

The Pango::FontsetClass structure holds the virtual functions for a particular Pango::Fontset implementation.

Instance Method Summary collapse

Instance Method Details

#foreach(func, data) ⇒ nil

Iterates through all the fonts in a fontset, calling func for each one. If func returns true, that stops the iteration.

Parameters:

  • func (Pango::FontsetForeachFunc)

    Callback function

  • data (GObject)

    data to pass to the callback function

Returns:

  • (nil)

#get_font(wc) ⇒ Pango::Font

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

Parameters:

  • wc (Integer)

    a Unicode character

Returns:

  • (Pango::Font)

    a Pango::Font. The caller must call g_object_unref when finished with the font.

#metricsPango::FontMetrics

Get overall metric information for the fonts in the fontset.

Returns:

  • (Pango::FontMetrics)

    a Pango::FontMetrics object. The caller must call pango_font_metrics_unref() when finished using the object.