Include syllable final HJ to otf part.
[m17n/m17n-db.git] / FLT / THAI-TIS620.flt
1 ;; THAI-TIS620.flt -- Font Layout Table for Thai (TIS620 font)
2 ;; Copyright (C) 2003, 2004, 2007  AIST (H15PRO112)
3 ;; See the end for copying conditions.
4
5 (font layouter thai-tis620 nil
6       (font (tis620.2529-1)
7             (tis620.2533-0)))
8
9 ;;; <li> THAI-TIS620.flt
10 ;;;
11 ;;; For fixed width fonts of TIS620 encoding to draw Thai script.
12
13 (category
14  ;; C: CONSONANT
15  ;; V: VOWEL UPPER
16  ;; v: VOWEL LOWER
17  ;; T: TONE
18  ;; I: INDEPENDENT
19  ;;
20  (0x0E01 0x0E2E ?C)
21  (0x0E2F 0x0E5B ?I)
22  (0x0E31                ?V)
23  (0x0E34 0x0E37 ?V)
24  (0x0E38 0x0E3A ?v)
25  (0x0E47                ?V)
26  (0x0E48 0x0E4E ?T)
27  )
28
29 (generator
30  (0
31   (cond
32    ("C([vV])?T?"
33     = dependent * )
34    ("[^C]*"
35     = *))
36   *)
37
38  (dependent
39   (cond
40    ((0x0E31)    tc+bc =)
41    ((0x0E34)    tc+bc =)
42    ((0x0E35)    tc+bc =)
43    ((0x0E36)    tc+bc =)
44    ((0x0E37)    tc+bc =)
45    ((0x0E38)    bc-tc =)
46    ((0x0E39)    bc-tc =)
47    ((0x0E3A)    bc-tc =)
48    ((0x0E47)    tc+bc =)
49    ((0x0E48)    tc+bc =)
50    ((0x0E49)    tc+bc =)
51    ((0x0E4A)    tc+bc =)
52    ((0x0E4B)    tc+bc =)
53    ((0x0E4C)    tc+bc =)
54    ((0x0E4D)    tc+bc =)
55    ((0x0E4E)    tc+bc =))))
56
57 ;; Copyright (C) 2003, 2004, 2007
58 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
59 ;;   Registration Number H15PRO112
60
61 ;; This file is part of the m17n database; a sub-part of the m17n
62 ;; library.
63
64 ;; The m17n library is free software; you can redistribute it and/or
65 ;; modify it under the terms of the GNU Lesser General Public License
66 ;; as published by the Free Software Foundation; either version 2.1 of
67 ;; the License, or (at your option) any later version.
68
69 ;; The m17n library is distributed in the hope that it will be useful,
70 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
71 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
72 ;; Lesser General Public License for more details.
73
74 ;; You should have received a copy of the GNU Lesser General Public
75 ;; License along with the m17n library; if not, write to the Free
76 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
77 ;; Boston, MA 02110-1301, USA.
78
79 ;; Local Variables:
80 ;; mode: lisp
81 ;; End: