Documentation
    Preparing search index...

    Function glyphFor

    • Resolves one character to a glyph, falling back to the missing-glyph box.

      char is expected to be a single code point's worth of string — what iterating a string with for…of yields, so an astral character arrives whole rather than as two lone surrogates.

      Parameters

      Returns BitmapGlyph