1 ;; ARAB.flt -- Font Layout Table for Arabic font (Unicode encoding)
2 ;; Copyright (C) 2003, 2004, 2007 AIST (H15PRO112)
3 ;; See the end for copying conditions.
5 (font layouter arab nil
6 (font (nil bitstream\ cyberbase unicode-bmp)))
10 ;;; For Arabic fonts of Unicode encoding to draw Arabic script.
12 ;; phase 1: Kazakh high hamza
21 (0xFB50 0xFDFF ?x) ; Arabic Presentation Forms-A
22 (0xFE70 0xFEFC ?x) ; Arabic Presentation Forms-B
33 (1 < 0x0674 rmhamza >)
47 (0x0600 0x06FF ?x) ; general
48 (0x0622 ?a) ; alef madda
49 (0x0623 ?b) ; alef hamza above
50 (0x0625 ?c) ; alef hamza below
53 (0x064B 0x0655 ?t) ; combinings
54 (0x0670 ?t) ; combining
55 (0x06D6 0x06ED ?t) ; combinings
90 ;; D: Dual-joining (beh, teh, etc. & zwj)
91 ;; R: Right-joining (alef, dal, thal, reh, zain)
92 ;; U: Non-joining (Hamza, etc. & zwnj)
93 ;; T: Transparent (combining marks)
94 ;; P: Already in Arabic Presentation Form A & B
159 ("(.)(T*)(.*)" ; == (D)(T*)(U.*)
183 ("(.)(T*)(.*)" ; == (D)(T*)(U.*)
188 ("(.)(T*)(.*)" ; == (R)(T*)(.*)
201 ("(.)(T*)(.*)" ; == (D)(T*)(U.*)
206 ("(.)(T*)(.*)" ; == ([RU])(T*)(.*)
213 ((range 0x060C 0x060F) =)
253 ((range 0x0660 0x066D) =)
300 ((range 0x06F0 0x06F9) =)
507 ((0x0651 0x0650) tc+bc 0x064E tc+bc 0x0651) ; shadda + kasra
508 ((0x0651 0x064D) tc+bc 0x064B tc+bc 0x0651) ; shadda + kasratan
509 ((range 0x0610 0x0615) tc+bc =)
516 ((range 0x0651 0x0654) tc+bc =)
522 ((range 0x06D6 0x06DC) tc+bc =)
523 ((range 0x06DF 0x06E2) tc+bc =)
537 ;; Copyright (C) 2003, 2004, 2007
538 ;; National Institute of Advanced Industrial Science and Technology (AIST)
539 ;; Registration Number H15PRO112
541 ;; This file is part of the m17n database; a sub-part of the m17n
544 ;; The m17n library is free software; you can redistribute it and/or
545 ;; modify it under the terms of the GNU Lesser General Public License
546 ;; as published by the Free Software Foundation; either version 2.1 of
547 ;; the License, or (at your option) any later version.
549 ;; The m17n library is distributed in the hope that it will be useful,
550 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
551 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
552 ;; Lesser General Public License for more details.
554 ;; You should have received a copy of the GNU Lesser General Public
555 ;; License along with the m17n library; if not, write to the Free
556 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
557 ;; Boston, MA 02110-1301, USA.