load_font


Description:

public Font? load_font (FontDescription desc)

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

Parameters:

this

a `PangoContext`

desc

a `PangoFontDescription` describing the font to load

Returns:

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