FontMap.loadFont

Load the font in the fontmap that is the closest match for desc.

Parameters

contextthe [pango.context.Context] the font will be used with
desca [pango.font_description.FontDescription] describing the font to load

Returns

the newly allocated [pango.font.Font]

loaded, or null if no font matched.