Viewer:  https://mozilla.github.io/pdf.js/web/viewer.html
Chrome on Windows 10
When the attached PDF file is viewed, some of the fonts display as garbled text. 
[Arial, Courier, Times New Roman]
The file views correctly in Adobe Reader.
[fff.pdf](https://github.com/mozilla/pdf.js/files/4652174/fff.pdf)

offsetIndex = segment.offsetIndex;
          for (j = start; j <= end; j++) {
            if (j === 0xffff) {
              continue;
            }
            glyphId = offsetIndex < 0 ? j : offsets[offsetIndex + j - start];
            glyphId = (glyphId + delta) & 0xffff;
            mappings.push({
              charCode: j,
              glyphId,
            });
          }
        }
      } else if (format === 6) {
        
        
        
        
        
        const firstCode = file.getUint16();
        const entryCount = file.getUint16();
        for (j = 0; j < entryCount; j++) {
          glyphId = file.getUint16();
          const charCode = firstCode + j;
          mappings.push({
            charCode,
            glyphId,
          });
        }
      } else {