From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66408 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Gnus problem with nil font in face definition Date: Fri, 29 Feb 2008 09:38:19 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86abljhixg.fsf@lifelogs.com> References: <86fxvdvwkb.fsf@jumptrading.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204299633 19869 80.91.229.12 (29 Feb 2008 15:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 15:40:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M14898=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Feb 29 16:40:57 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JV7Lt-0005uy-4i for ding-account@gmane.org; Fri, 29 Feb 2008 16:40:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JV7LM-00083V-7h for ding-account@gmane.org; Fri, 29 Feb 2008 09:40:16 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JV7LL-00083Q-6z for ding@lists.math.uh.edu; Fri, 29 Feb 2008 09:40:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JV7LE-00008N-Ht for ding@lists.math.uh.edu; Fri, 29 Feb 2008 09:40:15 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JV7LJ-0001a3-00 for ; Fri, 29 Feb 2008 16:40:13 +0100 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JV7L8-0004Nx-KQ for ding@gnus.org; Fri, 29 Feb 2008 15:40:02 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 15:40:02 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 15:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:zT0uQ/EDVkQOBg9nzqzzC29dJ4U= X-Spam-Score: -1.8 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66408 gmane.emacs.devel:90893 Archived-At: On Fri, 29 Feb 2008 16:28:34 +0900 Kenichi Handa wrote: KH> 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' KH> I found what is wrong with the current font-backend code. KH> % xlsfonts -fn -misc-fixed-*-*-*--20-200-75-75-c-100-iso10646-1 KH> lists these fonts. KH> -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-bold-r-semicondensed--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-o-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-o-semicondensed--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 KH> -misc-fixed-medium-r-semicondensed--20-200-75-75-c-100-iso10646-1 KH> but the result of KH> % xlsfonts -fn -misc-fixed-*-*-*--*-*-*-*-c-*-iso10646-1 KH> doesn't contain this font: KH> -misc-fixed-bold-r-normal--20-200-75-75-c-100-iso10646-1 I don't know the font selection semantics, but this seems counterintuitive. KH> I'm now working on handling such a case correctly. KH> By the way, if you specify this font (i.e. a font whose bold KH> versoin also exists without auto-scaling): KH> -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 KH> Emacs can find the correct bold version (at least in my KH> environment). Was my guess correct that a nil font in the face specification is the problem? Or is it specifically a problem with the font I use, as I think you're saying? Or both? Ted