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: Sun, 15 Mar 2015 18:56:31 +0200 Message-ID: <83mw3e19og.fsf@gnu.org> References: <20150315123220.5b5e1ae1@JRWUBU2> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426438633 14877 80.91.229.3 (15 Mar 2015 16:57:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2015 16:57:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 15 17:57:05 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 1YXBqb-0001L6-7G for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2015 17:57:05 +0100 Original-Received: from localhost ([::1]:44025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXBqa-0002AG-JJ for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2015 12:57:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXBqP-0002A7-4M for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 12:56:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXBqL-0004ne-JP for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 12:56:53 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:46585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXBqL-0004nW-BA for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 12:56:49 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NL900I00IQLK000@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 18:55:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NL900EWSJ08LG40@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 18:55:20 +0200 (IST) In-reply-to: <20150315123220.5b5e1ae1@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.184 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:103171 Archived-At: > Date: Sun, 15 Mar 2015 12:32:20 +0000 > From: Richard Wordingham > > I am currently using a distribution's latest version of Emacs. > The distribution is Ubuntu 12.04, precise pangolin, and the version of > Emacs it currently delivers is 23.3.1. Is it 'simple' to add complex > text layout (CTL) for the Tai Tham script on non-Windows systems? I recommend to get Emacs 24, as its support of Unicode is much better. > I hope that all I have to do is to: > > 1) Modify fontset.el to add the script. > 2) Replace fontset.elc > in /usr/share/emacs/23.3/lisp/international/fontset.elc by the modified > version of fontset.el from the source description. > 3) Augment the m17n library to use a HarfBuzz-compatible Tai Tham > font. I have such a font, and it works fine with Emacs when CTL is not > needed. > > One of my worries is that I may have to update characters.el and > recompile Emacs. > > I already have a working Emacs input method for the Tai Tham script. Only this should be necessary: 1) Modify fontset.el to add the script. There are examples in the Emacs manual's node "Modifying Fontsets", go by them. AFAIU, either the 1st or the last one should fix the issue for you, assuming you have a suitable font. Caveat: I only tried these examples with Emacs 24, not with 23.3.