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.gnus.general Subject: Re: Gnus problem with nil font in face definition Date: Fri, 29 Feb 2008 16:28:34 +0900 Message-ID: References: <86fxvdvwkb.fsf@jumptrading.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 1204270180 12845 80.91.229.12 (29 Feb 2008 07:29:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 07:29:40 +0000 (UTC) Cc: tzz@lifelogs.com, ding@gnus.org, emacs-devel@gnu.org To: Reiner Steib Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 08:30:06 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 1JUzgx-0001wD-Ao for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 08:30:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUzgQ-00088m-Lf for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 02:29:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUzgM-00088h-TW for emacs-devel@gnu.org; Fri, 29 Feb 2008 02:29:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUzgK-00088V-Ep for emacs-devel@gnu.org; Fri, 29 Feb 2008 02:29:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUzgK-00088S-9i for emacs-devel@gnu.org; Fri, 29 Feb 2008 02:29:24 -0500 Original-Received: from mx1s.aist.go.jp ([150.29.246.134]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUzgJ-0005qj-KV for emacs-devel@gnu.org; Fri, 29 Feb 2008 02:29:24 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1s.aist.go.jp with ESMTP id m1T7T3Lw001157; Fri, 29 Feb 2008 16:29:04 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m1T7T2CS010867; Fri, 29 Feb 2008 16:29:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m1T7SYxp022724; Fri, 29 Feb 2008 16:28:34 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JUzfW-0002Ua-IE; Fri, 29 Feb 2008 16:28:34 +0900 In-reply-to: (message from Reiner Steib on Thu, 28 Feb 2008 21:23: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 monty-python.gnu.org: Solaris 9 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:90841 gmane.emacs.gnus.general:66406 Archived-At: In article , Reiner Steib writes: > On Thu, Feb 28 2008, Ted Zlatanov wrote: > > It seems that the cause is faces that have the font set to nil, instead > > of unspecified. I don't know if this is a Gnus-only problem, and it may > > be caused by an Emacs problem, so I am cc-ing both emacs-devel and ding. > I'm quite sure that nothing in Gnus/Message has changed in this area, > so it is probably related to the unicode merge (new font back end?) > For those not using Gnus, a test case might be: > - emacs -Q -fn '-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1' I found what is wrong with the current font-backend code. % xlsfonts -fn -misc-fixed-*-*-*--20-200-75-75-c-100-iso10646-1 lists these fonts. -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-bold-r-semicondensed--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-o-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-o-semicondensed--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -misc-fixed-medium-r-semicondensed--20-200-75-75-c-100-iso10646-1 but the result of % xlsfonts -fn -misc-fixed-*-*-*--*-*-*-*-c-*-iso10646-1 doesn't contain this font: -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 I'm now working on handling such a case correctly. By the way, if you specify this font (i.e. a font whose bold versoin also exists without auto-scaling): -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 Emacs can find the correct bold version (at least in my environment). --- Kenichi Handa handa@ni.aist.go.jp