*** empty log message ***
[m17n/m17n-db.git] / FLT / MLYM-CDAC.flt
1 ;; MLYM-CDAC.flt -- Font Layout Table for Malayalam (C-DAC font)
2 ;; Copyright (C) 2003, 2004, 2007  AIST (H15PRO112)
3 ;; See the end for copying conditions.
4
5 (font layouter mlym-cdac nil
6       (font (malayalam-cdac)
7             (nil ml-ttkarthika apple-roman)))
8
9 ;;; <li> MLYM-CDAC.flt
10
11 (category
12  (0x0D00 0x0D7F ?E)                     ; all malayalam characters
13  (0x0D02        ?A)                     ; ANUSVARA
14  (0x0D03        ?G)                     ; VISARGA
15  (0x0D05 0x0D14 ?V)                     ; independent vowel
16  (0x0D15 0x0D39 ?C)                     ; consonant
17  (0x0D3E 0x0D4C ?M)                     ; dependent vowel (MATRA)
18  (0x0D4D        ?H)                     ; HALANT
19  )
20
21 (generator
22  (0
23   (cond
24    ("(VA?)|G|((CH)?(CH)?(CH)?CH)?C(H|M?[AH]?)?" | glyph * |)
25    ("." glyph ))
26   * )
27
28  (glyph
29   (cond
30    ;; various sign
31    ((0x0D02)                    0x77)
32    ((0x0D03)                    0x78)
33    ;; Independent Vowels
34    ((0x0D05)                    0x41)
35    ((0x0D06)                    0x42)
36    ((0x0D07)                    0x43)
37    ((0x0D08)                    0x43 0x75)
38    ((0x0D09)                    0x44)
39    ((0x0D0A)                    0x44 0x75)
40    ((0x0D0B)                    0x45)
41    ((0x0D0C)                    0x23)
42    ((0x0D0E)                    0x46)
43    ((0x0D0F)                    0x47)
44    ((0x0D10)                    0x73 0x46)
45    ((0x0D12)                    0x48)
46    ((0x0D13)                    0x48 0x6D)
47    ((0x0D14)                    0x48 0x75)
48    ;; Consonants
49    ((0x0D15 0x0D4D 0x0D15 0x0D41)               0xE7)
50    ((0x0D15 0x0D4D 0x0D15)      0xA1)
51    ((0x0D15 0x0D4D 0x0D33)      0xA2)
52    ((0x0D15 0x0D4D 0x0D37)      0xA3)
53    ((0x0D15 0x0D4D 0x0D1F)      0xCE)
54    ((0x0D15 0x0D4D 0x0D24)      0xE0)
55    ((0x0D15 0x0D41)             0xE6)
56    ((0x0D15 0x0D41)             0xE6)
57    ((0x0D15)                    0x49)
58    ((0x0D16)                    0x4A)
59    ((0x0D17 0x0D4D 0x0D17)      0xA4)
60    ((0x0D17 0x0D4D 0x0D32)      0xA5)
61    ((0x0D17 0x0D4D 0x0D2E)      0xDC)
62    ((0x0D17 0x0D4D 0x0D28)      0xE1)
63    ((0x0D17)                    0x4B)
64    ((0x0D18)                    0x4C)
65    ((0x0D19 0x0D4D 0x0D15)      0xA6)
66    ((0x0D19 0x0D4D 0x0D19)      0xA7)
67    ((0x0D19 0x0D4D 0x0D15 0x0D41)               0xE8)
68    ((0x0D19)                    0x4D)
69    ((0x0D1A 0x0D4D 0x0D1A)      0xA8)
70    ((0x0D1A 0x0D4D 0x0D1B)      0xD1)
71    ((0x0D1A)                    0x4E)
72    ((0x0D1B)                    0x4F)
73    ((0x0D1C 0x0D4D 0x0D1C)      0xD6)
74    ((0x0D1C 0x0D4D 0x0D1E)      0xDA)
75    ((0x0D1C)                    0x50)
76    ((0x0D1D)                    0x51)
77    ((0x0D1E 0x0D4D 0x0D1A)      0xA9)
78    ((0x0D1E 0x0D4D 0x0D1E)      0xAA)
79    ((0x0D1E)                    0x52)
80    ((0x0D1F 0x0D4D 0x0D1F)      0xAB)
81    ((0x0D1F)                    0x53)
82    ((0x0D20)                    0x54)
83    ((0x0D21 0x0D4D 0x0D21)      0xCD)
84    ((0x0D21)                    0x55)
85    ((0x0D22)                    0x56)
86    ((0x0D23 0x0D41 0x0D4D)      0xAC)
87    ((0x0D23 0x0D41)             0xE9)
88    ((0x0D23 0x0D4D 0x0D1F)      0xAD)
89    ((0x0D23 0x0D4D 0x0D23)      0xAE)
90    ((0x0D23 0x0D4D 0x0D2E)      0xD7)
91    ((0x0D23 0x0D4D 0x0D21)      0xDE)
92    ((0x0D23)                    0x57)
93    ((0x0D24 0x0D4D 0x0D24)      0xAF)
94    ((0x0D24 0x0D4D 0x0D25)      0xB0)
95    ((0x0D24 0x0D4D 0x0D38)      0xD5)
96    ((0x0D24 0x0D4D 0x0D2D)      0xDB)
97    ((0x0D24 0x0D4D 0x0D2E)      0xDF)
98    ((0x0D24)                    0x58)
99    ((0x0D25)                    0x59)
100    ((0x0D26 0x0D4D 0x0D26)      0xB1)
101    ((0x0D26 0x0D4D 0x0D27)      0xB2)
102    ((0x0D26)                    0x5A)
103    ((0x0D27)                    0x5B)
104    ((0x0D28 0x0D41 0x0D4D)      0xB3)
105    ((0x0D28 0x0D41)             0xEB)
106    ((0x0D28 0x0D4D 0x0D24)      0xB4)
107    ((0x0D28 0x0D4D 0x0D26)      0xB5)
108    ((0x0D28 0x0D4D 0x0D28 0x0D41)               0xEC)
109    ((0x0D28 0x0D4D 0x0D28)      0xB6)
110    ((0x0D28 0x0D4D 0x0D2E)      0xB7)
111    ((0x0D28 0x0D4D 0x0D27)      0xD4)
112    ((0x0D28 0x0D4D 0x0D25)      0xD9)
113    ((0x0D28 0x0D4D 0x0D31)      0xE2)
114    ((0x0D28)                    0x5C)
115    ((0x0D2A 0x0D4D 0x0D2A)      0xB8)
116    ((0x0D2A 0x0D4D 0x0D32)      0xB9)
117    ((0x0D2A)                    0x5D)
118    ((0x0D2B)                    0x5E)
119    ((0x0D2C 0x0D4D 0x0D2C)      0xBA)
120    ((0x0D2C 0x0D4D 0x0D32)      0xBB)
121    ((0x0D2C 0x0D4D 0x0D27)      0xCF)
122    ((0x0D2C 0x0D4D 0x0D26)      0xD0)
123    ((0x0D2C)                    0x5F)
124    ((0x0D2D)                    0x60)
125    ((0x0D2E 0x0D4D 0x0D2A)      0xBC)
126    ((0x0D2E 0x0D4D 0x0D2E)      0xBD)
127    ((0x0D2E 0x0D4D 0x0D32)      0xBE)
128    ((0x0D2E)                    0x61)
129    ((0x0D2F)                    0x62)
130    ((0x0D2F 0x0D4D 0x0D2F)      0xBF)
131    ((0x0D2F 0x0D4D 0x0D15 0x0D4D 0x0D15)                0xED)
132    ((0x0D30 0x0D41 0x0D4D)      0xC0)
133    ((0x0D30 0x0D41)             0xEA)
134    ((0x0D30)                    0x63)
135    ((0x0D31 0x0D4D 0x0D31)      0xE4)
136    ((0x0D31 0x0D4D)             0xC0)
137    ((0x0D31 0x0D41 0x0D4D)      0xC0)
138    ((0x0D31)                    0x64)
139    ((0x0D32 0x0D41 0x0D4D)      0xC2)
140    ((0x0D32 0x0D4D 0x0D32)      0xC3)
141    ((0x0D32 0x0D4D 0x0D2A)      0xE5)
142    ((0x0D32)                    0x65)
143    ((0x0D33 0x0D41 0x0D4D)      0xC4)
144    ((0x0D33 0x0D4D 0x0D33)      0xC5)
145    ((0x0D33)                    0x66)
146    ((0x0D34)                    0x67)
147    ((0x0D35 0x0D4D 0x0D35)      0xC6)
148    ((0x0D35)                    0x68)
149    ((0x0D36 0x0D4D 0x0D32)      0xC7)
150    ((0x0D36 0x0D4D 0x0D36)      0xC8)
151    ((0x0D36 0x0D4D 0x0D1A)      0xDD)
152    ((0x0D36)                    0x69)
153    ((0x0D37 0x0D4D 0x0D1F)      0xE3)
154    ((0x0D37)                    0x6A)
155    ((0x0D38 0x0D4D 0x0D32)      0xC9)
156    ((0x0D38 0x0D4D 0x0D38)      0xCA)
157    ((0x0D38 0x0D4D 0x0D31 0x0D4D 0x0D31)                0xCC)
158    ((0x0D38 0x0D4D 0x0D25)      0xD8)
159    ((0x0D38)                    0x6B)
160    ((0x0D39 0x0D4D 0x0D32)      0xCB)
161    ((0x0D39 0x0D4D 0x0D2E)      0xD2)
162    ((0x0D39 0x0D4D 0x0D28)      0xD3)
163    ((0x0D39)                    0x6C)
164    ;; Dependent vowel signs
165    ((0x0D3E)                    0x6D)
166    ((0x0D3F)                    0x6E)
167    ((0x0D40)                    0x6F)
168    ((0x0D41)                    0x70)
169    ((0x0D42)                    0x71)
170    ((0x0D43)                    0x72)
171    ((0x0D46)                    0x73)
172    ((0x0D47)                    0x74)
173    ((0x0D48)                    0x73 0x73)
174    ((0x0D4A)                    0x73 0x6D)
175    ((0x0D4B)                    0x74 0x6D)
176    ((0x0D4C)                    0x75)
177    ;; Various signs
178    ((0x0D4D 0x0D2F 0x0D41)      0x7C)
179    ((0x0D4D 0x0D2F 0x0D42)      0x7D)
180    ((0x0D4D 0x0D2F)             0x79)
181    ((0x0D4D 0x0D30 0x0D4D)      0x72)
182    ((0x0D4D 0x0D30)             0x7B)
183    ((0x0D4D 0x0D31 0x0D4D)      0x72)
184    ((0x0D4D 0x0D31)             0x7B)
185    ((0x0D4D 0x0D35)             0x7A)
186    ((0x0D4D 0x0D4D)             0x76)
187    ((0x0D4D)                    0x76)
188    ((0x0D57)                    0x75))))
189
190 (category
191  (0x00 0xFF     ?M)
192  (0x49 0x6C     ?C)
193  (0x73          ?E)                     ; E
194  (0x74          ?e)                     ; EE
195  (0x79          ?Y)                     ; yakar
196  (0x7A          ?V)                     ; vakar
197  (0x7B          ?R)                     ; rrakar
198  (0xA1 0xE5     ?C))
199
200 (generator
201  (0
202   (cond
203    (" (C[YV]?)(R) "
204     < (2 =) (1 = *) >)
205    (" (R?C[YV]?)(EE?) "
206     < (2 = *) (1 = *) >)
207    (" (R?C[YV]?)(e) "
208     < (2 = ) (1 = *) >)
209    (" ([^ ]*) "
210     < (1 = *) >)
211    ("." [ = ]))
212   *))
213
214 ;; Copyright (C) 2003, 2004, 2007
215 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
216 ;;   Registration Number H15PRO112
217
218 ;; This file is part of the m17n database; a sub-part of the m17n
219 ;; library.
220
221 ;; The m17n library is free software; you can redistribute it and/or
222 ;; modify it under the terms of the GNU Lesser General Public License
223 ;; as published by the Free Software Foundation; either version 2.1 of
224 ;; the License, or (at your option) any later version.
225
226 ;; The m17n library is distributed in the hope that it will be useful,
227 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
228 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
229 ;; Lesser General Public License for more details.
230
231 ;; You should have received a copy of the GNU Lesser General Public
232 ;; License along with the m17n library; if not, write to the Free
233 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
234 ;; Boston, MA 02110-1301, USA.
235
236 ;; Local Variables:
237 ;; mode: lisp
238 ;; End: