/usr/share/m17n/THAI-OTF.flt is in m17n-db 1.7.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | ;; THAI-OTF.flt -- Font Layout Table for Thai
;; Copyright (C) 2006, 2007, 2008 AIST (H15PRO112)
;; See the end for copying conditions.
(font layouter thai-otf nil
(font (nil nil unicode-bmp :otf=thai+mark,mkmk)))
;;; <li> THAI-OTF.flt
(category
;; C: CONSONANT
;; A: SARA-AM
;; i: SARA I, SARA U (below vowel 1, above vowel 1)
;; I: SARA II, SARA UEE (above vowel 3)
;; U: MAIHAN-AKAT, SARA UE, SARA UU (above vowel 2, below vowel 2)
;; P: PHINTHU, YAMAKKARN (below diacritic, above diacritic 3)
;; T: TONE
;; N: THANTHAKHAT, NIKHAHIT (above diacritic 1)
;; M: MAITAIKHU (above diacritic 2)
;; X: OTHER INDEPENDENT
(0x0E01 0x0E23 ?C)
(0x0E24 ?X)
(0x0E25 ?C)
(0x0E26 0x0E2E ?C)
(0x0E2F 0x0E30 ?X)
(0x0E31 ?U) ;; av2
(0x0E32 ?X)
(0x0E33 ?A)
(0x0E34 ?i) ;; av1
(0x0E35 ?I) ;; av3
(0x0E36 ?U) ;; av2
(0x0E37 ?I) ;; av3
(0x0E38 ?i) ;; bv1
(0x0E39 ?U) ;; bv2
(0x0E3A ?P) ;; bd
(0x0E3F 0x0E46 ?X)
(0x0E47 ?M) ;; ad2
(0x0E48 0x0E4B ?T)
(0x0E4C 0x0E4D ?N) ;; ad1
(0x0E4E ?P) ;; ad3
(0x0E4F 0x0E5B ?X)
(0x25CC ?X))
;; Perform GSUB. The decomposition of AM is done by hand because it
;; requires reordering in addition to decomposition.
(generator
(0
(cond
("(C)(T)?(A)"
| < (1 = 0x0E4D) (2 =) > | (3 0x0E32) > )
("C[UiI]T"
< | = * | > )
("CiN"
< | = * | > )
("CIM"
< | = * | > )
("C[iIUPTNM]?"
< | = * | > )
("[iIUPTNM]"
(cond ((font-facility 0x25CC) < 0x25CC = > ) ("." [ = ] )))
("."
=))
*))
;; Perform GPOS.
(generator
(0
(cond
(" ([^ ]*) "
(1 otf:thai))
("."
=))
*))
;; 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:
|