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