]> git.wh0rd.org - fontconfig.git/blobdiff - fc-lang/fa.orth
Updated Arabic, Persian, and Urdu orthographies
[fontconfig.git] / fc-lang / fa.orth
index a988d611af5e71f4a4b9fd37d2fb5207d5ce07bd..2d9d7fa597eda4edce22a5562be595bc24aad55f 100644 (file)
@@ -2,6 +2,7 @@
 # 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
 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 #
-# Persian (FA)
-#
-# Data from Roozbeh Pournader <roozbeh@sharif.edu>
-#
-# Select fonts based on support for presentation forms; this may
-# exclude some OpenType fonts, but the hope is those would be
-# located by a clever shaper by Unicode codepoints in any case.
-#
-# General forms.
-#0621-0624
-#0626-063a
-#0641-0642
-#0644-0648
-#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
+# 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