Bug 508449 - Character isn’t positioned correctly at normal zoom levels
Summary: Character isn’t positioned correctly at normal zoom levels
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 07:58 UTC by Jendrik Stelzner
Modified: 2025-08-19 08:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A test file that exhibits the described problem. (46.15 KB, application/pdf)
2025-08-19 07:58 UTC, Jendrik Stelzner
Details
A GIF that shows the drop of the summation sign. (110.24 KB, image/gif)
2025-08-19 08:00 UTC, Jendrik Stelzner
Details
A direct comparison of the two character placements. (19.11 KB, image/png)
2025-08-19 08:02 UTC, Jendrik Stelzner
Details

Note You need to log in before you can comment on or make changes to this bug.
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.