Pango.FontMap
GObject.Object
PangoFT2.PangoFcFontMap
PangoXft.FontMap
Import line: | PangoXft = imports.gi.PangoXft; |
GIR File: | PangoXft-1.0.gir |
C documentation: | PangoXftFontMap |
Class : | FontMap |
Extends: | PangoFT2.PangoFcFontMap |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new PangoXft.FontMap
()
Create a new PangoXft.FontMap
Create a new PangoXft.FontMap
|
||
This function saves a callback method in the PangoFcFontMap that will be called whenever new fonts are created.
This function saves a callback method in the PangoFcFontMap that will be called whenever new fonts are created. If the function returns a PangoFcDecoder, that decoder will be used to determine both coverage via a FcCharSet and a one-to-one mapping of characters to glyphs. This will allow applications to have application-specific encodings for various fonts.
|
PangoFT2.PangoFcFontMap | |
cache_clear
()
:
none
Clear all cached information and fontsets for this font map; this should be called whenever there is a change in the output of the default_substitute() virtual function of the font map, or if fontconfig has been reinitialized to new configuration.
Clear all cached information and fontsets for this font map; this should be called whenever there is a change in the output of the default_substitute() virtual function of the font map, or if fontconfig has been reinitialized to new configuration.
|
PangoFT2.PangoFcFontMap | |
create_context
()
:
Pango.Context
Creates a PangoContext connected to fontmap.
Creates a PangoContext connected to fontmap. This is equivalent to pango_context_new() followed by pango_context_set_font_map(). If you are using Pango as part of a higher-level system, that system may have it's own way of create a PangoContext. For instance, the GTK+ toolkit has, among others, gdk_pango_context_get_for_screen(), and gtk_widget_get_pango_context(). Use those instead. be freed with g_object_unref().
|
Pango.FontMap | |
find_decoder
(Pattern pattern)
:
PangoFT2.PangoFcDecoder
Finds the decoder to use for pattern.
Finds the decoder to use for pattern. Decoders can be added to a font map using pango_fc_font_map_add_decoder_find_func(). no decoder is set for pattern.
|
PangoFT2.PangoFcFontMap | |
list_families
(FontFamily families)
:
Number
List all families for a fontmap.
List all families for a fontmap.
|
Pango.FontMap | |
Load the font in the fontmap that is the closest match for desc.
Load the font in the fontmap that is the closest match for desc.
|
Pango.FontMap | |
Load a set of fonts in the fontmap that can be used to render a font matching desc.
Load a set of fonts in the fontmap that can be used to render a font matching desc.
|
Pango.FontMap |
None |