From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongsheng Newsgroups: gmane.emacs.devel Subject: Re: BTW, if I want Emacs to support the CJK-EXT B Chinese Characters, must I use the arg --enable-font-backend? Date: Mon, 20 Nov 2006 17:30:36 +0800 Message-ID: <20061120093036.GA21045@localdomain> References: <20061120041919.GA8024@localdomain> Reply-To: Hongsheng NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164015002 14340 80.91.229.2 (20 Nov 2006 09:30:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2006 09:30:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 20 10:29:58 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 1Gm5TR-0006VV-4o for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 10:29:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gm5TQ-0001W7-IQ for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 04:29:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gm5T9-0001Sx-VE for emacs-devel@gnu.org; Mon, 20 Nov 2006 04:29:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gm5T8-0001PC-58 for emacs-devel@gnu.org; Mon, 20 Nov 2006 04:29:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gm5T8-0001Oz-0i for emacs-devel@gnu.org; Mon, 20 Nov 2006 04:29:38 -0500 Original-Received: from [68.142.206.241] (helo=smtp108.plus.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1Gm5T7-00027E-Si for emacs-devel@gnu.org; Mon, 20 Nov 2006 04:29:38 -0500 Original-Received: (qmail 26190 invoked from network); 20 Nov 2006 09:29:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Received:X-YMail-OSG:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=DmGcYXL5Qbby3Y6K9e7Nrrs1VWmZA4JvQveHQ/pugTON+JmlHEq5IH4tHuQb70RnW4/HcAtvBbiQhTBZMbhD1dGlW/TiKkKdyrinaL7SxAOTr6oIL+T0w/btHPP8hUdUeUNWdBOUFJ/ZWwh28KKSttlZ0dgd70RwCZs9dp5UKuw= ; Original-Received: from unknown (HELO ubuntu-edgy) (zhaohscas@159.226.135.215 with login) by smtp108.plus.mail.mud.yahoo.com with SMTP; 20 Nov 2006 09:29:36 -0000 X-YMail-OSG: eniMcYIVM1koS_JdGgImW8Z3un0TAr0bMvdA2QBg_yyBydK_YMjRaRqEzvjHgCYTTNzlXqfpW.A1pcncwNXmY7rri9E67VaHYBCZYFRXnw6dM20J4WEHnA-- Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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:62546 Archived-At: > > 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) > (set-fontset-font > "fontset-default" 'han '(nil . "iso10646-2") 'append) When I put this into my .emacs, the Emacs will return the wrong message as this: Wrong type argument: frame-live-p, append Best, Hongsheng. __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com