| Top |  |  |  |  | 
hb_bool_t hb_ot_metrics_get_position (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag,hb_position_t *position);
It fetches metrics value corresponding to a given tag from a font.
| font | a hb_font_t object. | |
| metrics_tag | tag of metrics value you like to fetch. | |
| position | result of metrics value from the font. | [out][optional] | 
Since: 2.6.0
float hb_ot_metrics_get_variation (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag);
Since: 2.6.0
hb_position_t hb_ot_metrics_get_x_variation (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag);
Since: 2.6.0
hb_position_t hb_ot_metrics_get_y_variation (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag);
Since: 2.6.0
From https://docs.microsoft.com/en-us/typography/opentype/spec/mvarvalue-tags
| horizontal ascender. | ||
| horizontal descender. | ||
| horizontal line gap. | ||
| horizontal clipping ascent. | ||
| horizontal clipping descent. | ||
| vertical ascender. | ||
| vertical descender. | ||
| vertical line gap. | ||
| horizontal caret rise. | ||
| horizontal caret run. | ||
| horizontal caret offset. | ||
| vertical caret rise. | ||
| vertical caret run. | ||
| vertical caret offset. | ||
| x height. | ||
| cap height. | ||
| subscript em x size. | ||
| subscript em y size. | ||
| subscript em x offset. | ||
| subscript em y offset. | ||
| superscript em x size. | ||
| superscript em y size. | ||
| superscript em x offset. | ||
| superscript em y offset. | ||
| strikeout size. | ||
| strikeout offset. | ||
| underline size. | ||
| underline offset. | ||
Since: 2.6.0