From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Wordingham Newsgroups: gmane.emacs.help Subject: Re: Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs Date: Thu, 19 Mar 2015 07:37:16 +0000 Message-ID: <20150319073716.2f18b51a@JRWUBU2> References: <20150316074734.410bd2b6@JRWUBU2> <83zj7czytg.fsf@gnu.org> <20150318082737.1c56a32d@JRWUBU2> <20150318213322.4e29186b@JRWUBU2> <83pp85wt5v.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426750681 20771 80.91.229.3 (19 Mar 2015 07:38:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 07:38:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 08:37:44 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YYV1Q-0001iA-5Y for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2015 08:37:40 +0100 Original-Received: from localhost ([::1]:37533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYV1P-0005KF-HI for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2015 03:37:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYV1B-0005JJ-G4 for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 03:37:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYV17-0002K5-FK for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 03:37:25 -0400 Original-Received: from know-smtprelay-omc-10.server.virginmedia.net ([80.0.253.74]:43418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYV17-0002Jx-75 for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 03:37:21 -0400 Original-Received: from JRWUBU2 ([81.103.224.4]) by know-smtprelay-10-imp with bizsmtp id 5KdK1q02s06JmVd01KdKUm; Thu, 19 Mar 2015 07:37:20 +0000 X-Originating-IP: [81.103.224.4] X-Spam: 0 X-Authority: v=2.1 cv=dY0O3Bne c=1 sm=1 tr=0 a=pLuj3OkTrmEUIJBpyvkqVg==:117 a=pLuj3OkTrmEUIJBpyvkqVg==:17 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=mDV3o1hIAAAA:8 a=dWqZY7nClpTDqLWcx_oA:9 a=CjuIK1q_8ugA:10 In-Reply-To: <83pp85wt5v.fsf@gnu.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.0.253.74 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103207 Archived-At: On Thu, 19 Mar 2015 05:41:16 +0200 Eli Zaretskii wrote: > > Date: Wed, 18 Mar 2015 21:33:22 +0000 > > From: Richard Wordingham > > > > The problem is that function font-shape-gstring, defined in file > > font.c, which *appears* to be the correct composition function, > > does not grok the m17n FLT module, or at least not at Version 1.6.3. > > That sounds pretty strange. Have you tried to discuss this with m17n > FLT developers? Emacs is supposed to fit m17n very well, since the > same developers contributed to both projects. If one follows the Microsoft example of making an Indic orthographic syllable a grapheme cluster, the problem largely (entirely?) goes away. Moreover, apart from the swapping round of consonant and vowel or dependent RA glyphs, the problem examples (bug 20140) all include U+1A60 TAI THAM SIGN SAKOT, which was quietly given a non-zero canonical combining class despite the explicit recommendation in the encoding proposal that it be given a canonical combining class of 0. Its low, positive canonical combining class (9 for virama) causes no end of minor problems. The main issue with m17n itself is that the from and to fields don't handle discontiguous substrings. Discontiguous substrings, typically but not necessarily associated with canonical equivalence, are generally not handled well. There might be some more unusual (from, to) sequences once I get the ligature working. It's not forming under m17n for some reason, but Emacs is innocent. Richard.