Function

HarfBuzz-0.0HarfBuzzfont_get_glyph_h_kerningSince 0.9.2

  • Fetches the kerning-adjustment value for a glyph-pair in the specified font, for horizontal text segments.

    It handles legacy kerning only (as returned by the corresponding HarfBuzz.font_funcs_t function).

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • left_glyph: number

      The glyph ID of the left glyph in the glyph pair

    • right_glyph: number

      The glyph ID of the right glyph in the glyph pair

    Returns number

    The kerning adjustment value

    0.9.2