(2016-11-20, 13:52)Merlijn Wissink Wrote: I'm using Adobe Acrobat DC Pro, but I'm pretty sure you can also edit pdf files in X Pro.
When you open the file in Adobe, then start editing the pdf. Try to 'select' the background. You'll see you suddenly have selected a giant white square with the size of the page. Then delete the square and you'll see there's nothing left.
Still, it would be nice if you could stop producing these rectangles if the background is pure white (#ffffff), since they don't seem to be necessary (when I delete them, the background is still white)
Ok, I found your "squares" - they're actually Acrobat's image XObjects which are generated by the pdf print engine during construction of the pdf page. I don't know if there's anything I can do in my code to change this behaviour. I imagine, one would have to subclass the Qt print engine to manipulate this level of object. Sorry
Cheers,