Bug 471796 - pdf with forms does not handle special characters
Summary: pdf with forms does not handle special characters
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 15:36 UTC by al F
Modified: 2023-07-18 14:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description al F 2023-06-30 15:36:57 UTC
SUMMARY
When clicking "show forms" and filling in, everything looks fine. However, clicking "Show forms" again after filling in text, `æ` and `å` just disappears while `ø` is changed to `ł`. If filling in `ł` it disappears.

Font sizes are also distorted, it seems Okular adjusts the size to fill each form entirely, rendering the document layout ugly. Printing uses the wrong display, even if forms are currently showing the correct characters.

STEPS TO REPRODUCE
1. Download https://www.politiet.no/globalassets/02-tjenester-admin/politiattest/bekreftelse-pa-formal-med-soknad-om-politiattest.pdf
2. Open with Okular and click "Show forms". Fill in text containing special characters (the Norwegian æ, ø, å or others like ł or µ)
3. Click "Show forms" again.

OBSERVED RESULT
Text is incorrectly displayed and printed

EXPECTED RESULT
Text should be correctly displayed and printed

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 5.15.114-2-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Filling in forms / saving / opening / displaying in Firefox works as expected. Printing to pdf from Firefox and opening in Okular, characters display correctly but font sizes are inconsistent.