otMetricsGetXVariation
fn
harfbuzz.types.Position otMetricsGetXVariation(harfbuzz.font.Font font, harfbuzz.types.OtMetricsTag metricsTag)Fetches horizontal metrics value corresponding to metrics_tag from font with the current font variation settings applied.
Parameters
font | an #hb_font_t object. |
metricsTag | tag of metrics value you like to fetch. |
Returns
The requested metric value.