https://bugs.kde.org/show_bug.cgi?id=249364
Summary: PATCH: Fit best (best-fit) zoom Product: okular Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: general AssignedTo: okular-devel@kde.org ReportedBy: fisc...@unix-ag.uni-kl.de Created an attachment (id=51069) --> (http://bugs.kde.org/attachment.cgi?id=51069) Best-fit zoom option, mostly diff against kdegraphics/okular/ui/pageview.cpp Version: unspecified (using Devel) OS: Linux I have written a small patch for Okular's ui/pageview.cpp which adds "Fit Best" as one of the zooming options. This new zoom option compares the current page's aspect ratio with the window's aspect ratio and switches effectively between fit-width, fit-height, and fit-page. The code reuses partially the (no longer) not used "Fit Text" code, adds some new lines, and enhances the infinite resizing loop patch to cover the new zoom option, too. Reproducible: Always -- 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