From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; latest CVS builds but fails on fonts Date: Wed, 14 May 2008 20:18:15 +0900 Message-ID: References: <4681-Wed14May2008074414+0100-jpff@codemist.co.uk> <1ce6f52f0805140148q1c7ce27xec211f7de5c83097@mail.gmail.com> <1ce6f52f0805140353r5608c196wa8c8c28093767e04@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1210763929 27381 80.91.229.12 (14 May 2008 11:18:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 11:18:49 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "=?UTF-8?Q?St=C3=B6ckert_Andr=C3=A1s?=" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 13:19:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwF11-0000N7-Kk for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 13:19:23 +0200 Original-Received: from localhost ([127.0.0.1]:42976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwF0I-0006Xz-5D for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 07:18:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwF0C-0006Vx-TU for emacs-devel@gnu.org; Wed, 14 May 2008 07:18:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwF0A-0006Uk-Io for emacs-devel@gnu.org; Wed, 14 May 2008 07:18:31 -0400 Original-Received: from [199.232.76.173] (port=48297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwF0A-0006Uh-B3 for emacs-devel@gnu.org; Wed, 14 May 2008 07:18:30 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35535) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwF0A-0001EV-2c for emacs-devel@gnu.org; Wed, 14 May 2008 07:18:30 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:41551 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JwEzC-0004gc-5J for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:17:30 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JwF05-0001Dr-50 for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:18:29 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:35771) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwF04-0001DK-FJ for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:18:25 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m4EBIKKk024284; Wed, 14 May 2008 20:18:20 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m4EBIKZU023328; Wed, 14 May 2008 20:18:20 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m4EBIFf3002245; Wed, 14 May 2008 20:18:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JwEzv-0007XY-3z; Wed, 14 May 2008 20:18:15 +0900 In-reply-to: <1ce6f52f0805140353r5608c196wa8c8c28093767e04@mail.gmail.com> (stockertandras@gmail.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97131 gmane.emacs.pretest.bugs:22313 Archived-At: In article <1ce6f52f0805140353r5608c196wa8c8c28093767e04@mail.gmail.com>, "=?UTF-8?Q?St=C3=B6ckert_Andr=C3=A1s?=" writes: > Its using -adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1 > for the *GNU emacs* buffer, > -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 for a buffer > showing a shell script, and also for a Latex buffer. > I haven't specified a font for Emacs, I'm using the defaults. When you specified no font for Emacs (no "-fn" argument nor X resource), Emacs uses one of the followings: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1 -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1 -*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1 -*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1 -*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1 fixed In my case, the first matches with this font: -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1 and Emacs surely uses that font. I have no idea why Emacs uses -adove-helvetica-... Please start Emacs under gdb as this (in src/emacs directory): % gdb emacs (gdb) br x_default_font_parameter (gdb) run -q And, when the execution stops at x_default_font_parameter, step programs by "n" command, and check the return value of font_open_by_name by the command "pp font". --- Kenichi Handa handa@ni.aist.go.jp