Context.loadFont

Loads the font in one of the fontmaps in the context that is the closest match for desc.

Parameters

desc pango.font_description.FontDescription

a pango.font_description.FontDescription describing the font to load

Return Value

Type: pango.font.Font

the newly allocated pango.font.Font that was loaded, or null if no font matched.