load_fontset


Description:

public virtual Fontset? load_fontset (Context context, FontDescription desc, Language language)

Load a set of fonts in the fontmap that can be used to render a font matching desc.

Parameters:

this

a `PangoFontMap`

context

the `PangoContext` the font will be used with

desc

a `PangoFontDescription` describing the font to load

language

a `PangoLanguage` the fonts will be used for

Returns:

the newly allocated `PangoFontset` loaded, or null if no font matched.




2022 vala-language.org