From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ross@rosslaird.info (Ross A. Laird) Newsgroups: gmane.emacs.help Subject: Display font strangeness in emacs-snapshot Date: Mon, 22 Sep 2008 09:16:32 -0700 Message-ID: <878wtkdulb.fsf@rosslaird.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222100752 5457 80.91.229.12 (22 Sep 2008 16:25:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 16:25:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 22 18:26:49 2008 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 1KhoFL-00062g-26 for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Sep 2008 18:26:47 +0200 Original-Received: from localhost ([127.0.0.1]:35422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhoEJ-00032c-6j for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Sep 2008 12:25:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kho5k-0004LN-9P for help-gnu-emacs@gnu.org; Mon, 22 Sep 2008 12:16:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kho5j-0004KT-Bw for help-gnu-emacs@gnu.org; Mon, 22 Sep 2008 12:16:51 -0400 Original-Received: from [199.232.76.173] (port=41464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kho5j-0004K8-3r for help-gnu-emacs@gnu.org; Mon, 22 Sep 2008 12:16:51 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:47333 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kho5i-00024X-6D for help-gnu-emacs@gnu.org; Mon, 22 Sep 2008 12:16:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kho5c-0002r7-8w for help-gnu-emacs@gnu.org; Mon, 22 Sep 2008 16:16:44 +0000 Original-Received: from xll2100-r5.kwantlen.ca ([142.33.71.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2008 16:16:44 +0000 Original-Received: from ross by xll2100-r5.kwantlen.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2008 16:16:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: xll2100-r5.kwantlen.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:nyRFtjZs7VITjZhfa2K3qCyl/vg= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:57903 Archived-At: 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" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "1" Option "TwinViewXineramaInfoOrder" "DFP-0" Option "metamodes" "CRT: 1600x1024 +0+0, DFP: 1920x1200 +0+0; 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 (>= emacs-major-version 23) (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