From 7975ea966b8129be7c499bf447c2e7bb239e709c Mon Sep 17 00:00:00 2001 From: ntakahas Date: Thu, 1 Jul 2010 05:11:32 +0000 Subject: [PATCH] New file. --- FLT/HEBR-OTF.flt | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 FLT/HEBR-OTF.flt diff --git a/FLT/HEBR-OTF.flt b/FLT/HEBR-OTF.flt new file mode 100644 index 0000000..99b38bb --- /dev/null +++ b/FLT/HEBR-OTF.flt @@ -0,0 +1,79 @@ +;; HEBR-OTF.flt -- Font Layout Table for Hebrew OpenType fonts +;; Copyright (C) 2010 AIST (H15PRO112) +;; See the end for copying conditions. + +(font layouter hebr-otf nil + (font (nil nil unicode-bmp :otf=hebr))) + +;;;
  • HEBR-OTF.flt +;;; +;;; For Hebrew OpenType fonts to draw the Hebrew script. + +(category + (0x0590 0x05FF ?X) ; generic + (0x0591 0x05AF ?m) ; cantillation marks + (0x05B0 0x05BB ?v) ; vowels + (0x05BC ?d) ; dagesh + (0x05BD ?P) ; meteg + (0x05BF ?p) ; rafe + (0x05C1 0x05C2 ?s) ; shin/sin dot + (0x05C4 0x05C5 ?p) ; upper/lower dot + (0x05C7 ?v) ; qamats qatan + (0x05D0 0x05EA ?C) ; consonants + (0x05E9 ?S) ; shin + + (0xFB1D 0xFB4F ?X) ; generic + (0xFB1E ?p) ; judeo-spanish varika + + (0x034F ?G) ; COMBINING GRAPHEME JOINER + (0x200C ?N) ; ZWNJ + (0x200D ?J) ; ZWJ + (0x25CC ?X) ; DOTTED CIRCLE + ) + +(generator + (0 + (cond + ("Cd?v?[NJ]?[Pp]?m?" + < :otf=hebr >) + ("Cd?PGvm?" + < :otf=hebr >) + + ("S(ds?|sd?)?v?[NJ]?[Pp]?m?" + < :otf=hebr >) + ("S(ds?|sd?)PGvm?" + < :otf=hebr >) + + ("[mvdps]" + (cond + ((font-facility 0x25CC) < 0x25CC = >) + ("." [ = ]))) + + ("." =)) + *)) + +;; Copyright (C) 2010 +;; 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: emacs-lisp +;; End: -- 1.7.10.4