Virtual Method
PangoFontMapload_font
Declaration [src]
PangoFont*
load_font (
PangoFontMap* fontmap,
PangoContext* context,
const PangoFontDescription* desc
)
Parameters
context-
Type:
PangoContextThe
PangoContextthe font will be used with.The data is owned by the caller of the function. desc-
Type:
PangoFontDescriptionA
PangoFontDescriptiondescribing the font to load.The data is owned by the caller of the function.
Return value
Type: PangoFont
The newly allocated PangoFont
loaded, or NULL if no font matched.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |