[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BTW, if I want Emacs to support the CJK-EXT B Chinese Characters, mu
Re: BTW, if I want Emacs to support the CJK-EXT B Chinese Characters, must I use the arg --enable-font-backend?
Mon, 20 Nov 2006 17:14:26 +0900
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>, Hongsheng <address@hidden> writes:
> Dear Kenichi,
> If I want the Emacs to support CJK-EXT B Chinese characters, must I run the
> Emacs with the argument: --enable-font-backend?
> I want to know whether it's possible to display the full unicode characters
> with XLFD other than XFT?
Technically it's possible but there's no standard way.
First of all, I don't know if there's an agreement about
what registry-encoding to use for an X font for Unicode SIP
area. So here I assume that you somehow manage to get an X
font whose registry-encoding part name is "iso10646-2". I
can't tell how to make your TTF recognized by X server as
such a font.
Anyway, once you confirm that your font is working on X by,
for instance, xfd as below:
% xfd -fn .....-iso10646-2
what you have to do is this:
(push '("iso10646-2$" . unicode-sip) font-encoding-alist)
"fontset-default" 'han '(nil . "iso10646-2") 'append)