all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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
Date: Mon, 16 Mar 2015 05:43:07 +0200	[thread overview]
Message-ID: <83d2491ub8.fsf@gnu.org> (raw)
In-Reply-To: <20150315231556.4ff72bac@JRWUBU2>

> Date: Sun, 15 Mar 2015 23:15:56 +0000
> From: Richard Wordingham <richard.wordingham@ntlworld.com>
> 
> Eli Zaretskii wrote:
> 
> > Only this should be necessary:
> >
> >  1) Modify fontset.el to add the script.
> 
> Is this meant to be relevant to the use of Emacs 24?  In Emacs 24, Tai
> Tham is already listed in fontset.el.

Sorry, you are right.  I've misread that line to mean you want to
change the setup of the default fontset, not that you want to add the
script (which is already recognized by default).

> The examples in 'modifying fontsets' seem to be irrelevant, and
> certainly didn't help.  I may be missing something subtle, but I was
> already picking up the right font, and adding it to the default fontset
> does not seem to make any difference, in either Emacs 23.3.1 or Emacs
> 24.

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" to correctly display such complex scripts as
  Indic and Khmer, and also for scripts that require Arabic shaping
  support (Arabic and Farsi).  On some systems, particularly GNU/Linux,
  these libraries may be already present or available as additional
  packages.  Note that if there is a separate `dev' or `devel' package,
  for use at compilation time rather than run time, you will need that
  as well as the corresponding run time package; typically the dev
  package will contain header files and a library archive.  Otherwise,
  you can download the libraries from <http://www.nongnu.org/m17n/>.

  Note that Emacs cannot support complex scripts on a TTY, unless the
  terminal includes such a support.

But you seem to have these libraries already, so I'm unsure what
exactly is the problem you are having.

> 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.

Which categories did you have in mind?  "Category" is too general a
term here.

> I also notice that a sequence of Thai consonants does not prompy any
> m17n action, but that m17n action occurs as soon as a combining
> character (vowel, tone mark etc.) is entered.

If the problem is with character compositions (is it?), then perhaps
the corresponding rules are not defined yet, and should be added.  Or
maybe the versions of those libraries you have don't yet have support
for Tai Tham.

Bottom line, I think I'm confused about the problems you are trying to
solve, so please elaborate on them.



  reply	other threads:[~2015-03-16  3:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-15 23:15 Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs Richard Wordingham
2015-03-16  3:43 ` Eli Zaretskii [this message]
     [not found] <mailman.28836.1426477412.31050.help-gnu-emacs@gnu.org>
2015-03-16  7:47 ` 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
2015-03-19  3:41         ` Eli Zaretskii
2015-03-19  7:37           ` Richard Wordingham
2015-03-20  1:18             ` Richard Wordingham
  -- 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=83d2491ub8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.