otMetricsGetPosition

Fetches metrics value corresponding to metrics_tag from font.

Parameters

font harfbuzz.font.Font

an #hb_font_t object.

metricsTag harfbuzz.types.OtMetricsTag

tag of metrics value you like to fetch.

position harfbuzz.types.Position

result of metrics value from the font.

Return Value

Type: harfbuzz.types.Bool

Whether found the requested metrics in the font.