From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.devel Subject: Re: MULE shows gibberish; now what? Date: Wed, 9 Oct 2002 18:08:41 -0700 Sender: emacs-devel-admin@gnu.org Message-ID: <20021010010840.GD3346@math.berkeley.edu> References: <5lu1jvfp9c.fsf@rum.cs.yale.edu> <200210100029.JAA19642@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 1034212229 29909 127.0.0.1 (10 Oct 2002 01:10:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 01:10:29 +0000 (UTC) Cc: monnier+gnu.emacs.help/news/@rum.cs.yale.edu, 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 17zRqF-0007mG-00 for ; Thu, 10 Oct 2002 03:10:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17zSeY-0000HY-00 for ; Thu, 10 Oct 2002 04:02:18 +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 17zRpE-00070K-00; Wed, 09 Oct 2002 21:09:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zRoi-0006vf-00 for emacs-devel@gnu.org; Wed, 09 Oct 2002 21:08:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zRog-0006vP-00 for emacs-devel@gnu.org; Wed, 09 Oct 2002 21:08:43 -0400 Original-Received: from gold.math.berkeley.edu ([169.229.58.61] helo=Math.Berkeley.EDU) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zRog-0006vL-00 for emacs-devel@gnu.org; Wed, 09 Oct 2002 21:08:42 -0400 Original-Received: from powdermilk.math.Berkeley.EDU (powdermilk.Math.Berkeley.EDU [169.229.140.13]) by Math.Berkeley.EDU (8.12.3/8.12.3) with ESMTP id g9A18f0n006374; Wed, 9 Oct 2002 18:08:41 -0700 (PDT) Original-Received: (from ilya@localhost) by powdermilk.math.Berkeley.EDU (8.9.3/8.9.3) id SAA07702; Wed, 9 Oct 2002 18:08:41 -0700 (PDT) Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: <200210100029.JAA19642@etlken.m17n.org> User-Agent: Mutt/1.4i 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:8494 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8494 On Thu, Oct 10, 2002 at 09:29:12AM +0900, Kenichi Handa wrote: > (1) Now people install CP-1252 fonts and give alias names > "*-iso8859-5". > (2) Emacs finds such a font for displaying > cyrillic-iso8859-5 chars. > > Correct? > > Then, if such a font can be distinguished from correct > iso8859-5 fonts (perhaps, by family or foundary fields), the > easiest solution is to ignore such a font by setting the > variable `face-ignored-fonts' properly. It is not clear what "properly" means. (setq face-ignored-fonts '(".*RAWIN-R")) does not fix the things; (setq face-ignored-fonts '(".*Cronyx.*")) does fix the things... The problematic font is cyrillic-iso8859-5 -*-*-*-iso8859-5 [-Cronyx-Fixed-Medium-R-Normal--15-140-75-75-C-90-RAWIN-R] (as output by describe-fontset). > > It could also look at the CHARSET_REGISTRY and CHARSET_ENCODING property > > of the font (rather than assuming it's the same as in the fontname) ? > > To get those properties, we must call XListFontsWithInfo > which, I think, is very slow compared with XListFonts. Hmm, is it possible to get the actual font name without getting the info? Ilya P.S. In my previous message Cronix was misspelled. Sorry!