load_fontset


Description:

public Fontset? load_fontset (FontDescription desc, Language language)

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

Parameters:

this

a `PangoContext`

desc

a `PangoFontDescription` describing the fonts 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