From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Adding Tai Tham Script to GNU/Linux Distribution's Version of Emacs Date: Mon, 16 Mar 2015 05:43:07 +0200 Message-ID: <83d2491ub8.fsf@gnu.org> References: <20150315231556.4ff72bac@JRWUBU2> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426477435 28868 80.91.229.3 (16 Mar 2015 03:43:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 03:43:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 04:43:45 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 1YXLwN-0007YI-B8 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Mar 2015 04:43:43 +0100 Original-Received: from localhost ([::1]:46980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLwM-00015g-LD for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2015 23:43:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLwA-00015G-Bu for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 23:43:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXLw4-0007OP-Ki for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 23:43:30 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:37416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLw4-0007O2-7X for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 23:43:24 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NLA00700CEGC600@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Mon, 16 Mar 2015 05:44:07 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLA000VQD1JRZ60@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Mon, 16 Mar 2015 05:44:07 +0200 (IST) In-reply-to: <20150315231556.4ff72bac@JRWUBU2> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 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:103180 Archived-At: > Date: Sun, 15 Mar 2015 23:15:56 +0000 > From: Richard Wordingham > > 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 . 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.