[Okular-devel] [Bug 161599] New: Remove excessive whitespace when vewing

kde2eran at tromer.org kde2eran at tromer.org
Sun May 4 12:35:03 CEST 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Remove excessive whitespace when vewing
           Product: okular
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: okular-devel kde org
        ReportedBy: kde2eran tromer org

Version:           SVN (using KDE 3.5.9)
Installed from:    RedHat RPMs

Many PDF files have wide margins that, while suitable for printing on paper, are very wasteful of screen resources. This problem is especially grave with some academic publications that use enormous margins in their standard stylesheets.

Implications include:
* In Fit to Page zoom, wide vertical margins cause the real content of the page to be unnecessarily small (and at other zoom levels page flipping is messy)
* In Continous mode, wide vertical margins necessitate a lot of scrolling between pages, and you can see less content simultaneously at page borders
* In Two Pages mode, wide horizontal margins cause the real content to be unnecessarily small (often making this important mode useless)

It would be great if Okular had an option to automatically detect margins and to subtract them from the image, prior to calculation of zoom level and rendering. To cover the overwhelming majority of cases, it would suffice to just have a simple heuristic which identifies the maximal white strip at each of the 4 edges of the paper.

Related bugs:
- Bug 115557 for the same feature in KPDF.
- Bug 136695 for stripping whitespace when printing, as opposed to viewing.

More information about the Okular-devel mailing list