[poppler] setPaperColor() does not work

Albert Astals Cid aacid at kde.org
Thu Aug 24 17:55:31 UTC 2017


El dimecres, 23 d’agost de 2017, a les 19:53:52 CEST, Tom Roberts va escriure:
> I have a real use for changing the color of the paper, as my application
> does copy-and-paste from multiple PDF files and it would indicate the
> source. But setPaperColor() does not do anything. Attached is a simple
> program that demonstrates this (change filename to point to a valid .pdf
> file on your system).

It does work fine for me, try for example this file
https://bugs.freedesktop.org/attachment.cgi?id=133760

Note that this only change the paper color, if the PDF you have draws a big 
white rectangle on top of the paper, then you'll see that rectangle.

Cheers,
  Albert

> 
> Is there any way to fix this?
> 
> FYI This is Mac OS X El Capitan, with Qt 5.9.1 installed via HomeBrew, and
> poppler-0.57.0.
> 
> Tom Roberts




More information about the poppler mailing list