-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[Bug]: Incorrect rendering of texts in a PDF #18801
Comments
This comment was marked as resolved.
This comment was marked as resolved.
As previously mentioned, please attach the document directly here when opening the issue. (Keep in mind that this is an open-source project that you're able to use for free, hence please respect other peoples time.)
That's neither a complete version number, nor a supported version; please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download
That's because your PDF document uses non-standard fonts, but don't embed them, which is a bug in the PDF document itself. Note the following console log:
|
Interesting bug. @Snuffleupagus wdyt ? |
Attach (recommended) or Link to PDF file
Uploaded in comments
Web browser and its version
Firefox : 130.0.1
Operating system and its version
any OS, tested in Windows
PDF.js version
3.11
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Open the sample file provided in pdf.js viewer, we can see the text replaced with some other characters.
What is the expected behavior?
PDF text fields should be displayed with correct text
What went wrong?
Texts in PDF is replaced with some different characters.
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: