[Okular-devel] [okular] [Bug 186531] [JJ] Trim Margin doesn't work if paper color was set

cmertes at techfak.uni-bielefeld.de cmertes at techfak.uni-bielefeld.de
Sat Mar 22 02:30:37 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=186531

cmertes at techfak.uni-bielefeld.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmertes at techfak.uni-bielefe
                   |                            |ld.de

--- Comment #11 from cmertes at techfak.uni-bielefeld.de ---
(In reply to comment #9)
> inline static bool isPaperColor( QRgb argb ) {
>     return (argb & 0xFFFFFF) == (Settings::paperColor().rgb() & 0xFFFFFF);
> }

Would there be a similar possibility to use the actual page color of the PDF if
it isn't white? Because as it stands now, this only works for a non-white
background color when set in the settings, not when the document itself
features a different background color.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list