Specify GPOS order explicitly.
[m17n/m17n-db.git] / FLT / THAA-OTF.flt
1 ;; THAA.flt -- Font Layout Table for Thaana OpenType font
2 ;; Copyright (C) 2004, 2005, 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> THAA-OTF.flt
25 ;;;
26 ;;; For Thaana OpenType fonts to draw the Thaana script.
27
28 (font layouter thaa-otf nil
29       (font (nil nil unicode-bmp :otf=thaa)))
30
31 (category
32  (0x0780 0x07a5 ?c)                     ; consonants
33  (0x07a6 0x07b0 ?v)                     ; vowels
34  (0x07b1        ?c)                     ; consonant
35  )
36
37 ;; Grouping.
38 (generator
39  (0
40   (cond
41    ;; GPOS of OTF wil override this combining rule.
42    ("cv" < = Bl.Bl = >)
43    ("v" [ = ])
44    ("." =))
45   *))
46
47 ;; Drive OTF.
48 (generator
49  (0
50   otf:thaa=+mark))
51
52 ;; Local Variables:
53 ;; mode: lisp
54 ;; End: