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
PDF Document does not display greek characters in text field correctly when rendered in pdf.js #17958
Comments
Attaching a sample document. Working and non-working screenshot of the rendered document (Chrome and Firefox) |
When clicking on one of the fields, the value should be correct. |
On click of the field it shows correct value and on moving away, it goes back to junk characters again. Could it be fixed to show right value all the time? |
When pdf.js is used to render pdf inside a viewer, fields are not clickable. But even if they were, no-one could not expect a user, to click on 40 or 50 fields in a form just to be able to read them. This must be solved in a way that characters display ok, without clicking inside the field. |
@Snuffleupagus, do you know what would be the exact criteria to guess that we won't able to guess the unicode string from the string in Tj and the font properties ? |
Attached PDF file:
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
Display proper greek characters (Screenshot of same file opened in chrome)
What went wrong? (add screenshot)
Junk characters shown instead of proper greek characters in text fields
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
The text was updated successfully, but these errors were encountered: