nameToGlyph method
dynamic
nameToGlyph(
- dynamic name
Implementation
nameToGlyph(name) {
var glyphIndex = this.nameToGlyphIndex(name);
var glyph = this.glyphs.get(glyphIndex);
if (!glyph) {
// .notdef
glyph = this.glyphs.get(0);
}
return glyph;
}