From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: font-related hanging / general brokenness Date: Thu, 19 Jun 2008 15:44:40 +0900 Message-ID: References: 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 1213857921 6201 80.91.229.12 (19 Jun 2008 06:45:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2008 06:45:21 +0000 (UTC) Cc: monnier@cs.yale.edu, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 19 08:46:05 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 1K9DuH-0005Zx-1A for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2008 08:46:05 +0200 Original-Received: from localhost ([127.0.0.1]:51680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9DtS-0002sx-82 for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2008 02:45:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9DtN-0002rF-Fj for emacs-devel@gnu.org; Thu, 19 Jun 2008 02:45:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9DtM-0002qK-NO for emacs-devel@gnu.org; Thu, 19 Jun 2008 02:45:09 -0400 Original-Received: from [199.232.76.173] (port=39804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9DtM-0002qC-L0 for emacs-devel@gnu.org; Thu, 19 Jun 2008 02:45:08 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:53335) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9DtF-0006KB-3o; Thu, 19 Jun 2008 02:45:01 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9DtC-0007Jx-QO; Thu, 19 Jun 2008 02:44:59 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m5J6jg2j029550; Thu, 19 Jun 2008 15:45:42 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m5J6iqw4008376; Thu, 19 Jun 2008 15:44:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m5J6iemP017081; Thu, 19 Jun 2008 15:44:40 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1K9Dsu-0005Rd-Ev; Thu, 19 Jun 2008 15:44:40 +0900 In-reply-to: (message from Miles Bader on Thu, 19 Jun 2008 15:26:23 +0900) 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 9 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99443 Archived-At: In article , Miles Bader writes: >>> $ xfd -fn '-bitstream-dejavu sans mono-medium-r-normal--16-*-0-0-c-0-iso8859-1' >>> Warning: Cannot convert string "-bitstream-dejavu sans mono-medium-r-normal--16-*-0-0-c-0-iso8859-1" to type FontStruct >>> xfd: no font to display > > > > ?!?! Then what is the result of: > > > > % xlsfonts -fn '-bitstream-dejavu sans mono-medium-r-normal--16-*-0-0-c-0-iso8859-1' > $ xlsfonts -fn '-bitstream-dejavu sans mono-medium-r-normal--16-*-0-0-c-0-iso8859-1' > -bitstream-dejavu sans mono-medium-r-normal--16-0-0-0-c-0-iso8859-1 Weird. It seems that your X, perhaps the module supporting TTF, has a bug. I don't know an easy workaround for such a problem. Checking each font if it is surely openable or not in the font-selection routine is too much costly. Changing the order of font drivers from x,xft to xft,x will solve (actually just hide) the problem. But, why don't you remove such unusable fonts from your X font path? --- Kenichi Handa handa@ni.aist.go.jp