Context.loadFontset

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

Parameters

desc pango.font_description.FontDescription

a pango.font_description.FontDescription describing the fonts to load

language pango.language.Language

a pango.language.Language the fonts will be used for

Return Value

Type: pango.fontset.Fontset

the newly allocated pango.fontset.Fontset loaded, or null if no font matched.