otMetricsGetPositionWithFallback

Fetches metrics value corresponding to metrics_tag from font, and synthesizes a value if it the value is missing in the 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.