Class
PangoFontset
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.
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.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
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
);
}
The PangoFontsetClass
structure holds the virtual functions for
a particular PangoFontset
implementation.
Class members
parent_class |
|
Parent |
|
get_font |
|
No description available. | |
get_metrics |
|
No description available. | |
get_language |
|
No description available. | |
foreach |
|
No description available. | |
_pango_reserved1 |
|
No description available. | |
_pango_reserved2 |
|
No description available. | |
_pango_reserved3 |
|
No description available. | |
_pango_reserved4 |
|
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
Pango.FontsetClass.get_metrics
Get overall metric information for the fonts in the fontset.