*** empty log message ***
[m17n/m17n-db.git] / FLT / LAOO-MULE.flt
1 ;; LAOO-MULE.flt -- Font Layout Table for Lao (mule font)
2 ;; Copyright (C) 2003, 2004, 2007
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-MULE.flt
25 ;;;
26 ;;; For Lao fonts of mule encoding to draw Lao script.  The font is
27 ;;; available at:
28 ;;; <ul>
29 ;;; <li> infopage: http://www.gnu.org/directory/localization/intlfonts.html
30 ;;; <li> download: ftp://ftp.gnu.org/pub/gnu/intlfonts/intlfonts-1.2.1.tar.gz
31 ;;; </ul>
32
33 (font layouter laoo-mule nil
34       (font (mulelao-1)))
35
36 (category
37  ;; C: CONSONANT (except c and s)
38  ;; c: TALL CONSONANT
39  ;; s: LAO SEMIVOWEL SIGN LO
40  ;; V: VOWEL UPPER
41  ;; v: VOWEL LOWER
42  ;; T: TONE
43  ;; I: INDEPENDENT
44  ;;
45  (0x0E80 0x0EDF ?I)
46  (0x0E81 0x0E82 ?C)
47  (0x0E84        ?C)
48  (0x0E87 0x0E88 ?C)
49  (0x0E8A        ?C)
50  (0x0E8D        ?C)
51  (0x0E94 0x0E97 ?C)
52  (0x0E99 0x0E9E ?C)
53  (0x0E9B        ?c)
54  (0x0E9D        ?c)
55  (0x0E9F        ?c)
56  (0x0EA1 0x0EA3 ?C)
57  (0x0EA2        ?c)
58  (0x0EA5        ?C)
59  (0x0EA7        ?C)
60  (0x0EAA 0x0EAB ?C)
61  (0x0EAD 0x0EAE ?C)
62  (0x0EB1        ?V)
63  (0x0EB4 0x0EB7 ?V)
64  (0x0EB8 0x0EB9 ?v)
65  (0x0EBB        ?V)
66  (0x0EBC        ?s)
67  (0x0EC8 0x0ECC ?T)
68  (0x0ECD        ?V))
69
70 (generator
71  (0
72   (cond
73    ("cs?(VT?|v?T)"
74     <
75     ("(cs?)" independent semi-vowel)
76     ("VT?" composed-non-relative composed-relative *)
77     (".*" composed-non-relative *)
78     > )
79    ("Cs?[vV]?T?"
80     < independent semi-vowel composed-relative * > )
81    ("[^Cs]*"
82     independent *))
83   *)
84
85  (independent
86   ((range 0x0E80 0x0EDF) 0xA0))
87
88  (composed-relative
89   (cond
90    ((0x0EB1)    tc+bc 0xD1)
91    ((0x0EB4)    tc+bc 0xD4)
92    ((0x0EB5)    tc+bc 0xD5)
93    ((0x0EB6)    tc+bc 0xD6)
94    ((0x0EB7)    tc+bc 0xD7)
95    ((0x0EB8)    bc+tc 0xD8)
96    ((0x0EB9)    bc+tc 0xD9)
97    ((0x0EBB)    tc+bc 0xDB)
98    ((0x0EC7)    tc+bc 0xE7)
99    ((0x0EC8)    tc+bc 0xE8)
100    ((0x0EC9)    tc+bc 0xE9)
101    ((0x0ECA)    tc+bc 0xEA)
102    ((0x0ECB)    tc+bc 0xEB)
103    ((0x0ECC)    tc+bc 0xEC)
104    ((0x0ECD)    tc+bc 0xED)
105    ((0x0ECE)    tc+bc 0xEE)))
106
107  (semi-vowel
108   ((0x0EBC)     Bc-Bc 0xDC))
109
110  (composed-non-relative
111   (cond
112    ((0x0EB1)    Bc-Bc 0xD1)
113    ((0x0EB4)    Bc-Bc 0xD4)
114    ((0x0EB5)    Bc-Bc 0xD5)
115    ((0x0EB6)    Bc-Bc 0xD6)
116    ((0x0EB7)    Bc-Bc 0xD7)
117    ((0x0EB8)    Bc-Bc 0xD8)
118    ((0x0EB9)    Bc-Bc 0xD9)
119    ((0x0EBB)    Bc-Bc 0xDB)
120    ((0x0E47)    Bc-Bc 0xE7)
121    ((0x0E48)    Bc-Bc 0xE8)
122    ((0x0E49)    Bc-Bc 0xE9)
123    ((0x0E4A)    Bc-Bc 0xEA)
124    ((0x0E4B)    Bc-Bc 0xEB)
125    ((0x0E4C)    Bc-Bc 0xEC)
126    ((0x0E4D)    Bc-Bc 0xED)
127    ((0x0E4E)    Bc-Bc 0xEE))))
128
129 ;; Local Variables:
130 ;; mode: lisp
131 ;; End: