;; LAOO-GENERIC.flt -- Font Layout Table for Lao
;; Copyright (C) 2005, 2007  AIST (H15PRO112)
;; See the end for copying conditions.

(font layouter laoo-generic nil
      (font (nil nil unicode-bmp :lang=lo)))

;;; <li> LAOO-GENERIC.flt

(category
 ;; C: CONSONANT (except for c and s)
 ;; c: TALL CONSONANT
 ;; s: LAO SEMIVOWEL SIGN LO
 ;; A: VOWEL AM
 ;; V: VOWEL UPPER
 ;; v: VOWEL LOWER
 ;; T: TONE
 ;; I: INDEPENDENT VOWEL (except for A)
 ;; S: SIGN
 (0x0E81 0x0E82	?C)
 (0x0E84	?C)
 (0x0E87 0x0E88	?C)
 (0x0E8A	?C)
 (0x0E8D	?C)
 (0x0E94 0x0E97	?C)
 (0x0E99 0x0E9E	?C)
 (0x0E9B	?c)
 (0x0E9D	?c)
 (0x0E9F	?c)
 (0x0EA1 0x0EA3	?C)
 (0x0EA2	?c)
 (0x0EA5	?C)
 (0x0EA7	?C)
 (0x0EAA 0x0EAB	?C)
 (0x0EAD 0x0EAE	?C)
 (0x0EAF	?S)
 (0x0EB0	?I)
 (0x0EB1	?V)
 (0x0EB2	?I)
 (0x0EB3	?A)
 (0x0EB4 0x0EB7	?V)
 (0x0EB8 0x0EB9	?v)
 (0x0EBB	?V)
 (0x0EBC	?s)
 (0x0EBD	?I)
 (0x0EC0 0x0EC4 ?I)
 (0x0EC6	?S)
 (0x0EC8 0x0ECC	?T)
 (0x0ECD	?V)
 (0x0ED0 0x0ED9 ?I)
 (0x0EDC 0x0EDD ?C))

(generator
 (0
  (cond
   ("(Cs?)(T)?(A)"
    < (1 = =) 0x0ECD (2 tr+bl =) (3 0x0EB2) > )
   ("(cs?)(T)?(A)"
    < (1 = =) Br<10Bl 0x0ECD (2 tr+<10bl =) (3 0x0EB2) > )
   ("(Cs?[vV]?)(T)?"
    < (1 = *) (2 tr+bl =) > )
   ("(cs?)([vV])?(T)?"
    < (1 = *) (2 (cond ("v" =) ("." Br<10Bl =))) (3 tr+<10bl =) > )
   ("[sVvTA]"
    [ = ])
   ("."
    =))
  *))

;; Copyright (C) 2005, 2007
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H15PRO112

;; This file is part of the m17n database; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;; Local Variables:
;; mode: lisp
;; End:
