FontMap.loadFont

Load the font in the fontmap that is the closest match for 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

Return Value

Type: pango.font.Font

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