GObject.Object
Pango.FontMap
Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.FontMap |
Class : | FontMap |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Pango.FontMap
()
Create a new Pango.FontMap
Create a new Pango.FontMap
|
||
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 | |
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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter
Method |
Clutter.get_font_map
()
:
Pango.FontMap
Retrieves the PangoFontMap instance used by Clutter.
|
Gtk.PrintContext
Method |
get_pango_fontmap
()
:
Pango.FontMap
Returns a PangoFontMap that is suitable for use with the GtkPrintContext.
|
Pango.Context
Method |
set_font_map
(FontMap font_map)
:
none
Sets the font map to be searched when fonts are looked-up in this context.
|
Pango.Context
Method |
get_font_map
()
:
Pango.FontMap
Gets the PangoFontmap used to look up fonts for this context.
|
Pango.Font
Method |
get_font_map
()
:
Pango.FontMap
Gets the font map for which the font was created.
|
PangoCairo
Method |
PangoCairo.font_map_get_default
()
:
Pango.FontMap
Gets a default PangoCairoFontMap to use with Cairo.
|
PangoCairo
Method |
PangoCairo.font_map_new
()
:
Pango.FontMap
Creates a new PangoCairoFontMap object; a fontmap is used to cache information about available fonts, and holds certain global parameters such as the resolution.
|
PangoCairo
Method |
Creates a new PangoCairoFontMap object of the type suitable to be used with cairo font backend of type fonttype.
|
PangoFT2.FontMap
Method |
PangoFT2.FontMap.for_display
()
:
Pango.FontMap
|
PangoX
Method |
|
PangoX
Method |
|
PangoXft
Method |
Returns the PangoXftFontmap for the given display and screen.
|