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

Problem rendering attached pdf #15044

Closed
bmm6o opened this issue Jun 14, 2022 · 3 comments · Fixed by #15046
Closed

Problem rendering attached pdf #15044

bmm6o opened this issue Jun 14, 2022 · 3 comments · Fixed by #15046

Comments

@bmm6o
Copy link

bmm6o commented Jun 14, 2022

Attach (recommended) or Link to PDF file here:

Configuration:

  • Web browser and its version: Chrome 102
  • Operating system and its version: Windows 10
  • PDF.js version: 2.14.305
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open attached PDF
  2. Note the text is incorrect compared to Adobe or Foxit.

What is the expected behavior? See screenshot from Adobe. It does require Arial Unicode font to display properly.
adobe

What went wrong? See screenshot. It seems to mess up the character mappings, so that even the ASCII-range characters are mis-represented.
pdfjs

@bmm6o
Copy link
Author

bmm6o commented Jun 14, 2022

Problematic PDF
HY0030809983.pdf

@Snuffleupagus
Copy link
Collaborator

Note the text is incorrect compared to Adobe or Foxit.

Please note that that depends entirely on what fonts you have installed locally, since I'm not able to render the document correctly in either Adobe Reader or PDFium (in Google Chrome).

@bmm6o
Copy link
Author

bmm6o commented Jun 17, 2022

That's a good point. I did have to find a copy of Arial Unicode in order for Adobe to render it appropriately on my Windows machine.
Thanks for your quick response!

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

Successfully merging a pull request may close this issue.

2 participants