;; LAOO-MULE.flt -- Font Layout Table for Lao (mule font)
;; Copyright (C) 2003, 2004, 2007  AIST (H15PRO112)
;; See the end for copying conditions.

(font layouter laoo-mule nil
      (font (mulelao-1)))

;;; <li> LAOO-MULE.flt
;;;
;;; For Lao fonts of mule encoding to draw Lao script.  The font is
;;; available at:
;;; <ul>
;;; <li> infopage: http://www.gnu.org/directory/localization/intlfonts.html
;;; <li> download: ftp://ftp.gnu.org/pub/gnu/intlfonts/intlfonts-1.2.1.tar.gz
;;; </ul>

(category
 ;; C: CONSONANT (except c and s)
 ;; c: TALL CONSONANT
 ;; s: LAO SEMIVOWEL SIGN LO
 ;; V: VOWEL UPPER
 ;; v: VOWEL LOWER
 ;; T: TONE
 ;; I: INDEPENDENT
 ;;
 (0x0E80 0x0EDF	?I)
 (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)
 (0x0EB1	?V)
 (0x0EB4 0x0EB7	?V)
 (0x0EB8 0x0EB9	?v)
 (0x0EBB	?V)
 (0x0EBC	?s)
 (0x0EC8 0x0ECC	?T)
 (0x0ECD	?V))

(generator
 (0
  (cond
   ("cs?(VT?|v?T)"
    <
    ("(cs?)" independent semi-vowel)
    ("VT?" composed-non-relative composed-relative *)
    (".*" composed-non-relative *)
    > )
   ("Cs?[vV]?T?"
    < independent semi-vowel composed-relative * > )
   ("[^Cs]*"
    independent *))
  *)

 (independent
  ((range 0x0E80 0x0EDF) 0xA0))

 (composed-relative
  (cond
   ((0x0EB1)	tc+bc 0xD1)
   ((0x0EB4)	tc+bc 0xD4)
   ((0x0EB5)	tc+bc 0xD5)
   ((0x0EB6)	tc+bc 0xD6)
   ((0x0EB7)	tc+bc 0xD7)
   ((0x0EB8)	bc+tc 0xD8)
   ((0x0EB9)	bc+tc 0xD9)
   ((0x0EBB)	tc+bc 0xDB)
   ((0x0EC7)	tc+bc 0xE7)
   ((0x0EC8)	tc+bc 0xE8)
   ((0x0EC9)	tc+bc 0xE9)
   ((0x0ECA)	tc+bc 0xEA)
   ((0x0ECB)	tc+bc 0xEB)
   ((0x0ECC)	tc+bc 0xEC)
   ((0x0ECD)	tc+bc 0xED)
   ((0x0ECE)	tc+bc 0xEE)))

 (semi-vowel
  ((0x0EBC)	Bc-Bc 0xDC))

 (composed-non-relative
  (cond
   ((0x0EB1)	Bc-Bc 0xD1)
   ((0x0EB4)	Bc-Bc 0xD4)
   ((0x0EB5)	Bc-Bc 0xD5)
   ((0x0EB6)	Bc-Bc 0xD6)
   ((0x0EB7)	Bc-Bc 0xD7)
   ((0x0EB8)	Bc-Bc 0xD8)
   ((0x0EB9)	Bc-Bc 0xD9)
   ((0x0EBB)	Bc-Bc 0xDB)
   ((0x0E47)	Bc-Bc 0xE7)
   ((0x0E48)	Bc-Bc 0xE8)
   ((0x0E49)	Bc-Bc 0xE9)
   ((0x0E4A)	Bc-Bc 0xEA)
   ((0x0E4B)	Bc-Bc 0xEB)
   ((0x0E4C)	Bc-Bc 0xEC)
   ((0x0E4D)	Bc-Bc 0xED)
   ((0x0E4E)	Bc-Bc 0xEE))))

;; Copyright (C) 2003, 2004, 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:
