
Attach (recommended) or Link to PDF file here:
[NAPEN16171380959.pdf](https://github.com/mozilla/pdf.js/files/6143802/NAPEN16171380959.pdf)

Configuration:
- Web browser and its version: Firefox 88 Nightly
- Operating system and its version: Windows 10
- PDF.js version:
- Is a browser extension: No

What went wrong? (add screenshot)
![](https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2021-03-15-10-58-27-ce2796.png)


encodingId: -1,
            mappings: [],
            hasShortCmap: false,
          };
        }
        var format = file.getUint16();
        file.skip(2 + 2); 
        var hasShortCmap = false;
        var mappings = [];
        var j, glyphId;
        
        if (format === 0) {
          for (j = 0; j < 256; j++) {
            var index = file.getByte();
            if (!index) {
              continue;
            }
            mappings.push({
              charCode: j,
              glyphId: index,
            });
          }
          hasShortCmap = true;
        } else if (format === 4) {
          
          
          var segCount = file.getUint16() >> 1;
          file.skip(6); 
          var segIndex,
            segments = [];