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: Fontset problem Date: Thu, 26 Sep 2002 10:06:20 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209261406.g8QE6KM15448@rum.cs.yale.edu> References: <200209061301.WAA16358@etlken.m17n.org> <200209260810.RAA12662@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033049318 13086 127.0.0.1 (26 Sep 2002 14:08:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 14:08:38 +0000 (UTC) Cc: schwab@suse.de, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uZJi-0003OU-00 for ; Thu, 26 Sep 2002 16:08:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ua1T-0004Qq-00 for ; Thu, 26 Sep 2002 16:53:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uZJp-0000ht-00; Thu, 26 Sep 2002 10:08:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uZHi-0000gm-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 10:06:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uZHg-0000ga-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 10:06:29 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uZHg-0000gW-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 10:06:28 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8QE6KM15448; Thu, 26 Sep 2002 10:06:20 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kenichi Handa Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8178 > Sorry for the late response. > > In article , Andreas Schwab writes: > > > Kenichi Handa writes: > > |> So, please try this: > > |> > > |> Emacs.Fontset-0: -*-courier-medium-r-normal--*-140-*-*-*-*-fontset-startup,\ > > |> mule-unicode-2500-33ff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,\ > > |> mule-unicode-e000-ffff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,\ > > |> mule-unicode-0100-24ff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1 > > > That does not work either, now Emacs is using courier instead of fixed for > > the mule-unicode charsets. > > Ah, I see. You actually have courier iso10646-1 fonts. > > Hmmm, currently, Emacs tries at first the family specified > by face, and if you have that font, Emacs uses it. > > Perhaps, for finding a font or non-ASCII, non-Latin-1 chars, > Emacs should prefer the family specified in the fontset to > the family specified in the face. I haven't seen the rest of the thread, so I don't know what problem you're trying to solve, but this seems wrong to me. If the face says "courier" then Emacs should use courier if it's available. The fontset's family should only be obeyed for faces that do not set the `family' property or when the face family cannot be found with the desired encoding. Stefan