Attach (recommended) or Link to PDF file here: 
[text-30.pdf](https://github.com/mozilla/pdf.js/files/7190322/text-30.pdf)

Configuration:
- Web browser and its version: Chrome Version 93.0.4577.82 (Official Build) (x86_64)
- Operating system and its version: MacOS Big Sur 11.6
- PDF.js version: Tested and verified the bug exists in v2.9.359 and v2.10.377
- Is a browser extension: No

Steps to reproduce the problem:
1. Open the attached file.
2. Try to select the text. It shows "6" instead of the expected "10". This behavior exists on v2.9.359 and v2.10.377, and also as of the latest commit on the master branch (83d3bb43f434b8475cd13f1f9456099677d60acb).

What is the expected behavior? (add screenshot)
On v2.8.335 the text selected is "10" as expected.

Note that this example was extracted from a larger paper on arXiv: https://arxiv.org/pdf/1106.6241.pdf
On Page 14, Figure 8, the labels on the axes are shown as 10^-3X, but selecting the text "10" shows "6" instead. This doesn't appear to be a problem on other similar figures (e.g. Figure 4 on Page 10 doesn't appear to have this issue).

if (ttContext.tooComplexToFollowFunctions) {
        return;
      }
      if (ttContext.functionsDefined.length > maxFunctionDefs) {
        warn("TT: more functions defined than expected");
        ttContext.hintsValid = false;
        return;
      }
      for (let j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) {
        if (j > maxFunctionDefs) {
          warn("TT: invalid function id: " + j);
          ttContext.hintsValid = false;
          return;
        }
        if (ttContext.functionsUsed[j] && !ttContext.functionsDefined[j]) {
          warn("TT: undefined function: " + j);
          ttContext.hintsValid = false;
          return;
        }
      }
    }
    function foldTTTable(table, content) {