Since many years poppler use splash backend to render pdf files for qt applications. This backend isn't developed anymore for many years. Thus big pdf files looks in okular like a shit. Especially, when there is necessity of zooming in/out. Because many years ago developer of poppler rejected to change his software to support cairo backend on qt applications, it is necessary to patch it to use right backend. The results are amazing. Some distribution use a patch for poppler to change backend for qt. Reproducible: Always Steps to Reproduce: 1.open huge pdf file in okular. 2.Zoom in displayed file. 3.See what happen on screen while zooming in/out Actual Results: While zooming in on screen appear garbage, and several seconds later, the contents of the screen will be updated. Expected Results: Smooth zoom in of the screen contents of displayed pdf file, without any garbage artifacts on the screen. This is especially important, when one make a presentation for customers. https://github.com/giddie/poppler-cairo-backend
Created attachment 880027 [details, diff] Patch 1
Created attachment 880028 [details, diff] Patch 2
Created attachment 880029 [details, diff] Patch 3
Right now all above patches apply clearly. I had to modify some of them to get applied on last stable poppler version. It works fine.
It looks like once upon a time, we might have had them (bug 568000). I sympathise quite a bit with the request here, to the extent that I think we should consider it with a (perhaps masked) USE flag, with no guarantee of us keeping it indefinitely and I do not promise to check if they apply on bumps myself. I will see what asturm and others say. Anyway, we had this once upon a time, but it got dropped in: commit 533ccd1da3f2c570a4b98f37d4b57741f284cbdf Author: Lars Wendler <polynomial-c@gentoo.org> Date: Fri Feb 17 14:00:38 2017 +0100 app-text/poppler: Bump to version 0.52.0 Removed cairo-qt support as the patches don't apply anymore. Package-Manager: Portage-2.3.3, Repoman-2.3.1
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/546#note_1782554 in particular is compelling.