PgContext.loadFontset

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

Parameters

desc PgFontDescription

a PangoFontDescription describing the fonts to load

language PgLanguage

a PangoLanguage the fonts will be used for

Return Value

Type: PgFontset

the newly allocated PangoFontset loaded, or NULL if no font matched. [transfer full]

Meta