Virtual Method
Pango.Font.get_metrics
Declaration [src]
PangoFontMetrics*
get_metrics (
PangoFont* font,
PangoLanguage* language
)
Description [src]
Gets overall metric information for a font.
Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.
If font is NULL, this function gracefully sets some sane values in the
output variables and returns.
Parameters
language |
PangoLanguage |
language tag used to determine which script
to get the metrics for, or |
|
Can be NULL | |
| Ownership is not transferred to the callee |
Return value
Returns: PangoFontMetrics |
|
a |
|
| Ownership of the data is transferred to the caller | |