ot_layout_get_baseline2


Description:


[ Version ( since = "8.0.0" ) ]
public Bool ot_layout_get_baseline2 (Font font, OtLayoutBaselineTag baseline_tag, Direction direction, Script script, Language? language, out Position coord)

Fetches a baseline value from the face.

This function is like ot_layout_get_baseline but takes Script and Language instead of OpenType Tag.

Parameters:

font

a font

baseline_tag

a baseline tag

direction

text direction.

script

script.

language

language, currently unused.

coord

baseline value if found.

Returns:

`true` if found baseline value in the font.


Namespace: HarfBuzz