Skip to content
New issue

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

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

Already on GitHub? # to your account

Text layer not well positioned on rotated page by 180 #14415

Closed
zagoa opened this issue Jan 3, 2022 · 0 comments · Fixed by #14418
Closed

Text layer not well positioned on rotated page by 180 #14415

zagoa opened this issue Jan 3, 2022 · 0 comments · Fixed by #14418
Assignees

Comments

@zagoa
Copy link

zagoa commented Jan 3, 2022

Attach (recommended) or Link to PDF file here:

Configuration:

  • Using Firefox and the demo viewer

PDFJS_BUG.pdf

Steps to reproduce the problem:

  1. Open the document
  2. Ctrl + A to select all the text
  3. Areas selected are off

What is the expected behavior?
If we open the document in Chrome or Acrobat we will have right areas displayed on the text
image

What went wrong?
The text layer is not well rendered.
image

This bug only happened on page rotated by 180

@calixteman calixteman self-assigned this Jan 3, 2022
Snuffleupagus added a commit that referenced this issue Jan 5, 2022
Use positive dimensions for text chunks in the text layer (issue #14415)
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants