| Top |
hb_bool_t hb_ot_metrics_get_position (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag,hb_position_t *position);
Fetches metrics value corresponding to metrics_tag
from font
.
font |
an 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);
Fetches metrics value corresponding to metrics_tag
from font
with the
current font variation settings applied.
Since: 2.6.0
hb_position_t hb_ot_metrics_get_x_variation (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag);
Fetches horizontal metrics value corresponding to metrics_tag
from font
with the current font variation settings applied.
Since: 2.6.0
hb_position_t hb_ot_metrics_get_y_variation (hb_font_t *font,hb_ot_metrics_tag_t metrics_tag);
Fetches vertical metrics value corresponding to metrics_tag
from font
with
the current font variation settings applied.
Since: 2.6.0
Metric tags corresponding to MVAR Value 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