hasChar method

dynamic hasChar(
  1. dynamic c
)

Check if the font has a glyph for the given character. @param {string} @return {Boolean}

Implementation

hasChar(c) {
  return this.encoding.charToGlyphIndex(c) != null;
}