From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?UTF-8?Q?St=C3=B6ckert_Andr=C3=A1s?=" 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 13:39:15 +0200 Message-ID: <1ce6f52f0805140439v27b222caw6331757f8be8e09@mail.gmail.com> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210765187 31699 80.91.229.12 (14 May 2008 11:39:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 11:39:47 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Kenichi Handa" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 13:40:20 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 1JwFLB-00083e-B0 for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 13:40:13 +0200 Original-Received: from localhost ([127.0.0.1]:36131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwFKS-000555-9Z for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 07:39:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwFKN-00054z-7L for emacs-devel@gnu.org; Wed, 14 May 2008 07:39:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwFKK-00054n-Mr for emacs-devel@gnu.org; Wed, 14 May 2008 07:39:21 -0400 Original-Received: from [199.232.76.173] (port=38664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwFKK-00054k-Gs for emacs-devel@gnu.org; Wed, 14 May 2008 07:39:20 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35350) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwFKK-0004lF-6N for emacs-devel@gnu.org; Wed, 14 May 2008 07:39:20 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:42781 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JwFJM-0006Uc-6i for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:38:20 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JwFKH-0004kr-Eg for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:39:19 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.245]:40174) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwFKH-0004kh-2Y for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 07:39:17 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so4430619rvb.6 for ; Wed, 14 May 2008 04:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=2xT1mBoHYbdBTmwhUuY3uhxCErVsNS6vhnN36V1j9hY=; b=hgoiyhtf77KdDIvNP0fGjZ8+8/7ma6PSfHeWiziRdGQ3fW0bhHv+QNvVcIiWrJyEw6gCS/8sim0SZz0rcH727qoxtCAC/YWgxqv0n2iMw7ojv2Vs8ZW3UMjZASsJicqybOpfmRt5fTMmwo59ivfiFXF4y+hh4Y/3Akdu0M/3iC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pil/F0cgl/Md9vd7pJkGsblRhbd6+zeuLsdOgzZgOK9oZdaDqHdl1OzIgI/caH7dowb/EhvhSuZwkl4X7rcDLylEKNYRyXei+vu5Z0wPFs9qu1rKLUtCasb14T1hebeu5jXk5mOkuxx9ZMSTYaKszO22SjoY/v6S3mDd87xuUXM= Original-Received: by 10.141.63.20 with SMTP id q20mr414589rvk.291.1210765155957; Wed, 14 May 2008 04:39:15 -0700 (PDT) Original-Received: by 10.140.165.11 with HTTP; Wed, 14 May 2008 04:39:15 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:97133 gmane.emacs.pretest.bugs:22315 Archived-At: Here is the output of gdb (sorry I'm not used to gdb): (gdb) n 3083 font = font_open_by_name (f, names[i]); (gdb) pp font unbound (gdb) n 3085 break; (gdb) n Program received signal SIGTRAP, Trace/breakpoint trap. 0x081c8441 in font_open_by_name (f=0x868b000, name=0x81d6514 "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1") at font.c:2919 / end of gdb output This source was not updated from CVS after the morning update. I don't know the exact revision. Andrew On Wed, May 14, 2008 at 1:18 PM, Kenichi Handa wrote: > 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 >