Add an entry for "LANGNAME.*".
[m17n/m17n-db.git] / LAOO-ALICE.flt
1 ;; LAOO-ALICE.flt -- Font Layout Table for Lao (Alice font)
2 ;; Copyright (C) 2003, 2004, 2005
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 ;;; <li> LAOO-ALICE.flt
25 ;;;
26 ;;; For the font ALICE0.TTF to draw Lao script.  The font is
27 ;;; available at:
28 ;;; <ul>
29 ;;; <li> infopage: http://seasrc.th.net/font/font.htm
30 ;;; <li> download: http://seasrc.th.net/font/fontlao.dir/alice0.zip
31 ;;; </ul>
32
33 (category
34  ;; C: CONSONANT (except for c and s)
35  ;; c: TALL CONSONANT
36  ;; s: LAO SEMIVOWEL SIGN LO
37  ;; A: VOWEL AM
38  ;; V: VOWEL UPPER
39  ;; v: VOWEL LOWER
40  ;; T: TONE
41  ;; I: INDEPENDENT VOWEL (except for A)
42  ;; S: SIGN
43  (0x0E81 0x0E82 ?C)
44  (0x0E84        ?C)
45  (0x0E87 0x0E88 ?C)
46  (0x0E8A        ?C)
47  (0x0E8D        ?C)
48  (0x0E94 0x0E97 ?C)
49  (0x0E99 0x0E9E ?C)
50  (0x0E9B        ?c)
51  (0x0E9D        ?c)
52  (0x0E9F        ?c)
53  (0x0EA1 0x0EA3 ?C)
54  (0x0EA2        ?c)
55  (0x0EA5        ?C)
56  (0x0EA7        ?C)
57  (0x0EAA 0x0EAB ?C)
58  (0x0EAD 0x0EAE ?C)
59  (0x0EAF        ?S)
60  (0x0EB0        ?I)
61  (0x0EB1        ?V)
62  (0x0EB2        ?I)
63  (0x0EB3        ?A)
64  (0x0EB4 0x0EB7 ?V)
65  (0x0EB8 0x0EB9 ?v)
66  (0x0EBB        ?V)
67  (0x0EBC        ?s)
68  (0x0EBD        ?I)
69  (0x0EC0 0x0EC4 ?I)
70  (0x0EC6        ?S)
71  (0x0EC8 0x0ECC ?T)
72  (0x0ECD        ?V)
73  (0x0EDC 0x0EDD ?C))
74
75 (generator
76  (0
77   (cond
78    ("(Cs?)(T?A)"
79     < (1 independent semi-vowel) (2 am-after-normal-c) > )
80    ("(cs?)(T?A)"
81     < (1 independent semi-vowel) (2 am-after-tall-c) > )
82    ("(Cs?)([vV]?T?)"
83     < (1 independent semi-vowel) (2 vowel-tone-after-c *) > )
84    ("(cs?)([vV]?T?)"
85     < (1 independent semi-vowel) (2 Br<Bl vowel-tone-after-c *) > )
86    ("[sVvTA]"
87     [ isolated-dependent ])
88    ("."
89     independent))
90   *)
91
92  (independent
93   (cond
94    ((0x0E81)    0xA1)
95    ((0x0E82)    0xA2)
96    ((0x0E84)    0xA3)
97    ((0x0E87)    0xA4)
98    ((0x0E88)    0xA5)
99    ((0x0E8A)    0xA7)
100    ((0x0E8D)    0xA8)
101    ((0x0E94)    0xA9)
102    ((0x0E95)    0xAA)
103    ((0x0E96)    0xAB)
104    ((0x0E97)    0xEA)
105    ((0x0E99)    0xAD)
106    ((0x0E9A)    0xAE)
107    ((0x0E9B)    0xAF)
108    ((0x0E9C)    0xB0)
109    ((0x0E9D)    0xB1)
110    ((0x0E9E)    0xB2)
111    ((0x0E9F)    0xB3)
112    ((0x0EA1)    0xB4)
113    ((0x0EA2)    0xB5)
114    ((0x0EA3)    0xEB)
115    ((0x0EA5)    0xEC)
116    ((0x0EA7)    0xB8)
117    ((0x0EAA)    0xA6)
118    ((0x0EAB)    0xB9)
119    ((0x0EAD)    0xBA)
120    ((0x0EAE)    0xBB)
121    ;; ((0x0EAF) ??)
122    ((0x0EB0)    0xBD)
123    ((0x0EB2)    0xBE)
124    ((0x0EB3)    0xBF)
125    ((0x0EB4)    [ 0xF2 ])
126    ((0x0EBD)    0xBC)
127    ((0x0EC0)    0xC0)
128    ((0x0EC1)    0xC1)
129    ((0x0EC2)    0xC2)
130    ((0x0EC3)    0xC3)
131    ((0x0EC4)    0xC4)
132    ((0x0EC6)    0xC5)
133    ((0x0EC6)    0xC5)
134    ((0x0EDC)    0xCE)
135    ((0x0EDD)    0xCF)))
136
137  (semi-vowel
138   ((0x0EBC)     0xF9))
139
140  (am-after-normal-c
141   (cond
142    ((0x0EB3)            0xED)
143    ((0x0EC8 0x0EB3)     0xEE)
144    ((0x0EC9 0x0EB3)     0xEF)
145    ((0x0ECA 0x0EB3)     0xFC 0xED)
146    ((0x0ECB 0x0EB3)     0xFD 0xED)
147    ((0x0ECC 0x0EB3)     0xFE 0xED)))
148
149  (am-after-tall-c
150   (cond
151    ((0x0EB3)            0xD6 0xBE)
152    ((0x0EC8 0x0EB3)     0xD2 0xBE)
153    ((0x0EC9 0x0EB3)     0xD3 0xBE)
154    ((0x0ECA 0x0EB3)     0xFC 0xF0 0xBE)
155    ((0x0ECB 0x0EB3)     0xFD 0xF0 0xBE)
156    ((0x0ECC 0x0EB3)     0xFE 0xF0 0xBE)))
157
158  (vowel-tone-after-c
159   (cond
160    ((0x0EB1 0x0EC8)     0x84)
161    ((0x0EB1 0x0EC9)     0x98)
162    ((0x0EB1)            0xD7)
163    ((0x0EB4 0x0EC8)     0x85)
164    ((0x0EB4 0x0EC9)     0x99)
165    ((0x0EB4)            0xD8)
166    ((0x0EB5 0x0EC8)     0x86)
167    ((0x0EB5 0x0EC9)     0x9A)
168    ((0x0EB5)            0xD9)
169    ((0x0EB6 0x0EC8)     0x87)
170    ((0x0EB6 0x0EC9)     0x9B)
171    ((0x0EB6)            0xDA)
172    ((0x0EB7 0x0EC8)     0x88)
173    ((0x0EB7 0x0EC9)     0x9C)
174    ((0x0EB7)            0xDB)
175    ((0x0EB8)            0xF7)
176    ((0x0EB9)            0xF8)
177    ((0x0EBB 0x0EC8)     0x89)
178    ((0x0EBB 0x0EC9)     0x9D)
179    ((0x0EBB)            0xDC)
180    ((0x0EC8)            tr+bl 0xC8)
181    ((0x0EC9)            tr+bl 0xC9)
182    ((0x0ECA)            tr+bl 0xCA)
183    ((0x0ECB)            tr+bl 0xCB)
184    ((0x0ECC)            tr+bl 0xCC)
185    ((0x0ECD)            0xD6)))
186
187  (isolated-dependent
188   (cond
189    ((0x0EB1)    0xF1)
190    ((0x0EB4)    0xF2)
191    ((0x0EB5)    0xF3)
192    ((0x0EB6)    0xF4)
193    ((0x0EB7)    0xF5)
194    ((0x0EB8)    0xF7)
195    ((0x0EB9)    0xF8)
196    ((0x0EBB)    0xF6)
197    ((0x0EC8)    0xC8)
198    ((0x0EC9)    0xC9)
199    ((0x0ECA)    0xCA)
200    ((0x0ECB)    0xCB)
201    ((0x0ECC)    0xCC)
202    ((0x0ECD)    0xD6))))
203
204 ;; Local Variables:
205 ;; mode: lisp
206 ;; End: