Method
PangoFontMapreload_font
Declaration [src]
PangoFont*
pango_font_map_reload_font (
PangoFontMap* fontmap,
PangoFont* font,
double scale,
PangoContext* context,
const char* variations
)
Description [src]
Returns a new font that is like font, except that its size
is multiplied by scale, its backend-dependent configuration
(e.g. cairo font options) is replaced by the one in context,
and its variations are replaced by variations.
| Available since: | 1.52 |
Parameters
font |
PangoFont |
A font in |
|
| The data is owned by the caller of the function. | |
scale |
double |
The scale factor to apply. |
|
context |
PangoContext |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
variations |
const char* |
Font variations to use. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. |
Return value
| Returns: | PangoFont |
The modified font. |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |