packages/fontkit/src/WOFF2Font.js
// custom subclass if there is a glyf table.
custom subclass if there is a glyf table.
custom subclass if there is a glyf table .
_getBaseGlyph(glyph, characters = []) {
    if (!this._glyphs[glyph]) {
      if (this.directory.tables.glyf && this.directory.tables.glyf.transformed) {
        if (!this._transformedGlyphs) { this._transformGlyfTable(); }
        return this._glyphs[glyph] = new WOFF2Glyph(glyph, characters, this);
      } else {
        return super._getBaseGlyph(glyph, characters);
      }
    }
  }
_getBaseGlyph ( glyph , characters = [ ] ) { if ( ! this . _glyphs [ glyph ] ) { if ( this . directory . tables . glyf && this . directory . tables . glyf . transformed ) { if ( ! this . _transformedGlyphs ) { this . _transformGlyfTable ( ) ; } return this . _glyphs [ glyph ] = new WOFF2Glyph ( glyph , characters , this ) ; } else { return super . _getBaseGlyph ( glyph , characters ) ; } } }
custom subclass if there is a glyf table.
custom subclass if there is a glyf table .