New file. Modified from ru-kbd.png.
[m17n/m17n-db.git] / FLT / TIBT-MULE.flt
1 ;; TIBT-MULE.flt -- Font Layout Table for Tibetan (muletibetan font)
2 ;; Copyright (C) 2003, 2004, 2007  AIST (H15PRO112)
3 ;; See the end for copying conditions.
4
5 (font layouter tibt-mule nil
6       (font (muletibetan-2)))
7
8 ;;; <li> TIBT-MULE.flt
9 ;;;
10 ;;; For the muletibetan font developped by Dr. Tomabechi to draw Tibetan
11 ;;; script.  The font is available at:
12 ;;; <ul>
13 ;;; <li> infopage: http://www.gnu.org/directory/Localization/intlfonts.html
14 ;;; <li> download: ftp://ftp.gnu.org/pub/gnu/intlfonts/intlfonts-1.2.1.tar.gz
15 ;;; </ul>
16
17 (category
18  ;; Tibetan character category for rendering
19  ;;   C: CONSONANTS (except R)
20  ;;   R: LETTER RA (RA-MGO)
21  ;;   S: SUBJOINED CONSONANTS (except s)
22  ;;   s: SUBJOINED CONSONANTS (don't modify RA-MGO)
23  ;;   V: VOWEL (except a and A)
24  ;;   a: VOWEL SIGN A (invisible when composed)
25  ;;   A: VOWEL SIGN AA (don't make preceding C shorter)
26  ;;   M: MODIFIER
27  ;;   E: ELSE
28  ;;
29  (0x0F00 0x0FCF         ?E)             ; default
30  (0x0F19                ?M)             ; ASTROLOGICAL SIGN SDONG TSHUGS
31  (0x0F35                ?M)             ; MARK NGAS BZUNG NYI ZLA
32  (0x0F37                ?M)             ; MARK NGAS BZUNG SGOR RTAGS
33  (0x0F39                ?M)             ; MARK TSA -PHRU
34  (0x0F40 0x0F6A         ?C)             ; LETTER KA .. LETTER FIXED-FORM RA
35  (0x0F62                ?R)             ; LETTER RA
36  (0x0F70                ?a)             ; VOWEL SIGN A
37  (0x0F71                ?A)             ; VOWEL SIGN AA
38  (0x0F72 0x0F7D         ?V)             ; VOWEL SIGN I .. VOWEL SIGN OO
39  (0x0F7E                ?M)             ; SIGN RJES SU NGA RO
40  (0x0F80                ?V)             ; VOWEL SIGN REVERSED I
41  (0x0F81                ?V)             ; VOWEL SIGN REVERSED II
42  (0x0F82                ?M)             ; SIGN NYI ZLA NAA DA
43  (0x0F83                ?M)             ; SIGN SNA LDAN
44  (0x0F84                ?V)             ; MARK HALANTA
45  ;; SIGN LCI RTAGS .. SIGN GRU MED RGYINGS
46  (0x0F86 0x0F8B         ?M)
47  ;; SUBJOINED LETTER KA .. SUBJOINED LETTER FIXED-FORM RA
48  (0x0F90 0x0FBC         ?s)
49  (0x0FAD                ?S)
50  (0x0FB1 0x0FB2         ?S))
51
52 (generator
53  (0
54   (cond
55    ("[CR][Ss]*[VaA]*M*"
56     <
57     (cond
58      ("R[SA].*"                         ; ར[ྭྱྲཱ]
59       ((0x0F62) 0x2122)                 ; convert ར to upper form
60       subjoined *
61       dependent-vowel-modifier *)
62      (".A.*"                            ; Cཱ
63       consonant
64       dependent-vowel-modifier *)
65      (".[Ss].*"
66       |
67       short-consonant
68       subjoined *
69       dependent-vowel-modifier *
70       |)
71      (".*"
72       consonant
73       dependent-vowel-modifier * )
74      )
75     >)
76    ("."
77     independent
78     subjoined))
79   *)
80
81  (consonant
82   ((range 0x0F40 0x0F6A)        0x2221))
83
84  (short-consonant
85   (cond
86    ((range 0x0F40 0x0F69)       0x2321)
87    ((0x0F6A)                    0x234D)))
88
89  (subjoined
90   ((range 0x0F90 0x0FBC)        bc+tc 0x2321))
91
92  (dependent-vowel-modifier
93   (cond
94    ((0x0F19)    bc-tc 0x2149)
95    ((0x0F35)    bc-tc 0x2165)
96    ((0x0F37)    bc-tc 0x2167)
97    ((0x0F39)    tc-bc 0x2169)
98    ((0x0F70)    )                       ; invisible
99    ((0x0F71)    bc-tc 0x2252)
100    ((0x0F72)    tc-bc 0x2253)
101    ((0x0F73)    bc-tc 0x2252 tc-bc 0x2253)
102    ((0x0F74)    bc-tc 0x2255)
103    ((0x0F75)    bc-tc 0x2256)
104    ((0x0F76)    bc-tc 0x2343 tc-bc 0x2261)
105    ((0x0F77)    bc-tc 0x2343 bc-tc 0x2252 tc-bc 0x2261)
106    ((0x0F78)    bc-tc 0x2344 tc-bc 0x2261)
107    ((0x0F79)    bc-tc 0x2344 bc-tc 0x2262 tc-bc 0x2261)
108    ((0x0F7A)    tc-bc 0x225B)
109    ((0x0F7B)    tc-bc 0x225C)
110    ((0x0F7C)    tc-bc 0x225D)
111    ((0x0F7D)    tc-bc 0x225E)
112    ((0x0F7E)    tc-bc 0x225F)
113    ((0x0F80)    tc-bc 0x2261)
114    ((0x0F81)    bc-tc 0x2252 0x2261)
115    ((0x0F82)    tc-bc 0x2263)
116    ((0x0F83)    tc-bc 0x2264)
117    ((0x0F84)    bc-tc 0x2265)
118    ((0x0F86)    tc-bc 0x2267)
119    ((0x0F87)    tc-bc 0x2268)
120    ((0x0F88)    tc-bc 0x2269)
121    ((0x0F89)    tc-bc 0x226A)
122    ((0x0F8A)    tc-bc 0x226B)
123    ((0x0F8B)    tc-bc 0x226C)))
124
125  (independent
126   (cond
127    ((range 0x0F00 0x0F3F)       0x2130)
128    ((range 0x0F6B 0x0F8B)       0x224C)
129    ((range 0x0FBD 0x0FCF)       0x234E))))
130
131 (category
132  (0x2121 0x24FF ?G))
133
134 (generator
135  (0
136   (cond
137    (" (G*) "
138     (1 precomposed = * ))
139    ("[^ ]*"
140     = * ))
141   *)
142
143  (precomposed
144   (cond
145    ((0x2321 0x233E)             0x2421)
146    ((0x2321 0x2342)             0x2440)
147    ((0x2321 0x2343)             0x2450)
148    ((0x2321 0x2344)             0x2460)
149    ((0x2322 0x233E)             0x2422)
150    ((0x2322 0x2342)             0x2441)
151    ((0x2322 0x2343)             0x2451)
152    ((0x2323 0x233E)             0x2423)
153    ((0x2323 0x2342)             0x2442)
154    ((0x2323 0x2343 0x233E)      0x245F)
155    ((0x2323 0x2343)             0x2452)
156    ((0x2323 0x2344)             0x2461)
157    ((0x2326 0x233E)             0x2424)
158    ((0x2328 0x2343)             0x245D)
159    ((0x232A 0x233E)             0x2425)
160    ((0x2330 0x233E)             0x2426)
161    ((0x2330 0x2343)             0x2453)
162    ((0x2331 0x2343)             0x2454)
163    ((0x2332 0x233E)             0x2427)
164    ((0x2332 0x2343)             0x2455)
165    ((0x2335 0x2342)             0x2443)
166    ((0x2335 0x2343)             0x2456)
167    ((0x2336 0x2342 0x233E)      0x2447)
168    ((0x2336 0x2342)             0x2444)
169    ((0x2336 0x2343)             0x2457)
170    ((0x2337 0x2342)             0x2445)
171    ((0x2337 0x2343)             0x2458)
172    ((0x2337 0x2344)             0x2462)
173    ((0x2339 0x2342)             0x2446)
174    ((0x2339 0x2343)             0x2459)
175    ((0x233A 0x233E)             0x2428)
176    ((0x233B 0x233E)             0x2429)
177    ((0x233C 0x2343)             0x245E)
178    ((0x233F 0x233E)             0x242A)
179    ((0x2340 0x233E)             0x242B)
180    ((0x2340 0x2344)             0x2463)
181    ((0x2343 0x2321 0x2342)      0x2530)
182    ((0x2343 0x2321)             0x2521)
183    ((0x2343 0x2323 0x233E)      0x252D)
184    ((0x2343 0x2323 0x2342)      0x2531)
185    ((0x2343 0x2323)             0x2522)
186    ((0x2343 0x2325)             0x2523)
187    ((0x2343 0x2328)             0x2524)
188    ((0x2343 0x232A)             0x2525)
189    ((0x2343 0x2330)             0x2526)
190    ((0x2343 0x2332)             0x2527)
191    ((0x2343 0x2334)             0x2528)
192    ((0x2343 0x2337)             0x2529)
193    ((0x2343 0x2339 0x2342)      0x2532)
194    ((0x2343 0x2339)             0x252A)
195    ((0x2343 0x233A 0x233E)      0x252E)
196    ((0x2343 0x233A)             0x252B)
197    ((0x2343 0x233C)             0x252C)
198    ((0x2343 0x233E)             0x242C)
199    ((0x2343 0x2344)             0x2464)
200    ((0x2344 0x2321)             0x2540)
201    ((0x2344 0x2323)             0x2541)
202    ((0x2344 0x2325)             0x2542)
203    ((0x2344 0x2326)             0x2543)
204    ((0x2344 0x2328)             0x2544)
205    ((0x2344 0x2330)             0x2545)
206    ((0x2344 0x2332)             0x2546)
207    ((0x2344 0x2334)             0x2121)
208    ((0x2344 0x2335)             0x2547)
209    ((0x2344 0x2337)             0x2548)
210    ((0x2344 0x233E)             0x242D)
211    ((0x2344 0x2348)             0x2549)
212    ((0x2345 0x233E)             0x242E)
213    ((0x2345 0x2343)             0x245A)
214    ((0x2347 0x2321 0x2342)      0x2560)
215    ((0x2347 0x2321 0x2343)      0x2570)
216    ((0x2347 0x2321)             0x2550)
217    ((0x2347 0x2323 0x2342)      0x2561)
218    ((0x2347 0x2323 0x2343)      0x2571)
219    ((0x2347 0x2323)             0x2551)
220    ((0x2347 0x2325)             0x2552)
221    ((0x2347 0x232A)             0x2553)
222    ((0x2347 0x2330)             0x2554)
223    ((0x2347 0x2332)             0x2555)
224    ((0x2347 0x2334 0x2343)      0x2572)
225    ((0x2347 0x2334)             0x2556)
226    ((0x2347 0x2335 0x2342)      0x2562)
227    ((0x2347 0x2335 0x2343)      0x2573)
228    ((0x2347 0x2335)             0x2557)
229    ((0x2347 0x2337 0x2342)      0x2563)
230    ((0x2347 0x2337 0x2343)      0x2574)
231    ((0x2347 0x2337)             0x2558)
232    ((0x2347 0x2339 0x2342)      0x2564)
233    ((0x2347 0x2339 0x2343)      0x2575)
234    ((0x2347 0x2339)             0x2559)
235    ((0x2347 0x233A)             0x255A)
236    ((0x2347 0x233E)             0x242F)
237    ((0x2347 0x2343)             0x245B)
238    ((0x2347 0x2344)             0x2465)
239    ((0x2348 0x233E)             0x2430)
240    ((0x2348 0x2343)             0x245C))))
241
242 ;; Copyright (C) 2003, 2004, 2007
243 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
244 ;;   Registration Number H15PRO112
245
246 ;; This file is part of the m17n database; a sub-part of the m17n
247 ;; library.
248
249 ;; The m17n library is free software; you can redistribute it and/or
250 ;; modify it under the terms of the GNU Lesser General Public License
251 ;; as published by the Free Software Foundation; either version 2.1 of
252 ;; the License, or (at your option) any later version.
253
254 ;; The m17n library is distributed in the hope that it will be useful,
255 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
256 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
257 ;; Lesser General Public License for more details.
258
259 ;; You should have received a copy of the GNU Lesser General Public
260 ;; License along with the m17n library; if not, write to the Free
261 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
262 ;; Boston, MA 02110-1301, USA.
263
264 ;; Local Variables:
265 ;; mode: lisp
266 ;; coding: utf-8
267 ;; End: