[Okular-devel] Advise needed to fix bug 323434/323435

Tingnan Zhang tingnan.zhang at gmail.com
Sat Nov 23 06:26:34 UTC 2013


Hi everyone:

I am trying to fix the bug and the review board link is here.

https://git.reviewboard.kde.org/r/112370

Now as I am trying to reproduce the behavior of Adobe Reader, I need to
calculate the zoom value in FitPage/FitWidth mode

In the current code, the exact zoom factor in those modes is only
calculated when the function

slotRelayoutPages()

is called, which as the name suggests, will also update the page view.


My idea is to separate the code that calculates the zoom ratio to a new
function which can be called at other places.

Any ideas?

Tingnan Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20131123/873bf4f1/attachment.html>


More information about the Okular-devel mailing list