From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: display-mm-width return value off on Windows Date: Fri, 07 Jul 2006 14:05:23 +0200 Message-ID: <44AE4E03.7080009@student.lu.se> References: 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 1152274060 328 80.91.229.2 (7 Jul 2006 12:07:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 12:07:40 +0000 (UTC) Cc: Ralf Angeli , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 14:07:35 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 1Fyp7N-0006Tc-He for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 14:07:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fyp7N-00041O-2V for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 08:07:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fyp5O-0002H7-8u for emacs-devel@gnu.org; Fri, 07 Jul 2006 08:05:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fyp5L-0002EA-5q for emacs-devel@gnu.org; Fri, 07 Jul 2006 08:05:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fyp5K-0002DQ-Ic for emacs-devel@gnu.org; Fri, 07 Jul 2006 08:05:26 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fyp5i-0007uC-Sd; Fri, 07 Jul 2006 08:05:51 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.075) id 44A1364D00240258; Fri, 7 Jul 2006 14:05:24 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Eli Zaretskii In-Reply-To: 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:56714 Archived-At: Eli Zaretskii wrote: >> From: Ralf Angeli >> Date: Fri, 07 Jul 2006 07:56:31 +0200 >> >> * Eli Zaretskii (2006-07-06) writes: >> >> >>>> From: Ralf Angeli >>>> >>>> display-mm-* display-mm-* >>>> Real size without patch with patch >>>> Width 330mm 320 305 >>>> Height 207mm 240 203 >>>> >>> That is still not a very good approximation, is it? >>> >> The values are more accurate than before. >> > > Not enough, if you ask me. > > Do you have some unusual settings for the display, or maybe an unusual > display configuration (like more than a single monitor)? Maybe that > is the reason why you get skewed numbers; as you see from my other > mail, on my system I get very good results with the current code. > I did some googling. I believe the answer here is interesting: http://groups.google.com/groups/search?q=getdevicecaps+%22inches%2C+milimeters%22 James (who seems to be from MS) says that the device driver may return faulty results. So why not stay with the simple supported way (ie HORZSIZE etc)?