From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: `set-fontset-font' and ascii characters Date: Mon, 09 Jun 2003 22:47:50 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200306100247.h5A2lp7V030340@rum.cs.yale.edu> References: <87he8kutns.fsf@ID-87814.user.dfncis.de> <200305010810.RAA15007@etlken.m17n.org> <87u1cezhlu.fsf@ID-87814.user.dfncis.de> <200305012353.IAA15973@etlken.m17n.org> <200305020105.KAA16075@etlken.m17n.org> <87isstx7le.fsf@ID-87814.user.dfncis.de> <200305030248.LAA17558@etlken.m17n.org> <87bryj8y94.fsf@ID-87814.user.dfncis.de> <200305050833.RAA20149@etlken.m17n.org> <200305070112.KAA22618@etlken.m17n.org> <87isrzb4pt.fsf@ID-87814.user.dfncis.de> <200306100216.LAA10449@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1055213341 5301 80.91.224.249 (10 Jun 2003 02:49:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 02:49:01 +0000 (UTC) Cc: alkibiades@gmx.de Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 10 04:48:55 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19PZBv-0001MX-00 for ; Tue, 10 Jun 2003 04:48:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19PZWA-00061a-00 for ; Tue, 10 Jun 2003 05:09:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19PZCc-0004g4-JW for emacs-devel@quimby.gnus.org; Mon, 09 Jun 2003 22:49:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19PZC7-00046H-CT for emacs-devel@gnu.org; Mon, 09 Jun 2003 22:49:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19PZB1-00035f-PR for emacs-devel@gnu.org; Mon, 09 Jun 2003 22:48:00 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19PZAv-00032x-8R for emacs-devel@gnu.org; Mon, 09 Jun 2003 22:47:53 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h5A2lp0i030342; Mon, 9 Jun 2003 22:47:51 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h5A2lp7V030340; Mon, 9 Jun 2003 22:47:51 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kenichi Handa Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14983 > Currently, for a character of ASCII and Latin-1, emacs > prefers a face family, and for the other chars, emacs > prefers a fontset family. It's a very kludgy way, and > should be fixed somehow, but currently I don't have a time > to think about it and I don't remember now why the code is > like that. :-( IIRC, it had to do with the fact that if the face says `courier' and the fontset info specifies `symbols', the fontset info should take precedence (it's when the font-registry info is not enough to map charsets to fonts and needs to be supplemented with font-family info). But on the other hand, if your Emacs.font says "-misc-fixed-blabla", the `misc-fixed' info coming from your fontset should not supercede the `helvetica' info provided by `variable-pitch' face (for example). Stefan