Bug 457254

Summary: Text in typewriter annotations are cut-off/cropped at the top
Product: [Applications] okular Reporter: ningyuan.sg <ningyuan.sg>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.04.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of an example of cut-off text in a typewriter annotation

Description ningyuan.sg@gmail.com 2022-07-29 03:28:57 UTC
Created attachment 150964 [details]
Screenshot of an example of cut-off text in a typewriter annotation

STEPS TO REPRODUCE
1. Add any typewriter annotation with text to a PDF document

OBSERVED RESULT
The text of the typewriter annotation is cut off at the top, meaning that the top border of the annotation starts somewhere at the middle of the text. These annotations are generated and displayed within the same Okular session (not a duplicate of 451769).

EXPECTED RESULT
The whole text should be displayed without any cut offs.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-2-amd64
Graphics Platform: X11
Comment 1 ningyuan.sg@gmail.com 2022-07-29 03:37:38 UTC
I should add that I had used Okular as installed from flatpak:

$ flatpak list | grep okular
Okular  org.kde.okular  22.04.2 stable  system

I uninstalled Okular from flatpak, then installed via apt. This resolved the issue.

The apt-installed version was 22.04.3.