pangocairo.font_map
Module for FontMap interface
Types 2
interfaceFontMap
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.
Methods
pango.font_map.FontMap getDefault()Gets a default [pangocairo.font_map.FontMap] to use with Cairo.pango.font_map.FontMap new_()Creates a new [pangocairo.font_map.FontMap] object.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.cairo.types.FontType getFontType()Gets the type of Cairo font backend that fontmap uses. Returns: the [cairo.types.FontType] cairo font backend typedouble getResolution()Gets the resolution for the fontmap.void setDefault()Sets a default [pangocairo.font_map.FontMap] to use with Cairo.void setResolution(double dpi)Sets the resolution for the fontmap.interfaceFontMapGidBuilderImpl(T)
Fluent builder implementation template for pangocairo.font_map.FontMap