From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: How can I determine what the default font it?
Date: Fri, 27 Feb 2004 13:23:49 +0100 [thread overview]
Message-ID: <878yiozp62.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: 87ekshjqq9.fld@barrow.com
floyd@barrow.com (Floyd L. Davidson) writes:
> jasonr (Jason Rumney) @ f2s.com wrote:
>>floyd@barrow.com (Floyd L. Davidson) writes:
>>
>>Then set your dpi correctly, so X can compensate. Since 21.1, Emacs
>>default fonts are specified in point sizes rather than pixel sizes.
>
> Can you be less cryptic?
Different monitors/displays show a pixel in different sizes. Pixel
size is usually measured in pixels per inch, or dots per inch, aka
DPI.
The X server has a configuration option (in /etc/X11/XF86Config, I
believe) where you can tell it about the dpi of your monitor/display.
Emacs used to specify font sizes in pixel, so regardless of what dpi
you specified in X11, the standard font was N pixels tall.
But now, Emacs specifies font sizes in point (1/72th of an inch), so
the number of pixels of the default font size depends on the dpi
setting. Let's say you specify a 12pt font, then that's 1/6 inches.
If you have 6 dpi, then Emacs will choose 1 pixel to display it. If
you have 60 dpi, then Emacs will choose 10 pixels to display it.
This method works for many applications.
Kai
next prev parent reply other threads:[~2004-02-27 12:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.530.1077761317.340.help-gnu-emacs@gnu.org>
2004-02-26 4:45 ` How can I determine what the default font it? V. L. Simpson
2004-02-28 0:42 ` exits funnel
2004-02-26 11:25 ` Floyd L. Davidson
2004-02-27 0:16 ` Jason Rumney
2004-02-27 0:44 ` Floyd L. Davidson
2004-02-27 12:23 ` Kai Grossjohann [this message]
2004-02-27 15:54 ` Floyd L. Davidson
2004-02-29 16:58 ` Kai Grossjohann
2004-02-29 19:58 ` Floyd L. Davidson
2004-02-29 21:54 ` Jason Rumney
[not found] <mailman.718.1077929760.340.help-gnu-emacs@gnu.org>
2004-02-28 8:13 ` Robert Marshall
2004-02-28 14:27 ` V. L. Simpson
2004-03-01 19:03 ` Kevin Rodgers
2004-02-26 2:06 exits funnel
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878yiozp62.fsf@emptyhost.emptydomain.de \
--to=kai@emptydomain.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).