From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: display-mm-height for MacOS?
Date: 22 Mar 2004 15:09:31 +0100 [thread overview]
Message-ID: <x5wu5dynvo.fsf@lola.goethe.zz> (raw)
In-Reply-To: <m2y8ptyq2j.fsf@appledomain.de>
Hans-Peter Binder <macosx.pb@gmx.de> writes:
> * David Kastrup <dak@gnu.org> 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
next prev parent reply other threads:[~2004-03-22 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 12:08 display-mm-height for MacOS? David Kastrup
2004-03-22 13:22 ` Hans-Peter Binder
2004-03-22 14:09 ` David Kastrup [this message]
2004-03-23 9:13 ` Vincent LADEUIL
2004-03-23 0:51 ` YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x5wu5dynvo.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.