PgContext.loadFont

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

class PgContext
loadFont

Parameters

desc PgFontDescription

a PangoFontDescription describing the font to load

Return Value

Type: PgFont

the newly allocated PangoFont that was loaded, or NULL if no font matched. [transfer full]

Meta