otLayoutGetBaselineWithFallback

Fetches a baseline value from the face, and synthesizes it if the font does not have it.

Parameters

font harfbuzz.font.Font

a font

baselineTag harfbuzz.types.OtLayoutBaselineTag

a baseline tag

direction harfbuzz.types.Direction

text direction.

scriptTag harfbuzz.types.Tag

script tag.

languageTag harfbuzz.types.Tag

language tag, currently unused.

coord harfbuzz.types.Position

baseline value if found.