nameToGlyphIndex method
dynamic
nameToGlyphIndex(
- dynamic name
Gets the index of a glyph by name. @param {string} name - The glyph name @return {number} The index
Implementation
nameToGlyphIndex(name) {
return this.names.indexOf(name);
}