-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
Filled hebrew characters unable to render unless clicked #688
Comments
@dfrancoS37 did you embed any specific font? |
Hello @dfrancoS37! Sounds like there's a problem with the way This issue may be related to #726. |
@dfrancoS37 What happens if you try to just draw the those characters somewhere on the page with |
I'm having an issue when filling in fields with hebrew characters. Works OK for english (latin) & russian (cyrillic).
Because I may have non-latin characters, I am embedding the Ubuntu font in the pdfDoc as recommended https://www.npmjs.com/package/pdf-lib#creating-and-filling-forms.
After the document is filled in, the english & russian values are clearly visible. Hebrew characters are not. They are empty boxes. But when clicked, the value is clearly shown. When clicked outside the textfield, the value goes back to boxes. If I click inside the box and modify the value, like adding a space, the value remains visible even after clicking outside the field.
Example PDF file: Consent_Form_pdf-lib_Completed.pdf
test_pdf-lib.zip
Additional Info:
The results are inconsistent with different viewers.
Apple Preview
(on macBook): Results are as reported above.Safari
: Hebrew is empty boxes until clicked. Remains viewable when clicked outside textfield.Chrome
: Results are as Apple Preview, but when hebrew viewable, it's backwards (LTR).Adobe Acrobat Reader
: Hebrew is empty boxes. When clicked, the boxes change to dots. Clicking outside textfield changes back to boxes.Confluence viewer
: Results remain empty boxesIs PDF viewer inconsistency an issue which needs to be taken into consideration? Is there a preferred viewer?
Thank you, Dan
The text was updated successfully, but these errors were encountered: