Received: (at submit) by bugs.debian.org; 22 Aug 2000 17:46:45 +0000 From rjs@isil.lloke.dna.fi Tue Aug 22 12:46:45 2000 Return-path: Received: from dna.fi [::ffff:62.236.152.249] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 13RI8L-0003Y8-00; Tue, 22 Aug 2000 12:46:45 -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 UAA13717 for ; Tue, 22 Aug 2000 20:46:42 +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 13RI7i-0005W9-00; Tue, 22 Aug 2000 20:46:06 +0300 Received: from rjs by anar.lloke.dna.fi with local (Exim 3.12 #1 (Debian)) id 13RI7K-0000JY-00 for ; Tue, 22 Aug 2000 20:45:42 +0300 To: submit@bugs.debian.org Subject: xfig: zoom factor doesn't respect physical display size From: rjs@isil.lloke.dna.fi (Riku Saikkonen) Date: 22 Aug 2000 20:45:40 +0300 Message-ID: <87aee5xk8r.fsf@anar.lloke.dna.fi> Lines: 38 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: xfig Version: 3.2.3.a-6 Severity: wishlist Xfig's display zoom factors (set by the Zoom button, 1:1.00 by default) don't seem to respect the actual physical display size that can be got from the X server (xdpyinfo displays it and the X server command-line option -dpi can be used to control it). It would be nice if the 1:1 zoom factor would actually be 1:1 when the display size is configured to the X server. For my particular monitor, the scale in an 1:1 canvas is somewhat smaller than in reality, and the X server's -dpi setting doesn't seem to affect it. This should be easy to implement, just scale the zoom factors by an amount derived from the physical display size. There may be problems related to scaling of fonts, line widths and such, so it may be that this shouldn't be a thing to do by default: it might be better that a line with a width of 3 would be 3 pixels wide instead of something derived from what it would look when printed on paper. Thus, Xfig should perhaps display two zoom factors: one that would correspond to what the current zoom factor does, and another that would use the physical display size. The user interface should make it easy to set 1:1 zooming using either of those factors. (1:1 the current way probably looks nicer on screen, but an "actual 1:1 zoom" would be good for comparing dimensions on the screen with physical dimensions.) (For an example of an application that does respect the physical screen size, there is gv, the frontend to GhostScript. gv's zoom factor looks correct when I set a -dpi that I calculated from my physical screen size.) -- -=- Rjs -=- rjs@lloke.dna.fi