Highlight Searched Text now working as expected

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.4.1

Detailed description of issue
Hello Team,

I am trying to search text in PDF document that work has multiple instances in document. In most of the page searched text is not getting highlighted properly.

I tried same PDF and same search text. Its working fine in PDFTron and also in Mozilla PDF JS demo app (PDF.js viewer).

In PDFJS Express below is the output for “Exhibit” keyword
image

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:


This is the output in Mozilla PDF JS (PDF.js viewer)

Hi there,

Text highlighting is a product of the core PDF.js library we use, and unfortunately we do not support issues involving the PDF.js library. Typically these highlight issues are document specific and are caused by bad text parsing from the PDF.js library.

Thanks!
Logan