Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation in wrong place #24

Open
AJamesPhillips opened this issue Dec 6, 2021 · 1 comment
Open

Annotation in wrong place #24

AJamesPhillips opened this issue Dec 6, 2021 · 1 comment

Comments

@AJamesPhillips
Copy link

I have the chrome extension 1.926.0.0. When viewing a PDF with an annotation, the annotation appears in the wrong place. When searching for the annotation text, the text highlight position is wrong. When searching for the same text in Chrome's default PDF rendered or using Preview (Mac), the highlight for the searched for text appears in the correct position.

Search for "job polarisation" in the following PDF and it will look like the screenshot below. You can see if you try to annotate the text the actual text annotated is "forworkers perform":

image

@robertknight
Copy link
Member

I can reproduce in our Chrome extension which is currently using PDF.js v2.11.213. Using the bookmarklet in Firefox's native PDF viewer with PDF.js v2.11.298, the problem does not appear.

I found this recent change in PDF.js that looks like it may be related - mozilla/pdf.js#14209.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants