Add gardi-1.3 for Devanagari.
[m17n/m17n-db.git] / MYANMAR-ZEDI.flt
1 ;; MYANMAR-ZEDI.flt -- Font Layout Table for Myanmar (Zedi font)
2 ;; Copyright (C) 2004
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., 59 Temple Place, Suite 330, Boston, MA
22 ;; 02111-1307, USA.
23
24 ;;; <li> MYANMAR-ZEDI.flt
25 ;;;
26 ;;; For the Myanmar Zedi family fonts to draw Myanmar script.  Please
27 ;;; note that this is not yet completed, i.e. no rules for ligature,
28 ;;; etc are added.  The fonts are available at:
29 ;;; <ul>
30 ;;; <li> infopage: ???
31 ;;; </ul>
32
33 (category
34  ;; C: Consonant
35  ;; V: Dependent vowel
36  ;; E: VIWEL SIGN E
37  ;; H: Halant
38  ;; D: Dependent sign
39  ;; Z: ZWNJ
40  ;; O: Other
41  (0x1000 0x107F ?O)
42  (0x1000 0x1020 ?C)
43  (0x1021 0x102A ?O)
44  (0x102C 0x1030 ?V)
45  (0x1031        ?E)
46  (0x1032        ?V)
47  (0x1036 0x1038 ?D)
48  (0x1039        ?H)
49  (0x1056 0x1059 ?D)
50  (0x200C        ?Z)
51  )
52
53 (generator
54  (0
55   (cond
56    ;; Consonant + VOWEL SIGN E
57    ("(C)(E)"
58     ;; Put E at the head.
59     < (2 =) (1 = ) >)
60    ;; Consonant + Halant followed by ZWNJ
61    ("(CH)Z"
62     ;; Display Halant.
63     < (1 = =) >)
64    ;; Consonant + Halant not followed by ZWNJ
65    ("CH"
66     ;; Don't display Halant.
67     =)
68    ;; Consonant + the other dependend vowel/sign
69    ("C[VD]"
70     < = = >)
71    ;; Single E
72    ("E"
73     ;; Append dotted circle.
74     = 0x25CC)
75    ;; The other single combining character
76    ("[VHD]"
77     ;; Prepend dotted circle.
78     0x25CC =)
79    ;; The othe single character
80    ("."
81     [ = ]))
82   *))