New file.
[m17n/m17n-db.git] / FLT / HEBR-OTF.flt
1 ;; HEBR-OTF.flt -- Font Layout Table for Hebrew OpenType fonts
2 ;; Copyright (C) 2010 AIST (H15PRO112)
3 ;; See the end for copying conditions.
4
5 (font layouter hebr-otf nil
6       (font (nil nil unicode-bmp :otf=hebr)))
7
8 ;;; <li> HEBR-OTF.flt
9 ;;;
10 ;;; For Hebrew OpenType fonts to draw the Hebrew script.
11
12 (category
13  (0x0590 0x05FF ?X)                     ; generic
14  (0x0591 0x05AF ?m)                     ; cantillation marks
15  (0x05B0 0x05BB ?v)                     ; vowels
16  (0x05BC        ?d)                     ; dagesh
17  (0x05BD        ?P)                     ; meteg
18  (0x05BF        ?p)                     ; rafe
19  (0x05C1 0x05C2 ?s)                     ; shin/sin dot
20  (0x05C4 0x05C5 ?p)                     ; upper/lower dot
21  (0x05C7        ?v)                     ; qamats qatan
22  (0x05D0 0x05EA ?C)                     ; consonants
23  (0x05E9        ?S)                     ; shin
24
25  (0xFB1D 0xFB4F ?X)                     ; generic
26  (0xFB1E        ?p)                     ; judeo-spanish varika
27
28  (0x034F        ?G)                     ; COMBINING GRAPHEME JOINER
29  (0x200C        ?N)                     ; ZWNJ
30  (0x200D        ?J)                     ; ZWJ
31  (0x25CC        ?X)                     ; DOTTED CIRCLE
32  )
33
34 (generator
35  (0
36   (cond
37    ("Cd?v?[NJ]?[Pp]?m?"
38     < :otf=hebr >)
39    ("Cd?PGvm?"
40     < :otf=hebr >)
41
42    ("S(ds?|sd?)?v?[NJ]?[Pp]?m?"
43     < :otf=hebr >)
44    ("S(ds?|sd?)PGvm?"
45     < :otf=hebr >)
46
47    ("[mvdps]"
48     (cond
49      ((font-facility 0x25CC) < 0x25CC = >)
50      ("." [ = ])))
51
52    ("." =))
53   *))
54
55 ;; Copyright (C) 2010
56 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
57 ;;   Registration Number H15PRO112
58
59 ;; This file is part of the m17n database; a sub-part of the m17n
60 ;; library.
61
62 ;; The m17n library is free software; you can redistribute it and/or
63 ;; modify it under the terms of the GNU Lesser General Public License
64 ;; as published by the Free Software Foundation; either version 2.1 of
65 ;; the License, or (at your option) any later version.
66
67 ;; The m17n library is distributed in the hope that it will be useful,
68 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
69 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
70 ;; Lesser General Public License for more details.
71
72 ;; You should have received a copy of the GNU Lesser General Public
73 ;; License along with the m17n library; if not, write to the Free
74 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
75 ;; Boston, MA 02110-1301, USA.
76
77 ;; Local Variables:
78 ;; mode: emacs-lisp
79 ;; End: