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: Tue, 14 Mar 2006 11:27:04 +0900 Message-ID: References: <200602191431.36541.pogonyshev@gmx.net> <200603072239.29811.pogonyshev@gmx.net> <200603082016.37147.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 1142360692 13744 80.91.229.2 (14 Mar 2006 18:24:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 18:24:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 19:24:51 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 1FJE5Q-0005oK-0L for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 19:17:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJE5O-00047Y-GR for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 13:17:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIzFi-0005Y7-EB for emacs-devel@gnu.org; Mon, 13 Mar 2006 21:27:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIzFg-0005XA-RZ for emacs-devel@gnu.org; Mon, 13 Mar 2006 21:27:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIzFg-0005Wt-Jb for emacs-devel@gnu.org; Mon, 13 Mar 2006 21:27:12 -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 1FIzJm-0001Gg-E2 for emacs-devel@gnu.org; Mon, 13 Mar 2006 21:31:26 -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 k2E2R5KV014127; Tue, 14 Mar 2006 11:27:05 +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 k2E2R5Dv016805; Tue, 14 Mar 2006 11:27:05 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FIzFY-0007hz-00; Tue, 14 Mar 2006 11:27:04 +0900 Original-To: Paul Pogonyshev In-reply-to: <200603082016.37147.pogonyshev@gmx.net> (message from Paul Pogonyshev on Wed, 8 Mar 2006 20:16:36 +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:51620 Archived-At: In article <200603082016.37147.pogonyshev@gmx.net>, Paul Pogonyshev writes: > I went to install all the fonts I could find in my Debian Sarge. And > found cronyx-courier font, which looks nice _and_ has Cyrillic > characters. However, when I customize the default face in Emacs and > set that font family, latin characters are still displayed in > adobe-courier (though Cyrillic ones are shown in cronyx-courier)... > And the customization doesn't take any effect after I restart Emacs... > Any ideas? Perhaps that because you don't have -cronyx-courier-...-iso8859-1. Emacs by default uses an iso8859-1 font for ASCII. To change it, you must create a proper fontset by one of these ways: (1) In your .emacs: (create-fontset-from-fontset-spec "-cronyx-courier-medium-r-normal--17-*-*-*-m-*-fontset-cronyx17, ascii:-cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1") Then, after you start Emacs, by selecting fontset-cronyx17 with s-mouse-1->fontset->cronyx17, Emacs change the default fonts to cronyx-courier. (2) Setting X resource: When you set these resources, Emacs.Fontset-0: -cronyx-courier-medium-r-normal--17-*-*-*-m-*-fontset-cronyx17,\ !ascii:-cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1 Emacs.Font: fontset-cronyx17 you can start emacs automatically with a proper font. Another one time way is to start Emacs as this: % emacs -fn -cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1 --- Kenichi Handa handa@m17n.org