From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: utf-8 cjk translation bug? Date: Tue, 07 Oct 2003 12:40:19 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200309301259.VAA01304@etlken.m17n.org> <200310020108.KAA03803@etlken.m17n.org> <3F7DA52B.2060208@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065526988 13594 80.91.224.253 (7 Oct 2003 11:43:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2003 11:43:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 07 13:43:07 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6qF8-0001ne-00 for ; Tue, 07 Oct 2003 13:43:06 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6qF8-00086H-00 for ; Tue, 07 Oct 2003 13:43:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6qDc-000086-F8 for emacs-devel@quimby.gnus.org; Tue, 07 Oct 2003 07:41:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A6qDX-000081-VN for emacs-devel@gnu.org; Tue, 07 Oct 2003 07:41:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A6qD1-0008A6-LR for emacs-devel@gnu.org; Tue, 07 Oct 2003 07:41:26 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6qCT-0007Hg-IK; Tue, 07 Oct 2003 07:40:21 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1A6qCR-0001bm-00; Tue, 07 Oct 2003 12:40:19 +0100 Original-To: Jason Rumney User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16976 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16976 Jason Rumney writes: > I think the problem is not that they don't have iso10646 fonts, it is > that the iso10646 fonts they do have do not contain any of the double > width characters, I meant one with the appropriate repertoire. > including double width roman that is in the 2500-33ff > range. Until Emacs gets a function to query which glyphs a font has (I > see such a function in emacs-unicode-2), then it is safer to use > localized fonts where possible instead of iso10646. See TODO, I think. However, checking the large number of tiny-repertoire fonts that are randomly encoded as iso10646 that you might have under XFree86, for instance, seems like bad news. You at least have to load them to extract information. [The issue of which fonts you use is actually orthogonal to which charsets you decode into, as long as you have the translation tables available. The CCL for the font encoding may not exist currently in cases where it would be useful, but it is trivial to provide. See examples which update `font-ccl-encoder-alist'.]