Attach (recommended) or Link to PDF file here:
Configuration:
- Web browser and its version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
- Operating system and its version: Intel Mac OS X 10_15_7
- PDF.js version: the latest
- Is a browser extension: no
Steps to reproduce the problem:
- open the demo in chrome https://mozilla.github.io/pdf.js/web/viewer.html
- search any word in the pdf, such as 'JavaScript'
- zoom out the pdf until the minimum font-size less than 12px, and you will see the problem
What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

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