Bug 141574

Summary: Automatically detect and remove white page borders in DVI display
Product: [Unmaintained] kdvi Reporter: kde2eran
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: adaptee
Priority: NOR    
Version First Reported In: 1.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde2eran 2007-02-12 03:39:52 UTC
Version:           1.4 (using KDE KDE 3.5.5)
Installed from:    Fedora RPMs

Many DVI 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 level, wide vertical margins cause the real content of the page to be unnecessarily small (and at other zoom levels page flipping is messy)
* In "Continuous mode", wide vertical margins necessitate a lot of scrolling between pages, and you can see less content simultaneously at page borders
* In "Continuous - Facing" mode, wide horizontal margins cause the real content to be unnecessarily small (often making this important mode useless)

It would be great if KDVI had an option to automatically detect margins (i.e., compute the bounding box) and to subtract them from the image, prior to calculation of zoom level and rendering.

This is the KDVI analogue of KPDF bug 115557. Bug 107322 (keep position when flipping pages) is also related to this problem, but does not solve it completely.
Comment 1 Jekyll Wu 2013-09-28 13:42:51 UTC
kdvi is no longer maintained since KDE SC 4, and its functionality is replace by okular.  If the issue in this report still exists in or apply to okular in KDE SC 4.10.5 or higher, please reassign the report to okular product or create a new report against okular.