otMetricsGetXVariation

Fetches horizontal metrics value corresponding to metrics_tag from font with the current font variation settings applied.

Parameters

font harfbuzz.font.Font

an #hb_font_t object.

metricsTag harfbuzz.types.OtMetricsTag

tag of metrics value you like to fetch.

Return Value

Type: harfbuzz.types.Position

The requested metric value.