GNOME Bugzilla – Bug 313831
Zoom based on bounding box
Last modified: 2005-08-18 18:36:53 UTC
Most reader applications have zoom functionality that allows operations such as fit to page width, fit to page size or full screen. Yet another zoom operation that I think is very useful is "zoom to bounding box". This zoom would show the text of a document at the largest zoom possible while showing all the text in a page. Other information: I have implemented zoom to bounding box externally for acroread. For pdf files, I use ghostscript to figure out the bounding box of the document. Since the bounding box varies across pages, I heuristically find the maximal bounding box until it does not change for 5-7 pages. Then based on the screen resolution and the bounding box, I calculate the geometry for acroread so that *only* the bounding box is visible on screen and then invoke acroread with this geometry. I can't do this with evince since it doesn't provide the geometry argument. Please add the X geometry argument to evince or if possible implement the "zoom to bounding box" since that is what I do manually otherwise while reading documents. Thanks!
Sounds similar to bug 169676
I agree that this bug is a duplicate of <a href="http://bugzilla.gnome.org/show_bug.cgi?id=169676">bug 169676</a>. If someone wants my (perl-based) implementation of bounding box detection as well as setting of geometry for acroread (it is tricky to get it right for portrait as well as landscape documents), feel free to send me mail.
Thanks for suggestion. If your implementation not so big, it may have sense just to attach it to bug 169676, I think it would be helpful. *** This bug has been marked as a duplicate of 169676 ***