Unable to select certain areas of the PDF

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
“UI version”: “8.7.0”,
“Core version”: “8.7.0”,
“webviewer.min.js”: “8.7.0”,
“Build”: “Ny8yMC8yMDIyfDJhMWM5ZWYwOA==”,
“WebViewer Server”: false,
“Full API”: false

Detailed description of issue

  1. PDF is not getting rendered properly.

  2. Unable to select certain areas to add annotation.
    As you can see in the below images, we are unable to select most of the text on right end of the pdf page. Also you can see that the text selected on Annotation on the PDF is different from the text on the comment. For example here we tried selecting the text Metals Mining. Annotation on PDF page is applied to Metals (highlighted in yellow). In comment panel Mining is shown.

Expected behaviour

  1. PDF should be rendered properly.
  2. Should be able to select properly and annotations are added correctly.

Does your issue happen with every document, or just one?
several documents we have tried and can replicate the issue.

Link to document


sample document -
ChinaDaye_1.pdf (50.6 KB)

Code snippet

Hi @Sriraman,

Thank you for contacting support.

Can you tell me about these documents you are experiencing these issues on; are they converted word documents, scanned documents, linearized?.. etc.

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.

They are not converted from Word application. They are not scanned documents. Not sure about linearized.

Hello sriraman,

Unfortunately PDF rendering and PDF text selection are handled by the PDFJS library. Please open a ticket to resolve this with Mozilla.

Best regards,
Tyler Gordon
Web Development Support Engineer

Actually I do not see these issues with PDF JS. There is no rendering issue when the page width si 50% or 70% or 100% or page width. I can also select the text without any problem.

Please refer the below snapshot.

Hi there,

Thank you for your response,

Text selection seems to be off on our demo:

We’ve added the issue to our backlog to be worked on in the future. We don’t have a timeline for when it will be fixed but if it does get fixed we’ll let you know when it’s available in an experimental build to test out and the estimated official release date. If you have a desired timeline for having this issue fixed please let us know and we’ll do our best to work with you on how this can fit into the release schedule.

Best regards,
Kevin Kim

Ok. This is the blocker issue for us.