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

PDF Annotation layer is rendered incorrectly #17936

Open
oluwagbenga-joloko opened this issue Apr 12, 2024 · 2 comments
Open

PDF Annotation layer is rendered incorrectly #17936

oluwagbenga-joloko opened this issue Apr 12, 2024 · 2 comments

Comments

@oluwagbenga-joloko
Copy link

Attach (recommended) or Link to PDF file here:
PDF_with_table_content.pdf

Configuration:

  • Web browser and its version: Google Chrome Version 123.0.6312.107
  • Operating system and its version: macOS Sonoma 14.3
  • PDF.js version: 4.1.407 [2e94511]
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open the first page of the PDF

What is the expected behavior? (add screenshot)
Screenshot 2024-04-12 at 2 54 16 PM

What went wrong? (add screenshot)
Screenshot 2024-04-12 at 2 53 57 PM

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

@nicolo-ribaudo
Copy link
Contributor

This also happens in Firefox -- there is an empty canvas in the annotation layer that hides the content below.

image

I noticed that MacOS's built-in PDF viewer behaves exactly like PDF.js, which makes me think that it might be a problem with the PDF itself?

@marco-c
Copy link
Contributor

marco-c commented Apr 13, 2024

It works in Adobe Reader.

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

No branches or pull requests

4 participants