Received: (at submit) by bugs.debian.org; 22 Aug 2000 17:33:37 +0000 From rjs@isil.lloke.dna.fi Tue Aug 22 12:33:37 2000 Return-path: Received: from dna.fi [::ffff:62.236.152.249] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 13RHvc-0001Q7-00; Tue, 22 Aug 2000 12:33:36 -0500 Received: from isil.lloke.dna.fi (isil.lloke.dna.fi [62.236.152.125]) by dna.fi (8.9.1/8.9.1) with ESMTP id UAA13371 for ; Tue, 22 Aug 2000 20:33:33 +0300 (EEST) Received: from anar.lloke.dna.fi [62.236.152.126] by isil.lloke.dna.fi with esmtp (Exim 2.05 #1 (Debian)) id 13RHuz-0005W3-00; Tue, 22 Aug 2000 20:32:57 +0300 Received: from rjs by anar.lloke.dna.fi with local (Exim 3.12 #1 (Debian)) id 13RHua-0000IE-00 for ; Tue, 22 Aug 2000 20:32:32 +0300 To: submit@bugs.debian.org Subject: xdvi doesn't preview in "actual size" From: rjs@isil.lloke.dna.fi (Riku Saikkonen) Date: 22 Aug 2000 20:32:31 +0300 Message-ID: <87g0nxxkuo.fsf@anar.lloke.dna.fi> Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Delivered-To: submit@bugs.debian.org Package: tetex-bin Version: 1.0.6-7 Severity: wishlist xdvi doesn't seem to have an option to view the pages in "actual size". Such an option could query the display's physical size from the X server, and use that and the resolution to calculate the geometry of the page in pixels. (xdpyinfo displays the necessary information, and the X server's -dpi command-line option can be used to set it.) This would be a nice thing to have to preview documents as close as possible to the final printed output. For example, it would be easier to see if a particular figure is too big if xdvi's window would be the same size as an actual piece of paper. As an example, gv (the frontend to GhostScript) does seem to respect the physical display size by default; the -dpi setting has an effect on the initial window size, and the 1:1 scale looks correct on my monitor with a -dpi setting that I calculated for it. It would be nice if xdvi did something similar. (I suspect that xdvi displays DVI files in such a way that they can only be scaled in rather large discrete steps (at least the "s" command seems to work like that), so this feature may be difficult to implement.) -- -=- Rjs -=- rjs@lloke.dna.fi