Open hansscholze opened 9 years ago
Thanks; really useful info. I'll see if I can find a way to detect whether the call is for printing or not.
Ah, so this is why the thumbnails look so different.
I'd really appreciate a patch for this, if someone has time to experiment.
Hi, I have been using your AUR package of these patches (version 0.32.0-1) with Okular and noticed that raster graphics look worse than they do with Splash. (For example in scanned documents such as this.)
The problem appears to be:
Adding a call output_dev->setPrinting(gFalse) to your patch works around the problem. I see that in the GLib API there are two different calls (poppler_page_render and poppler_page_render_for_printing_with_options) and the printing flag is set appropriately depending on which was called. No idea if/where similar information might be available in the Qt4 API.