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

Some text disappeared in this PDF. #12823

Closed
cmh1996 opened this issue Jan 7, 2021 · 1 comment · Fixed by #12824
Closed

Some text disappeared in this PDF. #12823

cmh1996 opened this issue Jan 7, 2021 · 1 comment · Fixed by #12824

Comments

@cmh1996
Copy link

cmh1996 commented Jan 7, 2021

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

Configuration:

  • Web browser and its version: FireFox 84.0
  • Operating system and its version: macOS 10.15.7
  • PDF.js version: 2.7.262
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open the PDF with pdf.js.
  2. Found the text of this PDF disappeared.

What is the expected behavior? (add screenshot)
image

What went wrong? (add screenshot)
image

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

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Jan 7, 2021

Your PDF document is corrupt, since one of the fonts is missing necessary data, as indicated by the errors in your screen-shot.
While we perhaps should handle the actual error better, please note that Adobe Reader (i.e. the PDF reference implementation) renders that document in the same way as the PDF.js library does.

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