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; Still font problems Date: Thu, 15 May 2008 16:38:05 +0900 Message-ID: References: <8351-Wed14May2008175244+0100-jpff@codemist.co.uk> <1393-Thu15May2008080518+0100-jpff@codemist.co.uk> 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 1210838287 1514 80.91.229.12 (15 May 2008 07:58:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 07:58:07 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: jpff Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 15 09:58:43 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 1JwYML-0008S8-68 for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 09:58:41 +0200 Original-Received: from localhost ([127.0.0.1]:42697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwYLb-0003a7-Q1 for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 03:57:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwYLL-0003Tl-OJ for emacs-devel@gnu.org; Thu, 15 May 2008 03:57:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwYL5-0003Gm-Oh for emacs-devel@gnu.org; Thu, 15 May 2008 03:57:28 -0400 Original-Received: from [199.232.76.173] (port=50141 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwYL5-0003Gf-Fc for emacs-devel@gnu.org; Thu, 15 May 2008 03:57:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45701) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwYL5-0005gt-6n for emacs-devel@gnu.org; Thu, 15 May 2008 03:57:23 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:39537) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JwY2A-0004Jc-7W for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:37:50 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JwY36-0002UZ-Rt for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:38:52 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:34515) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwY36-0002UM-CL for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:38:48 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwY34-0006S5-Ez for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:38:47 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m4F7cGJT009178; Thu, 15 May 2008 16:38:16 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m4F7cGSR006742; Thu, 15 May 2008 16:38:16 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id m4F7c5ZA000899; Thu, 15 May 2008 16:38:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JwY2P-0002iA-Pz; Thu, 15 May 2008 16:38:05 +0900 In-reply-to: <1393-Thu15May2008080518+0100-jpff@codemist.co.uk> (message from jpff on Thu, 15 May 2008 08:05:18 +0100) 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 mx20.gnu.org: Solaris 8 (1) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:97189 gmane.emacs.pretest.bugs:22329 Archived-At: In article <1393-Thu15May2008080518+0100-jpff@codemist.co.uk>, jpff writes: > In part. After i fixed the typo in src/emacs-icon.h on line 21 it > compiles. I can run with the default (and very ugly) font, I don't understand why the default font is very ugly. Emacs by default tries these: -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 Do you mean that Emacs finds none of them? > but the mechanism I have been using for years to set a > better font fails. > emacs -lsp 2 -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" -geometry 84x45+64+10 > Font `-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1' is not defined > Using xlsfonts I see > -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 > -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1 > amongst others. For emacs 22 this command works, so something has > changed incompatibly When I start Emacs as you do, it starts without an error and uses this font: -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1 So, I don't understand why it doesn't work for you. Please rebuild Emacs and run Emacs under gdb as below: % cd .../emacs/src % rm xfont.o % make CFLAGS=-g % gdb emacs (gdb) br xfont_list (gdb) run -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" and when it stops at xfont_list, check the argument `spec' by (gdb) pr spec and step the code one line by one to find what is wrong. --- Kenichi Handa handa@ni.aist.go.jp