From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Implementing charset-aware X font names Date: Mon, 28 Apr 2003 21:27:43 +0900 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87fzo24xj4.fsf@tleepslib.sk.tsukuba.ac.jp> References: <87ist17vzu.fsf_-_@tleepslib.sk.tsukuba.ac.jp> <200304281109.UAA10876@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051533056 11517 80.91.224.249 (28 Apr 2003 12:30:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 12:30:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 28 14:30:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19A7mY-0002zS-00 for ; Mon, 28 Apr 2003 14:30:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19A7ui-0003Y0-00 for ; Mon, 28 Apr 2003 14:39:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19A7lM-0004rg-04 for emacs-devel@quimby.gnus.org; Mon, 28 Apr 2003 08:29:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19A7kb-0004WE-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 08:28:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19A7kK-0003j0-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 08:28:39 -0400 Original-Received: from tleepslib.sk.tsukuba.ac.jp ([130.158.98.109]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19A7kE-0003cA-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 08:28:30 -0400 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.36 #1 (Debian)) id 19A7jT-0000EN-00; Mon, 28 Apr 2003 21:27:43 +0900 Original-To: Kenichi Handa In-Reply-To: <200304281109.UAA10876@etlken.m17n.org> (Kenichi Handa's message of "Mon, 28 Apr 2003 20:09:30 +0900 (JST)") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.5 (cabbage) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13511 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13511 >>>>> "Kenichi" == Kenichi Handa writes: Kenichi> We connect charsets to font registries vis fontset. And Kenichi> in the emacs-unicode version, we have enhanced it so that Kenichi> we can connect scripts, charsets, range of characters to Kenichi> multiple font specs. Is this documented outside of source code? (Not necessarily as a formal spec, discussions on emacs-devel would help too. Also, I can read Japanese, so mule-ja would be useful if there were discussions there.) How does it compare to the specifier interface used by XEmacs? XEmacs specifiers allow a face to automatically select the correct font by X11 font registry, but there must also be a similer mechanism for Windows, so this must be somewhat more general than "font registry". Also, specifiers implement both inheritance and repeated queries (eg, you can have both "arial" and "helvetica" fonts for ascii/latin-1, and they will be tried in a specified order, usually "last added first", until the face can be displayed). Kenichi> In addtion, in emacs-unicode, we separate the concept of Kenichi> font encoding and font repertory, and for *-iso10646-1 Kenichi> fonts, we checks the font contents to get the true Kenichi> repertory as a char table. Ah, I'll have to ask Ben if he's handled that in the devel branch. That sounds like a very good interface, and if possible I'd like to use it in XEmacs too. I assume it is exported so Lisp programs can find out the repertoire? -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.