Class
PangoFontMap
Description [src]
abstract class Pango.FontMap : GObject.Object {
parent_instance: GObject
}
A PangoFontMap
represents the set of fonts available for a
particular rendering system.
This is a virtual object with implementations being specific to particular rendering systems.
Instance methods
pango_font_map_changed
Forces a change in the context, which will cause any PangoContext
using this fontmap to change.
Available since: 1.34
pango_font_map_list_families
List all families for a fontmap.
pango_font_map_load_font
Load the font in the fontmap that is the closest match for desc
.
pango_font_map_load_fontset
Load a set of fonts in the fontmap that can be used to render
a font matching desc
.
Class structure
struct PangoFontMapClass {
GObjectClass parent_class;
PangoFont* (* load_font) (
PangoFontMap* fontmap,
PangoContext* context,
const PangoFontDescription* desc
);
void (* list_families) (
PangoFontMap* fontmap,
PangoFontFamily*** families,
int* n_families
);
PangoFontset* (* load_fontset) (
PangoFontMap* fontmap,
PangoContext* context,
const PangoFontDescription* desc,
PangoLanguage* language
);
const char* shape_engine_type;
guint (* get_serial) (
PangoFontMap* fontmap
);
void (* changed) (
PangoFontMap* fontmap
);
PangoFontFamily* (* get_family) (
PangoFontMap* fontmap,
const char* name
);
PangoFontFace* (* get_face) (
PangoFontMap* fontmap,
PangoFont* font
);
}
Class members
parent_class |
|
Parent |
|
load_font |
|
No description available. | |
list_families |
|
No description available. | |
load_fontset |
|
No description available. | |
shape_engine_type |
|
The type of rendering-system-dependent engines that can handle fonts of this fonts loaded with this fontmap. |
|
get_serial |
|
No description available. | |
changed |
|
No description available. | |
get_family |
|
No description available. | |
get_face |
|
No description available. |
Virtual methods
Pango.FontMapClass.changed
Forces a change in the context, which will cause any PangoContext
using this fontmap to change.
Available since: 1.34
Pango.FontMapClass.get_face
Pango.FontMapClass.list_families
List all families for a fontmap.
Pango.FontMapClass.load_font
Load the font in the fontmap that is the closest match for desc
.
Pango.FontMapClass.load_fontset
Load a set of fonts in the fontmap that can be used to render
a font matching desc
.