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

Configuration:
- Web browser and its version: Google Chrome Version 91.0.4472.114 
- Operating system and its version: Windows 10 Enterprise
- PDF.js version: 
- Is a browser extension: yes

Steps to reproduce the problem:
1. download file
2. open file



What is the expected behavior? (add screenshot)
show symbol
![image](https://user-images.githubusercontent.com/50500976/123409847-55ca8800-d5b7-11eb-9e5b-c7f3b33c00e1.png)

What went wrong? (add screenshot)
Does not show symbol
![image](https://user-images.githubusercontent.com/50500976/123409707-274cad00-d5b7-11eb-9a64-b11dcf3cdc3f.png)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): Latest Version Chrome extension

const ranges = getRanges(glyphs, numGlyphs);
  const numTables = ranges[ranges.length - 1][1] > 0xffff ? 2 : 1;
  let cmap =
    "\x00\x00" + 
    string16(numTables) + 
    "\x00\x03" + 
    "\x00\x01" + 
    string32(4 + numTables * 8); 
  let i, ii, j, jj;
  for (i = ranges.length - 1; i >= 0; --i) {
    if (ranges[i][0] <= 0xffff) {
      break;
    }
  }
  const bmpLength = i + 1;
  if (ranges[i][0] < 0xffff && ranges[i][1] === 0xffff) {
    ranges[i][1] = 0xfffe;
  }
  const trailingRangesCount = ranges[i][1] < 0xffff ? 1 : 0;
  const segCount = bmpLength + trailingRangesCount;
  const searchParams = OpenTypeFileBuilder.getSearchParams(segCount, 2);
  
  let startCount = "";
  let endCount = "";
  let idDeltas = "";
  let idRangeOffsets = "";