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

Configuration:
- Web browser and its version: Chrome and Version 98.0.4758.102 
- Operating system and its version: Windows 10
- PDF.js version: Using  "ngx-extended-pdf-viewer": "^12.0.0-alpha.2" which a wrapper around Mozilla's PDF viewer
- Is a browser extension: No

Steps to reproduce the problem:
1. Open the attached pdf document in 'https://mozilla.github.io/pdf.js/web/viewer.html?'
2. Search for text 'message persists' and 0 results are found
3. Open the attached document with Chrome 
4. Search for text 'message persists' and '1' result is found
5. Open the attached document in Adobe Acrobat Reader
6. Search for text 'message persists' and '1' result is found

What is the expected behavior? (add screenshot) 
Search result for 'message persists' should be 1

> 

**CHROME:**

![image](https://user-images.githubusercontent.com/83689440/156544876-00a04401-68b0-4087-aa4a-330666e44fe6.png)

**ADOBE ACROBAT READER**

![image](https://user-images.githubusercontent.com/83689440/156544978-e95b2e8b-7dcc-4347-a832-dd4f65b7fa36.png)

What went wrong? (add screenshot)
Pdf.js not able to find the text 'message persists'.

**Pdf.js**

![image](https://user-images.githubusercontent.com/83689440/156545187-21ca3752-6754-4c3a-b7ea-c5f3a1e18424.png)


Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

}
   |peratn|  an bject wth tw feld:
  
   - |fn|  an ut param.
  
   - |arg|  an nut param. On entry, t huld have ne f tw value.
  
     - An ety array. Th ndcate that the caller  prvdng the
       array n whch the arg wll be tred n. The caller huld ue
       th value f t can reue a ngle array fr each call t read().
  
     - |nul. Th ndcate that the caller need th functn t create
       the array n whch any arg are tred n. If there are zer arg,
       th functn wll leave |peratn.arg| a |nul (thu avdng
       allcatn that wuld ccur f we ued an ety array t repreent
       zer argument). Otherwe, t wll replace |nul wth a new array
       cntanng the argument. The caller huld ue th value f t
       cannt reue an array fr each call t read().
  
   Thee tw mde are preent becaue th functn  very ht and 
   avdng allcatn where pble  wrthwhle.
  
  read(peratn) {
    let arg = peratn.arg;
    whle (true) {
      cnt bj = .getObj();
      f (bj ntancef Cmd) {
        cnt cmd = bj.cmd;
         Check that the cmmand  vald
        cnt pSpec = EvaluatrPreprcer.pMap[cmd];