[Okular-devel] [Bug 148527] I want more zoom with okular

2010-03-29 Thread Jason Palmer
https://bugs.kde.org/show_bug.cgi?id=148527


Jason Palmer jalanpal...@gmail.com changed:

   What|Removed |Added

 CC||jalanpal...@gmail.com




--- Comment #6 from Jason Palmer jalanpalmer gmail com  2010-03-29 16:19:25 
---
Disclaimer: I've never touched kde code before now. I just starting poking
around to try to get a handle on the reasons for this bug.

Comment 5 seems to have the right idea: when we zoom in, okular requests a
pixmap of the whole page at that zoom level (and the previous and next pages
too, I think). See
http://websvn.kde.org/trunk/KDE/kdegraphics/okular/ui/pageview.cpp?revision=1107507view=markup
line #3133 for that.

If the requested pixmap would have more than 20,000,000 pixels, the request
just gets dropped. See
http://websvn.kde.org/trunk/KDE/kdegraphics/okular/core/document.cpp?revision=1105306view=markup
line #842 for that.

I modified a few files to get zoom to 1600% here. I changed 20 million to 150
million. God it's slow, but it's BIG :) I'll attach my patch, which is against
kdegraphics 4.3.5. Sorry, I didn't take the time to make this apply to trunk,
but I don't have all the tools needed to work like that set up. (I'm just
relying on gentoo's package manager to do my patching and build for me.)

This patch is probably not very useful in practice, but you are welcome to bog
down your system with it!

I hope someone fixes okular to only request pixmaps for the visible region
instead of the whole page.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 148527] I want more zoom with okular

2010-03-29 Thread Jason Palmer
https://bugs.kde.org/show_bug.cgi?id=148527





--- Comment #7 from Jason Palmer jalanpalmer gmail com  2010-03-29 16:22:18 
---
Created an attachment (id=42350)
 -- (http://bugs.kde.org/attachment.cgi?id=42350)
patch to zoom to 1600%

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel