loadFont

open fun loadFont(context: Context, desc: FontDescription): Font?

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

Return

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

Parameters

context

the PangoContext the font will be used with

desc

a PangoFontDescription describing the font to load