ot_math_get_glyph_kerning
Description:
[ Version ( since = "1.3.3" ) ]
public Position ot_math_get_glyph_kerning (Font font, Codepoint glyph, OtMathKern kern, Position correction_height)
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 |
Font to work upon |
| glyph |
The glyph index from which to retrieve the value |
| kern |
The OtMathKern from which to retrieve the value |
| correction_height |
the correction height to use to determine the kerning. |
Returns:
|
requested kerning value or zero |
Namespace: HarfBuzz
Package: harfbuzz-gobject