From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#3228: 23.0.93; GTK font selection: asked for Courier, got Nimbus Date: Fri, 08 May 2009 10:49:50 +0900 Message-ID: References: <87eiv23bz6.fsf@turtle.gmx.de> <87prelidmt.fsf@turtle.gmx.de> <87bpq4932u.fsf@turtle.gmx.de> Reply-To: Kenichi Handa , 3228@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1241748759 22269 80.91.229.12 (8 May 2009 02:12:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 May 2009 02:12:39 +0000 (UTC) Cc: 3228@emacsbugs.donarmstrong.com To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 08 04:12:28 2009 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 1M2FZZ-0002wV-L5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 May 2009 04:12:25 +0200 Original-Received: from localhost ([127.0.0.1]:50908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2FZY-0004Np-VX for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2009 22:12:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2FZU-0004M4-MV for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 22:12:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2FZP-0004Fy-Ty for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 22:12:19 -0400 Original-Received: from [199.232.76.173] (port=50176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2FZP-0004Fo-Nb for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 22:12:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51251) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M2FZP-0008M1-Ae for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 22:12:15 -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 n482BrfC025747; Thu, 7 May 2009 19:11:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n481t6rK019922; Thu, 7 May 2009 18:55:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 08 May 2009 01:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3228 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3228-submit@emacsbugs.donarmstrong.com id=B3228.124174738818358 (code B ref 3228); Fri, 08 May 2009 01:55:06 +0000 Original-Received: (at 3228) by emacsbugs.donarmstrong.com; 8 May 2009 01:49:48 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n481ndKi018343 for <3228@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 18:49:41 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n481nc1B029383; Fri, 8 May 2009 10:49:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n481ncpv015179; Fri, 8 May 2009 10:49:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id n481ncv0001045; Fri, 8 May 2009 10:49:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1M2FDi-0007Ol-Gm; Fri, 08 May 2009 10:49:50 +0900 In-reply-to: <87bpq4932u.fsf@turtle.gmx.de> (message from Sven Joachim on Thu, 07 May 2009 20:32:09 +0200) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 07 May 2009 22:12:19 -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:27772 Archived-At: In article <87bpq4932u.fsf@turtle.gmx.de>, Sven Joachim writes: > > Are you sure that you followed the above procedure exactly > > without doing anything else? > Yes. It is probably due to my X resource setting: > Emacs.font:-adobe-courier-medium-r-normal--*-120-*-*-m-*-iso10646-1 > Should I replace iso10646 with iso8859? No, it shouldn't matter. > > It seems that you have three kinds of courier fonts: > > X: -adobe-courier-* (bitmap fonts, same as below) > > Xft: -Adobe-courier-* (/usr/share/fonts/X11/*dpi/cour*.pcf.gz) > > X alias: -urw-nimbus mono l-* (Type1 scalable fonts) > Yes, /usr/share/fonts/X11/Type1/fonts.alias defines these aliases: > -adobe-courier-medium-r-normal--0-0-0-0-p-0-iso8859-1 "-urw-nimbus mono l-regular-r-normal--0-0-0-0-p-0-iso8859-1" Ok, I see. It seems that the problem here is this: o menu-set-font returns the font name "courier 12"; i.e no information about spacing, dpi o no bitmap courier font has the exact pixelsize for 12pt on your screen. o so Emacs selected a scalable font, that is the above "nimbus mono l" font. I think "% emacs -fn courier-12" will also select the "nimbus mono l" font in this environment. Please try: M-x set-default-font RET courier-12:spacing=m RET Doesn't it select a bitmap font, perhaps the same one as this startup font? xft:-Adobe-Courier-normal-normal-normal-*-17-*-*-*-m-100-iso10646-1 --- Kenichi Handa handa@m17n.org