From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: display-mm-height for MacOS? Date: 22 Mar 2004 15:09:31 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079965830 29877 80.91.224.253 (22 Mar 2004 14:30:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 14:30:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 15:30:23 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5QRb-0002yT-00 for ; Mon, 22 Mar 2004 15:30:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5QRa-0003GK-00 for ; Mon, 22 Mar 2004 15:30:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5QDP-0001P0-Iz for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 09:15:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5Q87-0008MA-J5 for emacs-devel@gnu.org; Mon, 22 Mar 2004 09:10:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5Q7a-0008CZ-GK for emacs-devel@gnu.org; Mon, 22 Mar 2004 09:10:13 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Q7a-0008CO-0G for emacs-devel@gnu.org; Mon, 22 Mar 2004 09:09:42 -0500 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1B5Q3H-0004li-74; Mon, 22 Mar 2004 09:05:15 -0500 Original-To: Hans-Peter Binder In-Reply-To: Original-Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20729 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20729 Hans-Peter Binder writes: > * David Kastrup writes: > > People are trying out preview-latex, and it would appear that the > > size calculations fail utterly. > > Just for your information, here are some screenshots of the problem: > > > And an update for developers: try C-x C-e behind the following expressions: (display-mm-height) ;; 203 on my 13.3" display (display-pixel-height) ;; 768 here (face-attribute 'default :height) ;; 150 here Note that the face attribute is specified in tenths of PostScript points. I use this data to calculate the pixel height of graphics supposed to fit the size of the default font. What output do you Carbonized hackers get? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum