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

Native text comment (annotation) is not visible in PDF document #15222

Closed
prmahima opened this issue Jul 25, 2022 · 7 comments
Closed

Native text comment (annotation) is not visible in PDF document #15222

prmahima opened this issue Jul 25, 2022 · 7 comments

Comments

@prmahima
Copy link

Attach (recommended) or Link to PDF file here: Attached in the comment section.

Configuration:

  • Web browser and its version:
    Google Chrome 103.0.5060.114
    Firefox 102.0.1
  • Operating system and its version: Windows (Not specific to OS)
  • PDF.js version: '2.15.308'
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open the PDF file in https://mozilla.github.io/pdf.js/web/viewer.html
  2. Native text comment (annotation) is NOT visible.

What is the expected behavior? (add screenshot)

  1. Open the PDF file with Microsoft edge browser (I tried on 103.0.1264.71) Or open the PDF file with Adobe acrobat reader
  2. Native text comment (annotation) is visible in blue colour.

What went wrong? (add screenshot)
Native text comment (annotation) is not visible in PDF document with pdf.js viewer where as it can be viewed in other applications.

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

@prmahima
Copy link
Author

@Snuffleupagus Our customer is uploading the document immediately. Please give some 10 mins time.

@Snuffleupagus
Copy link
Collaborator

Attach (recommended) or Link to PDF file here: Attached in the comment section.
[...]
Our customer is uploading the document immediately. Please give some 10 mins time.

Once more: Please save everyone's time by actually following the ISSUE_TEMPLATE and directly attach the PDF document to the initial post immediately when opening an issue.

Please keep in mind that this is an open-source bug tracker, frequented by many volunteers, rather than paid tech-support.

@prmahima
Copy link
Author

prmahima commented Jul 25, 2022

@Snuffleupagus Our customer is ready to upload the document now. Should I open a new ticket for this issue as this ticket is closed now?

@calixteman
Copy link
Contributor

Please add the pdf here and next time just file the bug when you've the pdf.

@MargitPaul
Copy link

@calixteman
Copy link
Contributor

There is no appearance stream.
The freetext annotation is correctly displayed in Acrobat, Edge, Foxit and Okular, but neither in Firefox nor Chrome.
So when there are no appearance, we must create a default one from the Contents entry.

@Snuffleupagus
Copy link
Collaborator

Duplicate of #6810

@Snuffleupagus Snuffleupagus marked this as a duplicate of #6810 Jul 25, 2022
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