From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Pango-like font fallback (was Re: Russian numero sign) Date: Fri, 24 Feb 2006 10:30:54 +0900 Message-ID: References: <200602191431.36541.pogonyshev@gmx.net> <200602232237.54975.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1140826828 8656 80.91.229.2 (25 Feb 2006 00:20:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2006 00:20:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 01:20:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FCnAf-0006vc-N1 for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 01:20:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCnAf-0001Rh-GL for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 19:20:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCRnh-0007FB-0J for emacs-devel@gnu.org; Thu, 23 Feb 2006 20:31:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCRnZ-0007ET-Fm for emacs-devel@gnu.org; Thu, 23 Feb 2006 20:31:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCRnS-0007E6-PR for emacs-devel@gnu.org; Thu, 23 Feb 2006 20:31:03 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FCRnT-0004FX-Fp for emacs-devel@gnu.org; Thu, 23 Feb 2006 20:31:03 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k1O1UtMr010272; Fri, 24 Feb 2006 10:30:55 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k1O1Ut3J029192; Fri, 24 Feb 2006 10:30:55 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FCRnK-00047K-00; Fri, 24 Feb 2006 10:30:54 +0900 Original-To: Paul Pogonyshev In-reply-to: <200602232237.54975.pogonyshev@gmx.net> (message from Paul Pogonyshev on Thu, 23 Feb 2006 22:37:54 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:50910 Archived-At: In article <200602232237.54975.pogonyshev@gmx.net>, Paul Pogonyshev writes: >> But, unify-8859-on-encoding-mode should be on by default (at >> least with CVS HEAD emacs). >> >> Paul, do you turn it off intentionally? Can you reproduce >> this problem by starting your emacs with "-Q"? > Uh, indeed. I think I turned it off because of poor support of > Cyrillic characters by the fonts... If I start it with `-Q', > the numero sign is automatically encodable in UTF-8 as it > should be, but the Cyrillic characters appear as boxes which is > of course even worse for me. unify-8859-on-encoding-mode is not relevant how to read (or decode) Cyrillic characters encoded in UTF-8, nor how to display Cyrillic characters decoded into mule-unicode-0100-24ff charset. Do you really mean that you solved the display problem by turning it off? Anyway, your display problem is because of your adobe-courier-*-iso10646-1 font doesn't support Cyrillic characters. Please try to select "fontset->standard" by shift-mouse1. It makes "fixed" the default family, thus has the higher possibility of selecting an iso10646-1 font that support Cyrillic. If that doesn't help, or you don't want "fixed" the default family, please find a family name of an iso10646-1 font that support Cyrillic, and try this: (set-fontset-font "fontset-default" 'mule-unicode-0100-24ff '("_HERE_COMES_FAMILY_NAME_" . "iso10646-1")) > I wonder if Emacs could implement some smart font substitution > when a glyph is not available in a font. I implemented such a feature fairly long ago in emacs-unicode-2 branch. Unfortunately, Emacs of CVS HEAD lacks infrastructure to support it. --- Kenichi Handa handa@m17n.org