From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.bugs Subject: bug#709: font selection problem Date: Sun, 19 Oct 2008 04:45:41 +0200 (CEST) Message-ID: <20081019.044541.146331388.wl@gnu.org> References: <87d4hzouwt.fsf@cyd.mit.edu> <20081017.222738.06207097.wl@gnu.org> <87fxmtlxjr.fsf@cyd.mit.edu> Reply-To: Werner LEMBERG , 709@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224385813 32398 80.91.229.12 (19 Oct 2008 03:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2008 03:10:13 +0000 (UTC) Cc: 709@emacsbugs.donarmstrong.com To: cyd@stupidchicken.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 19 05:11:17 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-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 1KrOhI-00005O-7B for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 05:11:16 +0200 Original-Received: from localhost ([127.0.0.1]:53406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrOgD-0006gZ-4g for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2008 23:10:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrOg9-0006gK-Cd for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 23:10:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrOg6-0006g8-Vk for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 23:10:04 -0400 Original-Received: from [199.232.76.173] (port=54853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrOg6-0006g5-Qg for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 23:10:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39346) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrOg6-0002YU-7c for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 23:10:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9J3A0NS023555; Sat, 18 Oct 2008 20:10:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9J2t3hv019259; Sat, 18 Oct 2008 19:55:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Werner LEMBERG Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Oct 2008 02:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 709 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 709-submit@emacsbugs.donarmstrong.com id=B709.122438436317956 (code B ref 709); Sun, 19 Oct 2008 02:55:03 +0000 Original-Received: (at 709) by emacsbugs.donarmstrong.com; 19 Oct 2008 02:46:03 +0000 Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9J2jxc7017948 for <709@emacsbugs.donarmstrong.com>; Sat, 18 Oct 2008 19:46:01 -0700 Original-Received: from localhost (77.116.225.236.wireless.dyn.drei.com [77.116.225.236]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KrOId1aEd-0000dR; Sun, 19 Oct 2008 04:45:51 +0200 In-Reply-To: <87fxmtlxjr.fsf@cyd.mit.edu> X-Mailer: Mew version 5.2.53 on Emacs 23.0.50.2 / Mule 5.0 (SAKAKI) X-Provags-ID: V01U2FsdGVkX1+93tkiY+UR0ZFmE6Qpd7JMyy8Y4WJZMyg/KzD e1vfNMeWLZIbv8k2zFm/xNSI0H4QlVb6gs781e30xJAjtxuisW C7mVnNB6AxTSqL1Bt7Z1Q== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 18 Oct 2008 23:10:04 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21667 Archived-At: > If I understand you right, running emacs with `-fn monospace-12' > gives Andale Mono as the default font, and running emacs with no > font argument gives Shinonome Gothic as the default font? Is that > right? Yep. > This is strange, since xft should take precedence over x. What > happens if you add the following line to .Xresources and do `xrdb > .Xresources'? > > Emacs*FontBackend: xft, x I did that. Starting gdb --args emacs -Q gives now xft:-ETL-Fixed-normal-normal-normal-*-16-*-*-*-c-*-iso10646-1 (#x1C) for characters within the *scratch* buffer, and setting the default font now suggests Fixed - Standard - 9 and repeated calls don't change this font. Note, however, that there is a buglet: If I select size `14', Emacs gives xft:-ETL-Fixed-normal-normal-normal-*-24-*-*-*-c-*-iso10646-1 (#x1C) and displays this in the font preview of the selection window. On the other hand, if I select, say, `24', Emacs selects xft:-ETL-Fixed-normal-normal-normal-*-40-*-*-*-c-*-iso10646-1 (#x1C) in the *sratch* buffer, but this size isn't shown in the font preview: it displays the ETL-24 font too for this size. With other words, font preview doesn't apply correct scaling. BTW, what unit are the size values? Points? Pixels? This should be indicated in the font selection menu. It would be nice if the user could select that. > Also, which distribution are you running on? openSuSE 10.2 (with additional fonts installed by me); this is quite old, but never touch a running system :-) Werner