(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 received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colour is changed To manage notifications about this bug go to: https://bugs.launchpad.net/kdegraphics/+bug/635026/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs