FontMap

pangocairo.font_map.FontMap is an interface exported by font maps for use with Cairo.

The actual type of the font map will depend on the particular font technology Cairo was compiled to use.

Members

Functions

getFontType
cairo.types.FontType getFontType()

Gets the type of Cairo font backend that fontmap uses.

getResolution
double getResolution()

Gets the resolution for the fontmap.

setDefault
void setDefault()

Sets a default pangocairo.font_map.FontMap to use with Cairo.

setResolution
void setResolution(double dpi)

Sets the resolution for the fontmap.

Static functions

getDefault
pango.font_map.FontMap getDefault()

Gets a default pangocairo.font_map.FontMap to use with Cairo.

newForFontType
pango.font_map.FontMap newForFontType(cairo.types.FontType fonttype)

Creates a new pangocairo.font_map.FontMap object of the type suitable to be used with cairo font backend of type fonttype.

new_
pango.font_map.FontMap new_()

Creates a new pangocairo.font_map.FontMap object.