summaryrefslogtreecommitdiff
path: root/fc-lang/fa.orth
blob: 6e680f2d29187894c1b45f261157aa12395c3736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# fontconfig/fc-lang/fa.orth
#
# Copyright © 2002 Keith Packard
# Copyright © 2009 Roozbeh Pournader
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of the author(s) not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission.  The authors make no
# representations about the suitability of this software for any purpose.  It
# is provided "as is" without express or implied warranty.
#
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# Persian (fa)
#
# Sources:
# * ISIRI 6219:2002, "Information Technology — Persian Information
#   Interchange and Display Mechanism, using Unicode"
# * "Dastur-e Khat-te Fārsi", Iranian Academy of Persian Language and
#   Literature, 4th printing, December 2005, ISBN 964-7531-13-3. Available
#   at http://www.persianacademy.ir/fa/das.aspx
#
# We are assuming that:
# * Most fonts that claim to support an Arabic letter actually do so;
# * Most modern text rendering software use OpenType tables, instead of
#   directly using presentation forms.
# * Some good Arabic fonts do not support codepoints for Arabic presentation
#   forms.
# Thus, we are switching to general forms of Arabic letters.
#
# General forms:
0621-0624
0626-0628
0629 # TEH MARBUTA, implicitly considered mandatory in the official orthography
062a-063a
0641-0642
0644-0648
064b # FATHATAN, considered mandatory in the official orthography
# 064b-064d # DAMMATAN and KASRATAN, considered mandatory in the official orthography, but very rare
# 064e-0650 # FATHA, DAMMA, and KASRA, not mandataroy in the official orthography
# 0651 # SHADDA, considered mandatory only for legal texts
# 0652 # SUKUN, not mandatory in the official orthography
0654 # HAMZA ABOVE, considered mandatory in the official orthography
# 0656 # SUBSCRIPT ALEF, not mentioned in official orthography, but sometimes used
# 0670 # SUPERSCRIPT ALEF, not explicilty listed in the official orthography, although used in the document; not mandatory
067e
0686
0698
06a9
06af
06cc
# Presentations forms:
#fb56-fb59
#fb7a-fb7d
#fb8a-fb8b
#fb8e-fb95
#fbfc-fbff
#fe80-fe86
#fe89-fed8
#fedd-feee
##fef5-fef8      # These four happen very rarely
#fefb-fefc