GNOME Bugzilla – Bug 536812
Text field in PDF form can show only characters from fonts embeded in the PDF file
Last modified: 2017-05-16 21:03:34 UTC
Please describe the problem: Writing letter which has no corresponding glyph in embeded fonts results in warning on stderr and charater doesn't display after commiting the change or in printed PS output. Steps to reproduce: 1. Open PDF with input line from element and focus input line 2. Input character which is not in embeded font 3. Commit the change (and print the file). Actual results: During editing system font is used and charater is displayed properly. However after that the input line text is type set by PDF font. If the font has no corresponding glyph, the letter will be omitted and not shown. You get message like "warning: layoutText: cannot convert U+0159". Expected results: Evince should be able to emebed new font from system into the PDF and use it instead the original one for the problematic letter or input line or all form elements. Does this happen every time? Yes. Other information: Acrobat Reader does it (except saving the PDF file). Such a problematic PDF file can be produced with OpenOffice.org because it emebeds only minimal usable subset of the font.
*** Bug 573011 has been marked as a duplicate of this bug. ***
*** Bug 580085 has been marked as a duplicate of this bug. ***
May you attach a PDF test case?
Created attachment 236448 [details] Pdf with form (created by LibreOffice 3.5.4.2) PDF file example (with form).
Thanks for the test case. It turns out this is a known bug in poppler. Please, follow the bug report in https://bugs.freedesktop.org/show_bug.cgi?id=17913
*** Bug 627024 has been marked as a duplicate of this bug. ***
Dear users, hello! Maybe you'll find this interesting: the reward was set up for fixing this bug. If you are concerned about this bug, you are welcome to support this initiative or try to fix it. More details about the reward are here: https://freedomsponsors.org/issue/807/problem-with-cyrillic-and-japanese-at-pdf-forms-evince-okular