[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pango-like font fallback (was Re: Russian numero sign)
From: |
Kenichi Handa |
Subject: |
Re: Pango-like font fallback (was Re: Russian numero sign) |
Date: |
Tue, 14 Mar 2006 11:27:04 +0900 |
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) |
In article <address@hidden>, Paul Pogonyshev <address@hidden> 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
address@hidden