Method
PangoContextload_font
Declaration [src]
PangoFont*
pango_context_load_font (
PangoContext* context,
const PangoFontDescription* desc
)
Description [src]
Loads the font in one of the fontmaps in the context
that is the closest match for desc
.
Parameters
desc |
PangoFontDescription |
A |
|
The data is owned by the caller of the function. |
Return value
Returns: | PangoFont |
The newly allocated |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |