unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Wordingham <richard.wordingham@ntlworld.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs
Date: Wed, 18 Mar 2015 21:33:22 +0000	[thread overview]
Message-ID: <20150318213322.4e29186b@JRWUBU2> (raw)
In-Reply-To: <20150318082737.1c56a32d@JRWUBU2>

On Wed, 18 Mar 2015 08:27:37 +0000
Richard Wordingham <richard.wordingham@ntlworld.com> wrote:

> On Mon, 16 Mar 2015 18:34:03 +0200
> Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > My guess is that you will have to write a tai-tham.el file with
> > similar data for Tai Tham, and then load it into Emacs.  All the
> > rest should "just work".

> It's now mostly working, but with some strange anomalies.

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.  A work
around appears to be declare all the strings passed to m17n by Emacs as
grapheme clusters, which can be done by the special symbols < > in the
FLT generator commands.  I'm preparing a bug report.  Without the < >
symbols, the 'composition' of swapping consonant and vowel round to
convert from logical and phonetic order to visual order is declared to
be a shaper error!

I detest grapheme clusters.  I refuse to believe that in a Tai
language, the users consider every combination of consonant, vowel and
tone as a single letter.  Indeed, there were howls of outrage when the
practical effects of Unicode declaring a Thai preposed vowel plus
consonant to be a grapheme cluster struck, and the standard was
rapidly reversed.

Richard.



  reply	other threads:[~2015-03-18 21:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.28836.1426477412.31050.help-gnu-emacs@gnu.org>
2015-03-16  7:47 ` Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs Richard Wordingham
2015-03-16 16:34   ` Eli Zaretskii
2015-03-17  0:23     ` Richard Wordingham
2015-03-17  7:30       ` Eli Zaretskii
2015-03-18  8:27     ` Richard Wordingham
2015-03-18 21:33       ` Richard Wordingham [this message]
2015-03-19  3:41         ` Eli Zaretskii
2015-03-19  7:37           ` Richard Wordingham
2015-03-20  1:18             ` Richard Wordingham
2015-03-15 23:15 Richard Wordingham
2015-03-16  3:43 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2015-03-15 12:32 Richard Wordingham
2015-03-15 16:56 ` Eli Zaretskii
2015-03-15 17:01   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150318213322.4e29186b@JRWUBU2 \
    --to=richard.wordingham@ntlworld.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).