Bug 490513

Summary: Text Underline: Option to Shift Line upwards
Product: [Applications] okular Reporter: Leonard Mada <leo.mada>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF document showing behaviour

Description Leonard Mada 2024-07-19 17:22:13 UTC
Created attachment 171793 [details]
PDF document showing behaviour

SUMMARY
Text Underline: Option to Shift Line upwards

Some pdf documents behave strangely: the Text underline draws the line a substantial amount below the text. The total-height of the text-line is unusually large even in the Text highlight tool. A tool to shift the line upward (e.g. in the properties window) would be greatly appreciated.

STEPS TO REPRODUCE
1. Open attached pdf document
2. Select Text underline
3. Underline some text

OBSERVED RESULT
Line is well below the text and interferes with the next text line.

EXPECTED RESULT
- fix algorithmically the line position;
- allow users to fix manually the line position: e.g. setting manually the relative vertical position (shift line upwards or downwards);

SOFTWARE/OS VERSIONS
Windows: 10