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

Daniel <naq...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |naq...@gmail.com

--- Comment #4 from Daniel <naq...@gmail.com> ---
This is a very interesting and highly desired feature for me (personal issues
reading from a big screen).

I've found out that Zathura performs recoloring w/o affecting images. It does
so by retrieving the list of images of the page with the corresponding
coordinates and then skipping those during the recolor. 

Okular's recoloring is happening in
https://github.com/KDE/okular/blob/master/gui/pagepainter.cpp#L689 but that
function has no access to the PDF details as they're hidden behind the abstract
interface of the Generator which does not provide any details.

Unfortunately, my try to add bool Generator::mediaBoxes(QList<QRect>& boxes)
const and pass those boxes to recolor has failed around trying to get the
Generator for the page :( I didn't even get to transforming the boxes according
to the page.

Anyway, both hands for that feature.

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

Reply via email to