otMathGetGlyphKerning

Fetches the math kerning (cut-ins) value for the specified font, glyph index, and kern.

If the MathKern table is found, the function examines it to find a height value that is greater or equal to correction_height. If such a height value is found, corresponding kerning value from the table is returned. If no such height value is found, the last kerning value is returned.

Parameters

font#hb_font_t to work upon
glyphThe glyph index from which to retrieve the value
kernThe #hb_ot_math_kern_t from which to retrieve the value
correctionHeightthe correction height to use to determine the kerning.

Returns

requested kerning value or zero