From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: How can I determine what the default font it? Date: Fri, 27 Feb 2004 13:23:49 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yiozp62.fsf@emptyhost.emptydomain.de> References: <87ptc2w09r.fld@barrow.com> <87ekshjqq9.fld@barrow.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077885417 18632 80.91.224.253 (27 Feb 2004 12:36:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2004 12:36:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 13:36:54 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AwhET-0005EE-00 for ; Fri, 27 Feb 2004 13:36:53 +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 1AwhBG-0004hi-Eq for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2004 07:33:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1077884615 55811887 I 213.203.244.156 ([73968] 10430) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:6ktpCyZZbCVP8sJNIsOXQj41Vy0= Original-Xref: shelby.stanford.edu gnu.emacs.help:121309 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17265 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