From: Richard Wordingham <richard.wordingham@ntlworld.com>
To: help-gnu-emacs@gnu.org
Subject: Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs
Date: Mon, 16 Mar 2015 07:47:34 +0000 [thread overview]
Message-ID: <20150316074734.410bd2b6@JRWUBU2> (raw)
In-Reply-To: <mailman.28836.1426477412.31050.help-gnu-emacs@gnu.org>
> Date: Mon, 16 Mar 2015 05:43:07 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Adding Tai Tham Script to GNU/Linux Distribution's
> Version of Emacs
> Message-ID: <83d2491ub8.fsf@gnu.org>
> Then what exactly is/was your problem with that script? Your question
> said:
>
> > Is it 'simple' to add complex text layout (CTL) for the Tai Tham
> > script on non-Windows systems?
>
> Emacs does CTL on Unix by using 2 m17l libraries. Here's a citation
> from INSTALL:
>
> * Complex Text Layout support libraries
>
> On GNU and Unix systems, Emacs needs the optional libraries
> "m17n-db", "libm17n-flt", "libotf" ...
> But you seem to have these libraries already, so I'm unsure what
> exactly is the problem you are having.
The primary problem is that m17n currently does not have support for the
Tai Tham script, not even at Version 1.7.0. I therefore need to add
this to my copy of the m17n database, and, if I do an acceptable job,
offer this support for inclusion in the public m17n database. I've
added a first attempt to my copy, but I see no evidence that Emacs is
attempting to use it. (I've enabled full m17n debugging by setting
environment variable MDEBUG_ALL, and get lots of output to the terminal
I launch Emacs from, including a record of my Tai Tham shaping rules
being read in.) Unfortunately, writing a test bed for m17n does not seem
simple - I had hoped to use Emacs as the test bed, as the rest of the system is
often the quickest test bed to build. (It's for Emacs that I want m17n
support - HarfBuzz provides support for browsers and word processing.)
I've asked for advice on purely m17n matters on the m17n help list.
> > Might the character categories be relevant? They don't seem to be
> > set for Tai Tham characters, though they are set for Tai Viet
> > characters, which are slightly younger in Unicode.
> Which categories did you have in mind? "Category" is too general a
> term here.
I meant category as being set by calls of modify-category-entry in
characters.el. (The lisp function is defined in file category.c.) The
clue is that somehow Emacs knows that text shaping is not needed for a
sequence of Thai consonants, and it is also true that it is not needed
for a sequence of Tai Tham consonants. However, I don't know where the
triggering logic is. It *could* be something like 'invoke shaping if
there is a combining character or Indian character present'. I'm not
even sure what an 'Indian character' (category codes 'i' and 'I') is.
It might merely be a non-ASCII character supported by ISCII. Another
clue is that shaping seems to be invoked for lone Tibetan consonants.
Richard.
next parent reply other threads:[~2015-03-16 7:47 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 ` Richard Wordingham [this message]
2015-03-16 16:34 ` Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150316074734.410bd2b6@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.