[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

Lauri Lyly lauri.lyly at aalto.fi
Sun Sep 9 14:54:28 UTC 2012


I looked at the code and the reason for this is probably obvious (can't
be totally sure since I don't know in which order things are done here).

The imageBoundingBox function is checking whether the pixels to become
cropped from the margins are white. So, if you set your paper color to
something else, it's simply not going to crop them.

Instead of checking for whiteness, I presume it could check whether it's
the page color.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in 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




More information about the kubuntu-bugs mailing list