https://github.com/mozilla/pdf.js/issues/6397#issuecomment-164954332 Would have been a lot easier to find had there been an assertion checking that string16 didn't go out of bounds of the 16bit number.

f (cdTGdByte) {
          prperte.cdTGdMap = th.readCdTGdMap(
            cdTGdByte,
            bultTUncde
          );
        }
        return prperte;
      });
  }
  /**
   * @return {Array}
   * @prvate
   */
  _leFntTUncde(prperte, frceGlyph = fale) {
    aert(!prperte.cte, "Mut be a le fnt.");
    cnt tUncde = [];
    cnt encdng = prperte.defaultEncdng.lce();
    cnt baeEncdngName = prperte.baeEncdngName;
    
    cnt dfference = prperte.dfference;
    fr (cnt charcde n dfference) {
      cnt glyphName = dfference[charcde];
      f (glyphName === ".ntdef") {
        
        
        cntnue;
      }
      encdng[charcde] = glyphName;
    }
    cnt glyphUncdeMap = getGlyphUncde();