From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: display-mm-width return value off on Windows Date: Mon, 21 Aug 2006 12:45:15 +0100 Message-ID: <44E99CCB.9050407@gnu.org> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156160770 13186 80.91.229.2 (21 Aug 2006 11:46:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2006 11:46: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:46:07 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 1GF8EH-0005vs-Cj for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 13:46:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF8EG-00014S-TX for ged-emacs-devel@m.gmane.org; Mon, 21 Aug 2006 07:46:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GF8E2-00012F-OA for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:45:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GF8E0-00011i-Dx for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:45:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GF8E0-00011f-A8 for emacs-devel@gnu.org; Mon, 21 Aug 2006 07:45:48 -0400 Original-Received: from [213.86.207.50] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GF8LK-0000gE-Vq; Mon, 21 Aug 2006 07:53:23 -0400 Original-Received: from [192.168.111.61] (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NMA8FLV6; Mon, 21 Aug 2006 12:36:47 +0100 Original-Received: from 192.168.111.61 ([192.168.111.61] helo=[192.168.111.61]) by ASSP-nospam; 21 Aug 2006 12:36:46 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 Original-To: David Kastrup In-Reply-To: <85veom8jfz.fsf@lola.goethe.zz> 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:58629 Archived-At: 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? 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).