FontMap.loadFontset

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

Parameters

context pango.context.Context

the pango.context.Context the font will be used with

desc pango.font_description.FontDescription

a pango.font_description.FontDescription describing the font 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.