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

[Bug]: Wrong quadpoints when saving highlighted text #18360

Closed
calixteman opened this issue Jul 1, 2024 · 0 comments · Fixed by #18361
Closed

[Bug]: Wrong quadpoints when saving highlighted text #18360

calixteman opened this issue Jul 1, 2024 · 0 comments · Fixed by #18361
Assignees
Labels

Comments

@calixteman
Copy link
Contributor

Attach (recommended) or Link to PDF file

translated_page.pdf

Web browser and its version

Firefox nightly 129

Operating system and its version

Windows 11

PDF.js version

none

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  • open the pdf
  • highlight the text
  • save
  • open the saved pdf in Acrobat

What is the expected behavior?

We should be able to select the highlight

What went wrong?

We can't select the highlight.

Link to a viewer

No response

Additional context

It's because we don't take into account the page translation when computing the quadpoints.

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