new_for_font_type


Description:

[ Version ( since = "1.18" ) ]
public static FontMap? new_for_font_type (FontType fonttype)

Creates a new `PangoCairoFontMap` object of the type suitable to be used with cairo font backend of type fonttype.

In most cases one should simply use [[email protected]], or in fact in most of those cases, just use [ [email protected]_default].

Parameters:

fonttype

desired FontType

Returns:

the newly allocated `PangoFontMap` of suitable type which should be freed with unref, or null if the requested cairo font backend is not supported / compiled in.




2022 vala-language.org