A Pango.Fontset.Pango_Fontset represents a set of Pango.Font.Pango_Font to use when rendering text. It is the result of resolving a Pango.Font.Pango_Font_Description against a particular Pango.Context.Pango_Context. 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.
an object containing a set of pango.Font objects
procedure Foreach
(Self : not null access Pango_Fontset_Record;
Func : Pango_Fontset_Foreach_Func)
Iterates through all the fonts in a fontset, calling Func for each one. If Func returns True, that stops the iteration. Since: gtk+ 1.4
Callback function
function Get_Font
(Self : not null access Pango_Fontset_Record;
Wc : Guint) return Pango.Font.Pango_Font
Returns the font in the fontset that contains the best glyph for the Unicode character Wc.
a Unicode character
a Pango.Font.Pango_Font. The caller must call g_object_unref when finished with the font.
function Get_Metrics
(Self : not null access Pango_Fontset_Record)
return Pango.Font_Metrics.Pango_Font_Metrics
Get overall metric information for the fonts in the fontset.
a Pango.Font_Metrics.Pango_Font_Metrics object. The caller must call Pango.Font_Metrics.Unref when finished using the object.
function Get_Type return Glib.GType
type Pango_Fontset is access all Pango_Fontset_Record'Class;
type Pango_Fontset_Foreach_Func is access function
(Fontset : not null access Pango_Fontset_Record'Class;
Font : not null access Pango.Font.Pango_Font_Record'Class)
return Boolean;
A callback function used by Pango.Fontset.Foreach when enumerating the fonts in a fontset. Since: gtk+ 1.4
a Pango.Fontset.Pango_Fontset
a font from Fontset
if True, stop iteration and return immediately.
type Pango_Fontset_Record is new GObject_Record with null record;