Bug 413324

Summary: "Typewriter" annotation tool - Text too high to show some diacritics
Product: [Applications] okular Reporter: yannl35133
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, mikael, sumsarandreassen
Priority: NOR    
Version First Reported In: 1.6.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example file - as requested
Screenshot - to show the problem

Description yannl35133 2019-10-22 17:45:49 UTC
SUMMARY
See title, problem occurs with (at least) È in default Noto Sans 10.
As increasing the height raises the text, the only fix is a newline before text.

STEPS TO REPRODUCE
1. Open a file
2. Add an annotation containing È
3. Observe the missing `


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 1 Albert Astals Cid 2019-10-22 20:58:31 UTC
Please attach the pdf file you're using and also a screenshot of what you're getting
Comment 2 yannl35133 2019-10-22 21:06:50 UTC
Created attachment 123427 [details]
Example file - as requested
Comment 3 Albert Astals Cid 2019-10-23 20:19:36 UTC
and a screenshot of what you're getting too please
Comment 4 yannl35133 2019-10-23 21:25:15 UTC
Created attachment 123445 [details]
Screenshot - to show the problem

I added characters É, À which have the same problem
Comment 5 Albert Astals Cid 2019-10-24 18:15:21 UTC
ok, i can reproduce
Comment 6 Mikael 2022-03-16 10:33:40 UTC
I still have this problem with non-english characters, such as Swedish Å Ä Ö, with Okular 21.08.3 installed as Flatpak on Debian Buster from Flathub. Both the 'Typewriter' and the 'Inline Note' tools suffers from this lack of padding around visual text elements.
Comment 7 sumsarandreassen 2022-06-14 13:08:22 UTC
Having the same issue, the letters are so high that even tall letters and capitals have their tops cut off
Comment 8 Albert Astals Cid 2022-06-14 17:44:32 UTC
This is a poppler issue.

https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1208