ot_layout_get_baseline_with_fallback2


Description:


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

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

This function is like ot_layout_get_baseline_with_fallback 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.


Namespace: HarfBuzz