![]() Registered Member ![]()
|
I think Okular should use Gwenview/Umbrello zoom widget
![]() http://imageshack.us/a/img5/2065/blender154.png It already has a statusbar for the page selection. Why not adding the zoom slider and 100%/Fit width/Fit best buttons there?
Elv13, proud KDE user since KDE 2.2.
|
![]() Registered Member ![]()
|
The "fit height" or "fit width" cases may zoom very deeply into the document which may consume system resources and render the document's content in gigantic letters. |
![]() Moderator ![]()
|
Why would fit width zoom very deeply? |
![]() Registered Member ![]()
|
The auto/best fit feature is just one more option in the drop-down list where you already find "Fit Width" and "Fit Page". If you don't need it, just ignore it ![]() |
![]() Registered Member ![]()
|
That would be a nice feature, indeed. The current code only inspects the page size without looking into its content. It is not restricted to PDF, but should work with other document types supported by Okular (not tested though). |
![]() Registered Member ![]()
|
As there is already a "Fit Width", "Fit Page", and hopefully soon an "Auto Fit", coding a "Fit Height" makes a perfect Junior Job. Volunteers? ![]() |
![]() Registered Member ![]()
|
This is an idea worth thinking about. As it is outside of the scope of the best/auto fit patch, please write a bug report for this or, even better, submit a patch on your own? |
![]() Moderator ![]()
|
What's the use case for "Fit Height"? |
![]() Registered Member ![]()
|
Based on the comments so far, I updated the patch in two aspects:
First, the feature has been renamed to "Auto Fit", which is supported by most of the comments. Second, I tried to add it to one of the default zoom options in the settings dialog. Although "Auto Fit" turns up in the settings dialog, choosing it does not activate it when restarting Okular. I don't know (yet) what's wrong, so suggestions are welcome (please reply directly in Reviewboard). |
![]() Registered Member ![]()
|
My patch, after some more minor revisions, got accepted into Okular
![]()
http://commits.kde.org/okular/e4aa8317b ... ff7dc0a290 |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]