load_font


Description:

public virtual Font? load_font (Context context, FontDescription desc)

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

Parameters:

this

a `PangoFontMap`

context

the `PangoContext` the font will be used with

desc

a `PangoFontDescription` describing the font to load

Returns:

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