loadFontset

open fun loadFontset(desc: FontDescription, language: Language): Fontset?(source)

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

Return

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

Parameters

desc

a PangoFontDescription describing the fonts to load

language

a PangoLanguage the fonts will be used for