Bug 468112 - Use Cairo backend for Poppler wrapper used in Okular
Summary: Use Cairo backend for Poppler wrapper used in Okular
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 08:59 UTC by Alexander Wilms
Modified: 2023-04-03 09:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF which displays rendering artifacts at 150% zoom (88.12 KB, application/pdf)
2023-04-03 08:59 UTC, Alexander Wilms
Details
Rendering artifacts in Okular at 150% zoom (59.72 KB, image/png)
2023-04-03 09:02 UTC, Alexander Wilms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2023-04-03 08:59:44 UTC
Created attachment 157812 [details]
PDF which displays rendering artifacts at 150% zoom

SUMMARY
Okular displays rendering artifacts when one opens a PDF and zooms in a bit. Apparently this is caused by the Splash backend in Poppler's Qt backend. Enabling the Cairo backend should fix this.


STEPS TO REPRODUCE
1. Download the attachment
2. Open specimen.pdf in Evince and Okular

OBSERVED RESULT
Evince renders the text as expected, all characters are on the same baseline. In Okular, the characters jump up and down.

EXPECTED RESULT
All characters are on the same baseline.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230331
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
https://unix.stackexchange.com/questions/611764/bad-rendering-of-graphics-in-okular-at-higher-zoom-levels
which links to
https://github.com/giddie/poppler-cairo-backend
which links to 
https://bugs.freedesktop.org/show_bug.cgi?id=25240
which links to
https://gitlab.freedesktop.org/poppler/poppler/-/issues/435
which links to
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/546
Comment 1 Alexander Wilms 2023-04-03 09:02:07 UTC
Created attachment 157813 [details]
Rendering artifacts in Okular at 150% zoom