1 ;; SINH-OTF.flt -- Font Layout Table for Sinhala OpenType fonts
2 ;; Copyright (C) 2004, 2005, 2007, 2010 AIST (H15PRO112)
3 ;; See the end for copying conditions.
5 (font layouter sinh-otf nil
6 (font (nil nil unicode-bmp :otf=sinh)))
10 ;;; For Sinhala OpenType fonts to draw Sinhala.
11 ;;; A Font is available from <http://sinhala.sourceforge.net/files/>.
35 ;; Decompose multi-part vowel signs.
36 ((0x0DDA) 0x0DD9 0x0DCA)
37 ((0x0DDC) 0x0DD9 0x0DCF)
38 ((0x0DDD) 0x0DD9 0x0DCF 0x0DCA)
39 ((0x0DDE) 0x0DD9 0x0DDF)
44 ;; Syllable identification and matra reordering
48 ;; Consonant-based syllables
50 ("(C(HJC)*)(mm?)?(u?b?p?H?A?)"
51 < | (3 = *) (1 = *) (4 = *) | >)
53 ;; Syllables with an independent vowel
57 ;; Combining marks are displayed with a DOTTED CIRCLE.
60 ((font-facility 0x25CC) < = 0x25CC = >)
63 ((0x0DD9 0x0DCF 0x0DCA)
65 ((font-facility 0x25CC) < = 0x25CC = = >)
70 ((font-facility 0x25CC) < = 0x25CC = >)
75 ((font-facility 0x25CC) < = 0x25CC = >)
80 ((font-facility 0x25CC) < = 0x25CC >)
85 ((font-facility 0x25CC) < 0x25CC = >)
91 ;; Step 2 : OTF substitutions.
96 (1 :otf=sinh=akhn,vatu,liga+pres,abvs,blws,psts))
100 ;; Copyright (C) 2004, 2005, 2007, 2010
101 ;; National Institute of Advanced Industrial Science and Technology (AIST)
102 ;; Registration Number H15PRO112
104 ;; This file is part of the m17n database; a sub-part of the m17n
107 ;; The m17n library is free software; you can redistribute it and/or
108 ;; modify it under the terms of the GNU Lesser General Public License
109 ;; as published by the Free Software Foundation; either version 2.1 of
110 ;; the License, or (at your option) any later version.
112 ;; The m17n library is distributed in the hope that it will be useful,
113 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
114 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
115 ;; Lesser General Public License for more details.
117 ;; You should have received a copy of the GNU Lesser General Public
118 ;; License along with the m17n library; if not, write to the Free
119 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
120 ;; Boston, MA 02110-1301, USA.