Function

HarfBuzz-0.0HarfBuzzfont_get_glyph_kerning_for_directionSince 0.9.2

  • Fetches the kerning-adjustment value for a glyph-pair in the specified font.

    Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • first_glyph: number

      The glyph ID of the first glyph in the glyph pair to query

    • second_glyph: number

      The glyph ID of the second glyph in the glyph pair to query

    • direction: direction_t

      The direction of the text segment

    Returns [number, number]

    0.9.2