[pango.font_map.FontMap] of suitable type which should be freed with [gobject.object.ObjectWrap.unref], or null if the requested cairo font backend is not supported / compiled in.
FontMap.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.
In most cases one should simply use [pangocairo.font_map.FontMap.new_], or in fact in most of those cases, just use [pangocairo.font_map.FontMap.getDefault].
Parameters
fonttype | desired #cairo_font_type_t |
Returns
the newly allocated