From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: display-mm-width return value off on Windows Date: Mon, 21 Aug 2006 13:55:34 +0200 Message-ID: <85mz9y8frd.fsf@lola.goethe.zz> References: <44E73CD6.80207@gnu.org> <874pw86284.fsf@neutrino.caeruleus.net> <44E79204.9030505@gnu.org> <87y7tj4y5l.fsf@neutrino.caeruleus.net> <44E97A1D.4030808@student.lu.se> <85veom8jfz.fsf@lola.goethe.zz> <44E99CCB.9050407@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156161370 15147 80.91.229.2 (21 Aug 2006 11:56:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2006 11:56:10 +0000 (UTC) Cc: angeli@caeruleus.net, Lennart Borgman , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 21 13:56:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GF8Nu-0008DW-QR for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 13:56:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF8Nu-0005Rg-7z for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 07:56:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GF8Nj-0005Ra-1Y for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:55:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GF8Ni-0005RM-Dx for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:55:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF8Ni-0005RJ-8n for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:55:50 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GF8V5-00042x-FF for emacs-devel@gnu.org; Mon, 21 Aug 2006 08:03:27 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GF8Nh-0004SN-7h; Mon, 21 Aug 2006 07:55:49 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 7E2741C4D3AD; Mon, 21 Aug 2006 13:55:34 +0200 (CEST) Original-To: Jason Rumney In-Reply-To: <44E99CCB.9050407@gnu.org> (Jason Rumney's message of "Mon, 21 Aug 2006 12:45:15 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58632 Archived-At: Jason Rumney writes: > David Kastrup wrote: >> But the display geometries are our only pointer to getting the >> point/pixel relation coherent for fonts, so when in doubt, we should >> rather err in the same manner Windows selects its fonts rather than >> get it correct in opposition to all other applications and in >> particular the font selection. >> > How about calculating the font size yourself in the same way you > calculate image size, and specifying that in pixels to be consistent > with the images you are generating? It is not the business of an application like AUCTeX to mess with the font selection of the user. > That seems to me to be the only way to get consistency, since the > screen geometry is not used by the OS in to calculate font sizes > (even on X AFAICT). We had no problems on X so far IIRC. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum