1 ;; KHMR-MULE.flt -- Font Layout Table for Khmer (mule font)
2 ;; Copyright (C) 2003, 2004, 2007 AIST (H15PRO112)
3 ;; See the end for copying conditions.
5 (font layouter khmr-mule nil
10 ;;; For Khmer fonts of mule encoding to draw Khmer script. The font is
11 ;;; available at: <ftp://ftp.m17n.org/m17n-fonts/>
14 (0x1780 0x17A2 ?C) ;; C: CONSONANT (except R and KHMER LETTER LA)
15 (0x179A ?R) ;; R: KHMER LETTER RO
16 (0x17A1 ?E) ;; E: ELSE
18 (0x17A5 0x17B3 ?V) ;; V: INDEPENDENT VOWEL (except Q)
19 (0x17A7 ?Q) ;; Q: CONJUNCT VOWEL QU, RY, QE
24 (0x17B6 0x17C5 ?v) ;; v: DEPENDENT VOWEL
25 (0x17C6 ?S) ;; S: COMBINING SIGN
26 (0x17C9 0x17CA ?s) ;; s: SHIFT
28 (0x17D2 ?c) ;; c: KHMER SIGN COENG (function as virama)
34 ("[CR](c[CRQ])?(cR)?s?v?S?"
36 (".(c[CRQ])(cR)?s?v?S?"
38 ("(.)c(.)(c(.))?" (1 independent) (2 conjunct) (4 conjunct))
41 ("[CR][svS][svS]*" < | independent vowel-and-sign * | > )
48 ((0x17D8) 0xD4 0x9B 0xD4)
49 ((range 0x1780 0x17FF) 0x80)))
59 ((range 0x179E 0x179F) Br.Bc 0x5E)
60 ((range 0x1780 0x17AF) bc-tc 0x40)
69 ((0x17BE) tc.bc 0xB8 Bl.Br 0xC1)
70 ((0x17BF) Bl.Br 0xC1 Br.Bc 0x04)
71 ((0x17C0) Bl.Br 0xC1 Br.Bc 0x05)
75 ((0x17C4) Bl.Br 0xC1 Br.Bl 0xB6)
76 ((0x17C5) Bl.Br 0xC1 Br.Bl 0x2D)
80 ((range 0x17B7 0x17D0) tc+bc 0xB7))))
103 (0x00 0xFF ?E) ;; E: else
104 (0x40 0x6F ?c) ;; c: conjunct CONSONANT
105 (0x49 ?n) ;; n: conjunct KHMER LETTER NYO
106 (0x59 ?y) ;; y: conjunct KHMER LETTER YO
107 (0x80 0xA2 ?C) ;; C: first CONSONANT
108 (0x89 ?N) ;; N: first KHMER LETTER NYO
109 (0xB2 ?Q) ;; Q: KHMER INDEPENDENT VOWEL QOO TYPE TWO
118 ("N[cny]" 0x27 ((0x49) bc-tc 0x28) =)
125 (0x00 0x7F ?n) ;; n: width:normal height:normal depth:deep
126 (0x04 0x05 ?V) ;; V: right part of KHMER VOWEL SIGN YA and IE
127 (0x26 ?w) ;; w: width:wide height:normal depth:deep
128 (0x27 ?W) ;; W: width:wide height:normal depth:normal
131 (0x2C ?N) ;; N: width:normal height:normal depth:normal
135 (0x5A ?r) ;; r: conjunct KHMER LETTER RO
139 (0x84 ?T) ;; T: width:normal height:high depth:normal
158 ("(Wnr)([^V]*)(V)?(.*)" = *)
159 ("(Tnr)([^V]*)(V)?(.*)"
160 (1 = = ((0x5A) Bl<Bc 0x20) =) (2 = *) (3 high-deep-YA-IE =) (4 = *))
161 ("(..r)([^V]*)(V)?(.*)"
162 (1 = = ((0x5A) Bl<Bc 0x20) =) (2 = *) (3 deep-YA-IE =) (4 = *))
163 ("(T[nw][^V]*)(V)?(.*)"
164 (1 = *) (2 high-deep-YA-IE =) (3 = *))
165 ("(.[nw][^V]*)(V)?(.*)"
166 (1 = *) (2 deep-YA-IE =) (3 = *))
168 (1 = *) (2 high-YA-IE =) (3 = *))
175 ((range 0x04 0x05) Br.Bc 0x24))
178 ((range 0x04 0x05) Br.Bc 0x34))
181 ((range 0x04 0x05) Br.bc 0x14)))
183 ;; Copyright (C) 2003, 2004, 2007
184 ;; National Institute of Advanced Industrial Science and Technology (AIST)
185 ;; Registration Number H15PRO112
187 ;; This file is part of the m17n database; a sub-part of the m17n
190 ;; The m17n library is free software; you can redistribute it and/or
191 ;; modify it under the terms of the GNU Lesser General Public License
192 ;; as published by the Free Software Foundation; either version 2.1 of
193 ;; the License, or (at your option) any later version.
195 ;; The m17n library is distributed in the hope that it will be useful,
196 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
197 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
198 ;; Lesser General Public License for more details.
200 ;; You should have received a copy of the GNU Lesser General Public
201 ;; License along with the m17n library; if not, write to the Free
202 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
203 ;; Boston, MA 02110-1301, USA.