Bug 476436 - German umlaute are not shown in textfields in this PDF document
Summary: German umlaute are not shown in textfields in this PDF document
Status: REOPENED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-01 20:46 UTC by Steffen W.
Modified: 2024-04-29 23:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF that contains form fields (142.18 KB, application/pdf)
2023-11-01 20:46 UTC, Steffen W.
Details
Text shown after clicking show forms again (16.34 KB, image/png)
2023-11-01 20:50 UTC, Steffen W.
Details
Actual Text that was entered into the field (11.73 KB, image/png)
2023-11-01 20:51 UTC, Steffen W.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen W. 2023-11-01 20:46:25 UTC
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
Comment 1 Steffen W. 2023-11-01 20:50:48 UTC
Created attachment 162803 [details]
Text shown after clicking show forms again
Comment 2 Steffen W. 2023-11-01 20:51:48 UTC
Created attachment 162804 [details]
Actual Text that was entered into the field
Comment 3 Steffen W. 2023-11-01 20:56:41 UTC
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.
Comment 4 Steffen W. 2023-11-04 23:36:25 UTC
After updating today - Okular is now 23.08.2 - it is working as expected now.
Comment 5 Jens Müller 2024-04-29 21:28:56 UTC
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.
Comment 6 Steffen W. 2024-04-29 23:41:45 UTC
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.
Comment 7 Steffen W. 2024-04-29 23:46:12 UTC
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