loadFont

open fun loadFont(desc: FontDescription): Font?

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

Return

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

Parameters

desc

a PangoFontDescription describing the font to load