From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: giacomo boffi Newsgroups: gmane.emacs.help Subject: Re: Semi-OT: font advice Date: Mon, 26 Apr 2004 11:18:22 +0200 Organization: One Step Beyond Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082971967 26421 80.91.224.253 (26 Apr 2004 09:32:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2004 09:32:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 26 11:32:39 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 1BI2Te-000564-00 for ; Mon, 26 Apr 2004 11:32:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BI2T3-0003OV-OV for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Apr 2004 05:32:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.cilea.it!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 64 Original-NNTP-Posting-Host: boffi95.stru.polimi.it Original-X-Trace: newsserver.cilea.it 1082971118 15082 131.175.189.141 (26 Apr 2004 09:18:38 GMT) Original-X-Complaints-To: news@cilea.it Original-NNTP-Posting-Date: 26 Apr 2004 09:18:38 GMT User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, linux) Cancel-Lock: sha1:N3MBFgRZqteoWnsmt8umhf1TYXg= Original-Xref: shelby.stanford.edu gnu.emacs.help:122715 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:18002 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18002 jester@panix.com (Jesse Sheidlower) writes: > In article , > giacomo boffi wrote: >>jester@panix.com (Jesse Sheidlower) writes: >> >>> I recently got a new computer, and the monitor's resolution at >>> 1400 x 1050 is such that the default font, which seems to be >>> "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1", >> ----**-**---- >>> is too small to comfortably read. >> >>look above the *'s: >>that font is intended for use with a monitor that does ~75dpi >> >>your monitor is likely to work something in the 110-120dpi range, > > Thanks. While this might might? thank you for the confidence you place in my words... > be true for a normal monitor at 1400 x 1050, I'm using a laptop with > a 15" screen, so according to xdpyinfo, it is displaying at > 75dpi. oh no Jesse! it's your X server that's lying to you, not your faithful! let's do a bit of math... monitors have an aspect ratio of 4:3, ok? the hypotenuses is then in ratio of 5:4:3 to the other dimensions, so that the diagonal of your screen, the base and the height are, to be in the same ratios, 15":12":9". lets'do: (insert (format "1400(dots)/12\" = %ddpi." (/ 1400 12))) 1400(dots)/12" = 116dpi. try again: (insert (format "1050(dots)/9\" = %ddpi." (/ 1050 9))) 1050(dots)/9" = 116dpi. in CRT monitors the diagonal length is nominal, so you have to increase the dpi count by a 3-5%, but your monitor is a LCD, do all that i can say, as don't know about LCD's, is that, _at least_, you have a resolution of 116dpi, i.e., you see fonts that are (insert (format "%d%% " (/7500. 116.))) 64% of the height you expected > So the 100dpi fonts aren't necessarily right given this setup. trust me: it's your X server that's lying... ciao gb ps: the X server is not lying to you only (not a problem, as you demonstrated, at least to me, that you're a skeptical) it's lying to all of your apps, and what's worse, it's lying to the font server -- BLOWN UP BY FIVE CRASHING WEB BROWSERS. EXPLODING. U-795.