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: display-mm-height for MacOS? Date: 22 Mar 2004 13:08:11 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079958524 9669 80.91.224.253 (22 Mar 2004 12:28:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 12:28:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 13:28:36 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 1B5OXk-0003fS-00 for ; Mon, 22 Mar 2004 13:28:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5OXk-0007fT-00 for ; Mon, 22 Mar 2004 13:28:36 +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 1B5OMC-0006jv-2g for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 07:16:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5OFt-00069V-U3 for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:10:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5OEw-0005pB-R6 for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:09:41 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5OE9-0005cn-4b for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:08:21 -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 1B5O9r-0000lJ-2W for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:03:55 -0500 Original-To: emacs-devel@gnu.org Original-Lines: 19 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:20727 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20727 People are trying out preview-latex, and it would appear that the size calculations fail utterly. preview-latex creates bitmaps to fit in well with the screen. It uses display-mm-height and display-pixel-height for calculating the resolution of the screen, and then takes the point size of the default font to make a guess how large the font is in reality. This then gets transformed into pixels, and the resulting images should match up fine. Or so is the theory, and the way stuff works under X. On MacOS, it would appear that this results in awfully large images, so one of the three above stated dimensions would seem to be quite wrong. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum