From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: Display font strangeness in emacs-snapshot Date: Wed, 24 Sep 2008 06:00:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7c6a8278-a94a-4a06-9ac0-7bfa96085821@n33g2000pri.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222263820 30242 80.91.229.12 (24 Sep 2008 13:43:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 13:43:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 15:44:33 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KiUfD-0007et-3C for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 15:44:19 +0200 Original-Received: from localhost ([127.0.0.1]:50253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiUeB-0003LU-4a for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 09:43:15 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n33g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1222261219 25435 127.0.0.1 (24 Sep 2008 13:00:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 24 Sep 2008 13:00:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000pri.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 EINSTEIN X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2) Gecko/2008091620 Firefox/3.0.2,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162660 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58002 Archived-At: On Sep 22, 9:16=A0pm, r...@rosslaird.info (Ross A. Laird) wrote: > After making some changes to my xorg.conf file (Ubuntu Hardy) to get an > external projector working, emacs-snapshot now seems to want to shrink > itself to a tiny window, with tiny fonts, upon startup. Here's what I > changed in xorg.conf: > > Section "Screen" > > =A0 =A0 Identifier =A0 =A0 "Screen0" > =A0 =A0 Device =A0 =A0 =A0 =A0 "Videocard0" > =A0 =A0 Monitor =A0 =A0 =A0 =A0"Monitor0" > =A0 =A0 DefaultDepth =A0 =A024 > =A0 =A0 Option =A0 =A0 =A0 =A0 "TwinView" "1" > =A0 =A0 Option =A0 =A0 =A0 =A0 "TwinViewXineramaInfoOrder" "DFP-0" > =A0 =A0 Option =A0 =A0 =A0 =A0 "metamodes" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"CRT: 1600x1024 +0+0, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 DFP: 1920x1200 +0+0; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 CRT: nvidia-auto-select +0+0, DFP= : nvidia-auto-select +0+0" > EndSection > > So, my main screen resolution is 1920x1200, and other applications pick > up the font sizes correctly; but emacs-snapshot (GNU Emacs 23.0.60.1 > (i486-pc-linux-gnu, GTK+ Version 2.12.9) gives me tiny little text > (about 4 points). The menus show the correct font size (but I assume > those are gtk). In .emacs I have this: > > ;fonts > (if (>=3D emacs-major-version 23) > =A0 (set-default-font "DejaVu Sans Mono-9")) > > I now have to scale the above all the way up to "DejaVu Sans Mono-15" to = get > a readable typeface. Now, I can do this, but it seems strange: why would > emacs refer to something as size 15 when that same type size is called 9 > by other applications? And besides, why did this change at all? Emacs > was correctly scaling and showing the fonts before I changed xorg.conf. > > Perhaps it's a matter of pixel size vs. point size. > > Hints and suggestions are welcome. > > Cheers. > > Ross > > -- > Ross A. Laird, PhD www.rosslaird.info Hardy X is screwed up in more than one way. Ive just finished a reinstall thanks only to that. And its been so for nearly two years! I tried raising it on the ubuntu forums and was told to shut up. http://ubuntuforums.org/showthread.php?t=3D773851&page=3D6.