Bug 508449

Summary: Character isn’t positioned correctly at normal zoom levels
Product: [Applications] okular Reporter: Jendrik Stelzner <jendrikstelzner+kdebugs>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A test file that exhibits the described problem.
A GIF that shows the drop of the summation sign.
A direct comparison of the two character placements.

Description Jendrik Stelzner 2025-08-19 07:58:20 UTC
Created attachment 184233 [details]
A test file that exhibits the described problem.

The attached PDF file contains the example text `H∑y` set in JuliaMono. The middle character is the summation sign (U+02211). In JuliaMono the summation sign goes up slightly higher than `H` and goes down as low as `y`. But Okular displays it shifted upwards, so that it sits on the baseline instead. This problem disappears with a zoom of at least 1,839%.

STEPS TO REPRODUCE
1. Open the attached PDF file.
2. Zoom to 1,838%.
3. Zoom to 1,839%.

OBSERVED RESULT
When the file is first opened the summation sign sits on the base line. Zooming to 1,838% doesn’t change that. Zooming in one percent further to 1,839% makes the summation sign suddenly drop down as low as `y`; it is now only slightly higher than `H`.

EXPECTED RESULT
The summation sign should be positioned correctly even at normal zoom levels.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (fully updated)
KDE Plasma Version:  6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
- The file was created with LuaLaTeX.
- The problem does not seem to occur with other PDF viewers or with programs that can import PDF files. I’ve tested Evince, Xpdf and Firefox, and I imported it in Inkscape, Krita and Gimp.
- I have only experienced the problem with this specific character (the summation sign) in this specific font (JuliaMono).
Comment 1 Jendrik Stelzner 2025-08-19 08:00:38 UTC
Created attachment 184234 [details]
A GIF that shows the drop of the summation sign.
Comment 2 Jendrik Stelzner 2025-08-19 08:02:21 UTC
Created attachment 184235 [details]
A direct comparison of the two character placements.