Function

HarfBuzz-0.0HarfBuzzfont_get_glyphSince 0.9.2

  • Fetches the glyph ID for a Unicode code point in the specified font, with an optional variation selector.

    If variation_selector is 0, calls hb_font_get_nominal_glyph(); otherwise calls hb_font_get_variation_glyph().

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • unicode: number

      The Unicode code point to query

    • variation_selector: number

      A variation-selector code point

    Returns [number, number]

    true if data found, false otherwise

    0.9.2