otLayoutGetBaseline2

Fetches a baseline value from the face.

This function is like harfbuzz.global.otLayoutGetBaseline but takes #hb_script_t and #hb_language_t instead of OpenType #hb_tag_t.

Parameters

font harfbuzz.font.Font

a font

baselineTag harfbuzz.types.OtLayoutBaselineTag

a baseline tag

direction harfbuzz.types.Direction

text direction.

script harfbuzz.types.Script

script.

language harfbuzz.types.Language

language, currently unused.

coord harfbuzz.types.Position

baseline value if found.

Return Value

Type: harfbuzz.types.Bool

true if found baseline value in the font.