all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: handa <handa@gnu.org>
To: handa <handa@gnu.org>
Cc: eliz@gnu.org, stephen.berman@gmx.net, emacs-devel@gnu.org
Subject: Re: Display of Lao script
Date: Sun, 05 Nov 2017 14:26:52 +0900	[thread overview]
Message-ID: <87y3nl70tf.fsf@gnu.org> (raw)
In-Reply-To: <87y3o0b1rx.fsf@gnu.org> (message from handa on Wed, 25 Oct 2017 07:48:34 +0900)

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

In article <87y3o0b1rx.fsf@gnu.org>, handa <handa@gnu.org> writes:

> Thank you for checking.  So, the layout engine itself is working well,
> and the problem is...
[...]
> LAOO-OTF.flt is not preferred over the other Lao layouting tables.  I'll
> check the source code of m17n-lib.

Could you please try the attached LAOO-OTF.flt with all other LAOO-*
staying on the same directory (e.g. /usr/share/m17n)?

---
K. Handa
handa@gnu.org


[-- Attachment #2: LAOO-OTF.flt --]
[-- Type: application/octet-stream, Size: 2034 bytes --]

;; LAOO-OTF.flt -- Font Layout Table for Lao
;; Copyright (C) 2006, 2007  AIST (H15PRO112)
;; See the end for copying conditions.

(font layouter laoo-otf nil
      (font (nil nil unicode-bmp :otf=lao\ )))

;;; <li> LAOO-OTF.flt

(category
 ;; C: CONSONANT
 ;; S: LAO SEMIVOWEL SIGN LO
 ;; A: VOWEL AM
 ;; V: DEPENDENT VOWEL
 ;; T: TONE
 ;; I: OTHER INDEPENDENT
 (0x0E81 0x0EAE	?C)
 (0x0EAF 0x0EB0	?I)
 (0x0EB1	?V)
 (0x0EB2	?I)
 (0x0EB3	?A)
 (0x0EB4 0x0EBB	?V)
 (0x0EBC	?S)
 (0x0EBD 0x0EC6	?I)
 (0x0EC8 0x0ECC	?T)
 (0x0ECD	?V)
 (0x0ED0 0x0ED9 ?I)
 (0x0EDC 0x0EDD ?C)

 (0x25CC	?I))

;; The only GSUB is the decomposition of AM.  We do it by hand because
;; it requires reordering in addition to decomposition.

(generator
 (0
  (cond
   ("(CS?)(T)?A"
    < | (1 = *) 0x0ECD (2 =) 0x0EB2 | > )
   ("CS?V?T?"
    < | = * | > )
   ("[SVT]"
    < | 0x25CC = | > )
   ("."
    =))
  *))

;; Then apply all GPOS features.

(generator
 (0
  (cond
   (" ([^ ]*) "
    (1 otf:lao\ =))
   ("."
    [ otf:lao\ =+ ]))
  *))

;; Copyright (C) 2006, 2007
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H15PRO112

;; This file is part of the m17n database; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;; Local Variables:
;; mode: emacs-lisp
;; End:

  reply	other threads:[~2017-11-05  5:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 23:14 Display of Lao script Stephen Berman
2017-10-17 16:40 ` Eli Zaretskii
2017-10-20 11:48   ` Stephen Berman
2017-10-22  3:37     ` handa
2017-10-22 11:13       ` Stephen Berman
2017-10-24  9:14         ` handa
2017-10-24 10:01           ` Stephen Berman
2017-10-24 12:04             ` handa
2017-10-24 12:29               ` Stephen Berman
2017-10-24 22:48                 ` handa
2017-11-05  5:26                   ` handa [this message]
2017-11-05 12:28                     ` Stephen Berman
2017-11-06 15:26                       ` handa
2017-11-06 16:11                         ` Eli Zaretskii
2017-11-07 11:56                           ` handa
2017-10-20 13:11 ` Kaushal Modi

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=87y3nl70tf.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.