From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos 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 06:14:52 -0500 Message-ID: References: <20061120041919.GA8024@localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164021819 4816 80.91.229.2 (20 Nov 2006 11:23:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2006 11:23:39 +0000 (UTC) Cc: Hongsheng , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 20 12:23:35 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 1Gm7FH-0002c5-Hc for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 12:23:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gm7FG-0002ZO-QG for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 06:23:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gm7ET-00024O-Ar for emacs-devel@gnu.org; Mon, 20 Nov 2006 06:22:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gm7EQ-00021V-0o for emacs-devel@gnu.org; Mon, 20 Nov 2006 06:22:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gm7EP-000217-Ps for emacs-devel@gnu.org; Mon, 20 Nov 2006 06:22:33 -0500 Original-Received: from [64.240.156.239] (helo=ore.jhcloos.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1Gm7EP-0002JF-Fi for emacs-devel@gnu.org; Mon, 20 Nov 2006 06:22:33 -0500 Original-Received: from lugabout.jhcloos.org (ppp35.pm3-5.buf-ch.ny.localnet.com [69.48.11.35]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "lugabout.jhcloos.org", Issuer "ca.jhcloos.com" (verified OK)) by ore.jhcloos.com (Postfix) with ESMTP id 0E7851C57D; Mon, 20 Nov 2006 05:12:45 -0600 (CST) Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 8116B6CF9D; Mon, 20 Nov 2006 11:15:17 +0000 (GMT) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Mon\, 20 Nov 2006 17\:14\:26 +0900") Copyright: Copyright 2006 James Cloos X-Hashcash: 1:23:061120:handa@m17n.org::oHlTWFGN1DBfH2K0:0001yWZ X-Hashcash: 1:23:061120:emacs-devel@gnu.org::DUaawbTp7A7YFAOr:000000000000000000000000000000000000000000na8c X-Hashcash: 1:23:061120:zhaohscas@yahoo.com.cn::JyUiNgHveCGkxqI4:000000000000000000000000000000000000000p24L Original-Lines: 40 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) 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:62554 Archived-At: >>>>> "Kenichi" == Kenichi Handa writes: Kenichi> Technically it's possible but there's no standard way. Kenichi> First of all, I don't know if there's an agreement about Kenichi> what registry-encoding to use for an X font for Unicode SIP Kenichi> area. There is no agreement on the registry-encoding. The use of iso646-2 was explicitly rejected some years back. (This was around the point where Keith started public work on libXft, fontconfig and the render extension and library, and may have been part of the motication.) About a year ago George added support for non-BMP fonts to fontforge for the display of reference glyphs (it uses XLFD fonts for its UI). Fontforge uses UnicodePlane-{1,2,3,...,16} for the non-BMP planes. Note that the only way to get the X server to use such fonts -- w/o patching the server, of course -- is to use BDF or PCF fonts. The X server's and font-server's support for scalable fonts will not do the right thing with random, user-specified encodings. The general consensus on the X lists has been to depricate server- side fonts in favour of fontconfig-discovered client-side fonts, so it is unlikely that any specification of registry-encoding for non- BMP will ever be standardized. And as far as I am aware, nothing but fontforge and emacs are even trying to support them. (Besides, of course, the glyphs in the non-unicode Chinese encoding(s) which map to SIP code points in Unicode, as already supported by Emacs.) As for fonts supporting Unicode-Plane-n, I am not aware of any. I've been hacking a bit, on but more often off, on one for the math block, but even when finished that will have glyphs sized for fontforge's grid display; I expect they'd be too small for anyone's editing usage. No one else has announced any work or plans on the fontforge lists for any other UnicodePlane-x font. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6