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

Helvetica font on windows machine mapping issue #17751

Closed
TangMichael opened this issue Feb 28, 2024 · 1 comment
Closed

Helvetica font on windows machine mapping issue #17751

TangMichael opened this issue Feb 28, 2024 · 1 comment

Comments

@TangMichael
Copy link

Configuration:

  • Web browser and its version: chrome 120
  • Operating system and its version: windows 10
  • PDF.js version: pdfjs-dist 3.6.172

Steps to reproduce the problem:

  1. Loading document on windows machine

What is the expected behavior? (add screenshot)

font should be displayed properly

What went wrong? (add screenshot)

This is the pdf on adobe

Screenshot 2024-02-28 at 5 54 05 PM

This is the result when I upload the pdf on my app with react-pdf
Screenshot 2024-02-28 at 5 53 50 PM

font property
Screenshot 2024-02-28 at 5 54 27 PM

font mapping seems weird. Is this a computer issue or is there some mapping between fonts not working properly on specific machine with windows.

This only happens for certain users on windows 10. I was not able to reproduce personally. I've asked on the react-pdf github too but could not get any answer. Perhaps somebody here would understand why this is happening?

@TangMichael TangMichael changed the title Helvetica font on windows machine mapping are weird Helvetica font on windows machine mapping issue Feb 28, 2024
@Snuffleupagus
Copy link
Collaborator

Unfortunately this issue isn't actionable in its current form, please keep in mind that the Attach (recommended) or Link to PDF file here:-part of the ISSUE_TEMPLATE is always required when opening an issue.

PDF.js version: pdfjs-dist 3.6.172

That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download

This is the result when I upload the pdf on my app with react-pdf

Please keep in mind that "react-pdf" is not developed here, and while it may use the PDF.js library it's not something that we can provide help/support for.

@Snuffleupagus Snuffleupagus closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
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

2 participants