[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-mm-height for MacOS?
From: |
David Kastrup |
Subject: |
Re: display-mm-height for MacOS? |
Date: |
22 Mar 2004 15:09:31 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hans-Peter Binder <address@hidden> writes:
> * David Kastrup <address@hidden> 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:
>
> <URL:http://www.appledomain.de/emacs/screenshots/emacs-2.jpg>
> <URL:http://www.appledomain.de/emacs/screenshots/emacs-3.jpg>
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