otMetricsGetVariation

fnfloat otMetricsGetVariation(harfbuzz.font.Font font, harfbuzz.types.OtMetricsTag metricsTag)

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

Parameters

fontan #hb_font_t object.
metricsTagtag of metrics value you like to fetch.

Returns

The requested metric value.