Created attachment 133404 [details] [review] Patch that makes Arthur initialize the QImage The Arthur backend does not initialize the QImage it draws onto with the paper color, whereas the Qt documentation clearly states that QImages need to be initialized. This leads to valgrind errors, rendering artifacts, and the background color always being white no matter what the pdf file says. The attached simple patch fixes the issue.
Do you have a pdf at hand to prove this is needed?
Sure. What I did was: a) Patch Okular to use the Arthur backend b) Open the attached pdf file c) Change paper color (in settings --> accessibility) to something that is not white. d) Observe that the paper stays white.
Created attachment 133416 [details] Example file to trigger the bug
Pushed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.