loaded, or null if no font matched.
FontMap.loadFont
pango.font.Font loadFont(pango.context.Context context, pango.font_description.FontDescription desc)Load the font in the fontmap that is the closest match for desc.
Parameters
context | the [pango.context.Context] the font will be used with |
desc | a [pango.font_description.FontDescription] describing the font to load |
Returns
the newly allocated [pango.font.Font]