GObject.Object
Pango.FontMap
PangoCairo.FcFontMap
Import line: | PangoCairo = imports.gi.PangoCairo; |
GIR File: | PangoCairo-1.0.gir |
C documentation: | PangoCairoFcFontMap |
Class : | FcFontMap |
Implements: | PangoCairo.FontMap |
Extends: | Pango.FontMap |
Properties | Defined By | |
---|---|---|
dpi : gdouble
read only
|
PangoCairo.FcFontMap | |
library : freetype2.Library
read only
|
PangoCairo.FcFontMap | |
parent_instance : void*
read only
|
PangoCairo.FcFontMap |
Method / Constructor | Defined By | |
---|---|---|
new PangoCairo.FcFontMap
(Object properties)
Create a new PangoCairo.FcFontMap
Create a new PangoCairo.FcFontMap
|
||
get_font_type
()
:
cairo.FontType
Gets the type of Cairo font backend that fontmap uses.
Gets the type of Cairo font backend that fontmap uses.
|
PangoCairo.FontMap | |
get_resolution
()
:
gdouble
Gets the resolution for the fontmap.
Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()
|
PangoCairo.FontMap | |
list_families
(FontFamily families, gint32 n_families)
:
none
List all families for a fontmap.
List all families for a fontmap.
|
Pango.FontMap | |
set_default
()
:
none
Sets a default PangoCairoFontMap to use with Cairo.
Sets a default PangoCairoFontMap to use with Cairo.
This can be used to change the Cairo font backend that the default fontmap uses for example. The old default font map is unreffed and the new font map referenced. A value of NULL for fontmap will cause the current default font map to be released and a new default font map to be created on demand, using pango_cairo_font_map_new().
|
PangoCairo.FontMap | |
set_resolution
(gdouble dpi)
:
none
Sets the resolution for the fontmap.
Sets the resolution for the fontmap. This is a scale factor between
points specified in a PangoFontDescription and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).
|
PangoCairo.FontMap |
None |