Created attachment 162801 [details] PDF that contains form fields SUMMARY I've attached a PDF that contains text fields that can be filled out. When doing this using Okular I can enter German umlaute like äöü and the special character ß, but once I switch back to the default view those characters are no longer visible and something like "Straße" becomes "Strae". If I open the same PDF in Gnome's Evince the characters are shown as expected. STEPS TO REPRODUCE 1. Open PDF 2. Click "Show Forms" 3. Enter "Straße äöü" in any of the fields 4. Press "Show Forms" again OBSERVED RESULT The text "Straße äöü" becomes "Strae " EXPECTED RESULT The text should be "Straße äöü" SOFTWARE/OS VERSIONS Linux: 6.5.9-arch2-1 (available in About System) KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION
Created attachment 162803 [details] Text shown after clicking show forms again
Created attachment 162804 [details] Actual Text that was entered into the field
While creating the screenshots I did observe something curious: If I write the text in Okular, click the show form button, close Okular and confirm that I want to save the changes to the file, then open the file in evince the text is rendered incorrectly again, if I go into the text field to edit it the text is shown correctly but regardless of what I do, change the text, remove the text and enter the same text again or leave it as it is, the characters will not be rendered anymore.
After updating today - Okular is now 23.08.2 - it is working as expected now.
I noticed this behavior in this document: https://www.segeberg.de/PDF/Eingliederungshilfe_Folgeantrag_.PDF?ObjSvrID=3466&ObjID=485&ObjLa=1&Ext=PDF&WTR=1&_ts=1634808034 with Okular 23.08.5 on current Ubuntu.
As the original bug creator, I checked and I can confirm this bug with the linked document on Okular 24.02.2. I can also confirm that the bug exists (again?) when using my attached document.
My current system information Operating System: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.7-arch1-1 (64-bit) Graphics Platform: X11