2 # fontconfig/fc-lang/fa.orth
4 # Copyright © 2002 Keith Packard
5 # Copyright © 2009 Roozbeh Pournader
7 # Permission to use, copy, modify, distribute, and sell this software and its
8 # documentation for any purpose is hereby granted without fee, provided that
9 # the above copyright notice appear in all copies and that both that
10 # copyright notice and this permission notice appear in supporting
11 # documentation, and that the name of the author(s) not be used in
12 # advertising or publicity pertaining to distribution of the software without
13 # specific, written prior permission. The authors make no
14 # representations about the suitability of this software for any purpose. It
15 # is provided "as is" without express or implied warranty.
17 # THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
18 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
19 # EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
20 # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
21 # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
22 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23 # PERFORMANCE OF THIS SOFTWARE.
28 # * ISIRI 6219:2002, "Information Technology — Persian Information
29 # Interchange and Display Mechanism, using Unicode"
30 # * "Dastur-e Khat-te Fārsi", Iranian Academy of Persian Language and
31 # Literature, 4th printing, December 2005, ISBN 964-7531-13-3. Available
32 # at http://www.persianacademy.ir/fa/das.aspx
34 # We are assuming that:
35 # * Most fonts that claim to support an Arabic letter actually do so;
36 # * Most modern text rendering software use OpenType tables, instead of
37 # directly using presentation forms.
38 # * Some good Arabic fonts do not support codepoints for Arabic presentation
40 # Thus, we are switching to general forms of Arabic letters.
45 0629 # TEH MARBUTA, implicitly considered mandatory in the official orthography
49 064b # FATHATAN, considered mandatory in the official orthography
50 # 064b-064d # DAMMATAN and KASRATAN, considered mandatory in the official orthography, but very rare
51 # 064e-0650 # FATHA, DAMMA, and KASRA, not mandataroy in the official orthography
52 # 0651 # SHADDA, considered mandatory only for legal texts
53 # 0652 # SUKUN, not mandatory in the official orthography
54 0654 # HAMZA ABOVE, considered mandatory in the official orthography
55 # 0656 # SUBSCRIPT ALEF, not mentioned in official orthography, but sometimes used
56 # 0670 # SUPERSCRIPT ALEF, not explicilty listed in the official orthography, although used in the document; not mandatory
63 # Presentations forms:
72 ##fef5-fef8 # These four happen very rarely