1 ;; KHMR-MULE.flt -- Font Layout Table for Khmer (mule font)
2 ;; Copyright (C) 2003, 2004
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n database; a sub-part of the m17n
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.
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.
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
24 ;;; <li> KHMR-MULE.flt
26 ;;; For Khmer fonts of mule encoding to draw Khmer script. The font is
27 ;;; available at: <ftp://ftp.m17n.org/m17n-fonts/>
30 (0x1780 0x17A2 ?C) ;; C: CONSONANT (except R and KHMER LETTER LA)
31 (0x179A ?R) ;; R: KHMER LETTER RO
32 (0x17A1 ?E) ;; E: ELSE
34 (0x17A5 0x17B3 ?V) ;; V: INDEPENDENT VOWEL (except Q)
35 (0x17A7 ?Q) ;; Q: CONJUNCT VOWEL QU, RY, QE
40 (0x17B6 0x17C5 ?v) ;; v: DEPENDENT VOWEL
41 (0x17C6 ?S) ;; S: COMBINING SIGN
42 (0x17C9 0x17CA ?s) ;; s: SHIFT
44 (0x17D2 ?c) ;; c: KHMER SIGN COENG (function as virama)
50 ("[CR](c[CRQ])?(cR)?s?v?S?"
52 (".(c[CRQ])(cR)?s?v?S?"
54 ("(.)c(.)(c(.))?" (1 independent) (2 conjunct) (4 conjunct))
57 ("[CR][svS][svS]*" < | independent vowel-and-sign * | > )
64 ((0x17D8) 0xD4 0x9B 0xD4)
65 ((range 0x1780 0x17FF) 0x80)))
75 ((range 0x179E 0x179F) Br.Bc 0x5E)
76 ((range 0x1780 0x17AF) bc-tc 0x40)
85 ((0x17BE) tc.bc 0xB8 Bl.Br 0xC1)
86 ((0x17BF) Bl.Br 0xC1 Br.Bc 0x04)
87 ((0x17C0) Bl.Br 0xC1 Br.Bc 0x05)
91 ((0x17C4) Bl.Br 0xC1 Br.Bl 0xB6)
92 ((0x17C5) Bl.Br 0xC1 Br.Bl 0x2D)
96 ((range 0x17B7 0x17D0) tc+bc 0xB7))))
119 (0x00 0xFF ?E) ;; E: else
120 (0x40 0x6F ?c) ;; c: conjunct CONSONANT
121 (0x49 ?n) ;; n: conjunct KHMER LETTER NYO
122 (0x59 ?y) ;; y: conjunct KHMER LETTER YO
123 (0x80 0xA2 ?C) ;; C: first CONSONANT
124 (0x89 ?N) ;; N: first KHMER LETTER NYO
125 (0xB2 ?Q) ;; Q: KHMER INDEPENDENT VOWEL QOO TYPE TWO
134 ("N[cny]" 0x27 ((0x49) bc-tc 0x28) =)
141 (0x00 0x7F ?n) ;; n: width:normal height:normal depth:deep
142 (0x04 0x05 ?V) ;; V: right part of KHMER VOWEL SIGN YA and IE
143 (0x26 ?w) ;; w: width:wide height:normal depth:deep
144 (0x27 ?W) ;; W: width:wide height:normal depth:normal
147 (0x2C ?N) ;; N: width:normal height:normal depth:normal
151 (0x5A ?r) ;; r: conjunct KHMER LETTER RO
155 (0x84 ?T) ;; T: width:normal height:high depth:normal
174 ("(Wnr)([^V]*)(V)?(.*)" = *)
175 ("(Tnr)([^V]*)(V)?(.*)"
176 (1 = = ((0x5A) Bl<Bc 0x20) =) (2 = *) (3 high-deep-YA-IE =) (4 = *))
177 ("(..r)([^V]*)(V)?(.*)"
178 (1 = = ((0x5A) Bl<Bc 0x20) =) (2 = *) (3 deep-YA-IE =) (4 = *))
179 ("(T[nw][^V]*)(V)?(.*)"
180 (1 = *) (2 high-deep-YA-IE =) (3 = *))
181 ("(.[nw][^V]*)(V)?(.*)"
182 (1 = *) (2 deep-YA-IE =) (3 = *))
184 (1 = *) (2 high-YA-IE =) (3 = *))
191 ((range 0x04 0x05) Br.Bc 0x24))
194 ((range 0x04 0x05) Br.Bc 0x34))
197 ((range 0x04 0x05) Br.bc 0x14)))