xref: /freebsd/share/i18n/csmapper/APPLE/FARSI%UCS.src (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1*ad30f8e7SGabor Kovesdan
2*ad30f8e7SGabor KovesdanTYPE		ROWCOL
3*ad30f8e7SGabor KovesdanNAME		FARSI/UCS
4*ad30f8e7SGabor KovesdanSRC_ZONE	0x00-0xFF
5*ad30f8e7SGabor KovesdanOOB_MODE	ILSEQ
6*ad30f8e7SGabor KovesdanDST_ILSEQ	0xFFFE
7*ad30f8e7SGabor KovesdanDST_UNIT_BITS	16
8*ad30f8e7SGabor Kovesdan
9*ad30f8e7SGabor KovesdanBEGIN_MAP
10*ad30f8e7SGabor Kovesdan#=======================================================================
11*ad30f8e7SGabor Kovesdan#   File name:  FARSI.TXT
12*ad30f8e7SGabor Kovesdan#
13*ad30f8e7SGabor Kovesdan#   Contents:   Map (external version) from Mac OS Farsi
14*ad30f8e7SGabor Kovesdan#               character set to Unicode 2.1 and later.
15*ad30f8e7SGabor Kovesdan#
16*ad30f8e7SGabor Kovesdan#   Copyright:  (c) 1997-2002, 2005 by Apple Computer, Inc., all rights
17*ad30f8e7SGabor Kovesdan#               reserved.
18*ad30f8e7SGabor Kovesdan#
19*ad30f8e7SGabor Kovesdan#   Contact:    charsets@apple.com
20*ad30f8e7SGabor Kovesdan#
21*ad30f8e7SGabor Kovesdan#   Changes:
22*ad30f8e7SGabor Kovesdan#
23*ad30f8e7SGabor Kovesdan#       c02  2005-Apr-05    Update header comments. Matches internal xml
24*ad30f8e7SGabor Kovesdan#                           <c1.1> and Text Encoding Converter 2.0.
25*ad30f8e7SGabor Kovesdan#      b3,c1 2002-Dec-19    Add comments about character display and
26*ad30f8e7SGabor Kovesdan#                           direction overrides. Update URLs, notes.
27*ad30f8e7SGabor Kovesdan#                           Matches internal utom<b3>.
28*ad30f8e7SGabor Kovesdan#       b02  1999-Sep-22    Update contact e-mail address. Matches
29*ad30f8e7SGabor Kovesdan#                           internal utom<b1>, ufrm<b1>, and Text
30*ad30f8e7SGabor Kovesdan#                           Encoding Converter version 1.5.
31*ad30f8e7SGabor Kovesdan#       n04  1998-Feb-05    Show required Unicode character
32*ad30f8e7SGabor Kovesdan#                           directionality in a different way. Matches
33*ad30f8e7SGabor Kovesdan#                           internal utom<n3>, ufrm<n9>, and Text
34*ad30f8e7SGabor Kovesdan#                           Encoding Converter version 1.3. Update
35*ad30f8e7SGabor Kovesdan#                           header comments; include information on
36*ad30f8e7SGabor Kovesdan#                           loose mapping of digits, and changes to
37*ad30f8e7SGabor Kovesdan#                           mapping for the TrueType variant.
38*ad30f8e7SGabor Kovesdan#       n01  1997-Jul-17    First version. Matches internal utom<n1>,
39*ad30f8e7SGabor Kovesdan#                           ufrm<n2>.
40*ad30f8e7SGabor Kovesdan#
41*ad30f8e7SGabor Kovesdan# Standard header:
42*ad30f8e7SGabor Kovesdan# ----------------
43*ad30f8e7SGabor Kovesdan#
44*ad30f8e7SGabor Kovesdan#   Apple, the Apple logo, and Macintosh are trademarks of Apple
45*ad30f8e7SGabor Kovesdan#   Computer, Inc., registered in the United States and other countries.
46*ad30f8e7SGabor Kovesdan#   Unicode is a trademark of Unicode Inc. For the sake of brevity,
47*ad30f8e7SGabor Kovesdan#   throughout this document, "Macintosh" can be used to refer to
48*ad30f8e7SGabor Kovesdan#   Macintosh computers and "Unicode" can be used to refer to the
49*ad30f8e7SGabor Kovesdan#   Unicode standard.
50*ad30f8e7SGabor Kovesdan#
51*ad30f8e7SGabor Kovesdan#   Apple Computer, Inc. ("Apple") makes no warranty or representation,
52*ad30f8e7SGabor Kovesdan#   either express or implied, with respect to this document and the
53*ad30f8e7SGabor Kovesdan#   included data, its quality, accuracy, or fitness for a particular
54*ad30f8e7SGabor Kovesdan#   purpose. In no event will Apple be liable for direct, indirect,
55*ad30f8e7SGabor Kovesdan#   special, incidental, or consequential damages resulting from any
56*ad30f8e7SGabor Kovesdan#   defect or inaccuracy in this document or the included data.
57*ad30f8e7SGabor Kovesdan#
58*ad30f8e7SGabor Kovesdan#   These mapping tables and character lists are subject to change.
59*ad30f8e7SGabor Kovesdan#   The latest tables should be available from the following:
60*ad30f8e7SGabor Kovesdan#
61*ad30f8e7SGabor Kovesdan#   <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/>
62*ad30f8e7SGabor Kovesdan#
63*ad30f8e7SGabor Kovesdan#   For general information about Mac OS encodings and these mapping
64*ad30f8e7SGabor Kovesdan#   tables, see the file "README.TXT".
65*ad30f8e7SGabor Kovesdan#
66*ad30f8e7SGabor Kovesdan# Format:
67*ad30f8e7SGabor Kovesdan# -------
68*ad30f8e7SGabor Kovesdan#
69*ad30f8e7SGabor Kovesdan#   Three tab-separated columns;
70*ad30f8e7SGabor Kovesdan#   '#' begins a comment which continues to the end of the line.
71*ad30f8e7SGabor Kovesdan#     Column #1 is the Mac OS Farsi code (in hex as 0xNN)
72*ad30f8e7SGabor Kovesdan#     Column #2 is the corresponding Unicode (in hex as 0xNNNN),
73*ad30f8e7SGabor Kovesdan#       possibly preceded by a tag indicating required directionality
74*ad30f8e7SGabor Kovesdan#       (i.e. <LR>+0xNNNN or <RL>+0xNNNN).
75*ad30f8e7SGabor Kovesdan#     Column #3 is a comment containing the Unicode name.
76*ad30f8e7SGabor Kovesdan#
77*ad30f8e7SGabor Kovesdan#   The entries are in Mac OS Farsi code order.
78*ad30f8e7SGabor Kovesdan#
79*ad30f8e7SGabor Kovesdan#   Control character mappings are not shown in this table, following
80*ad30f8e7SGabor Kovesdan#   the conventions of the standard UTC mapping tables. However, the
81*ad30f8e7SGabor Kovesdan#   Mac OS Farsi character set uses the standard control characters at
82*ad30f8e7SGabor Kovesdan#   0x00-0x1F and 0x7F.
83*ad30f8e7SGabor Kovesdan#
84*ad30f8e7SGabor Kovesdan# Notes on Mac OS Farsi:
85*ad30f8e7SGabor Kovesdan# ----------------------
86*ad30f8e7SGabor Kovesdan#
87*ad30f8e7SGabor Kovesdan#   This is a legacy Mac OS encoding; in the Mac OS X Carbon and Cocoa
88*ad30f8e7SGabor Kovesdan#   environments, it is only supported via transcoding to and from
89*ad30f8e7SGabor Kovesdan#   Unicode.
90*ad30f8e7SGabor Kovesdan#
91*ad30f8e7SGabor Kovesdan#   1. General
92*ad30f8e7SGabor Kovesdan#
93*ad30f8e7SGabor Kovesdan#   The Mac OS Farsi character set is based on the Mac OS Arabic
94*ad30f8e7SGabor Kovesdan#   character set. The main difference is in the right-to-left digits
95*ad30f8e7SGabor Kovesdan#   0xB0-0xB9: For Mac OS Arabic these correspond to right-left
96*ad30f8e7SGabor Kovesdan#   versions of the Unicode ARABIC-INDIC DIGITs 0660-0669; for
97*ad30f8e7SGabor Kovesdan#   Mac OS Farsi these correspond to right-left versions of the
98*ad30f8e7SGabor Kovesdan#   Unicode EXTENDED ARABIC-INDIC DIGITs 06F0-06F9. The other
99*ad30f8e7SGabor Kovesdan#   difference is in the nature of the font variants.
100*ad30f8e7SGabor Kovesdan#
101*ad30f8e7SGabor Kovesdan#   For more information, see the comments in the mapping table for
102*ad30f8e7SGabor Kovesdan#   Mac OS Arabic.
103*ad30f8e7SGabor Kovesdan#
104*ad30f8e7SGabor Kovesdan#   Mac OS Farsi characters 0xEB-0xF2 are non-spacing/combining marks.
105*ad30f8e7SGabor Kovesdan#
106*ad30f8e7SGabor Kovesdan#   2. Directional characters and roundtrip fidelity
107*ad30f8e7SGabor Kovesdan#
108*ad30f8e7SGabor Kovesdan#   The Mac OS Arabic character set (on which Mac OS Farsi is based)
109*ad30f8e7SGabor Kovesdan#   was developed in 1986-1987. At that time the bidirectional line
110*ad30f8e7SGabor Kovesdan#   layout algorithm used in the Mac OS Arabic system was fairly simple;
111*ad30f8e7SGabor Kovesdan#   it used only a few direction classes (instead of the 19 now used in
112*ad30f8e7SGabor Kovesdan#   the Unicode bidirectional algorithm). In order to permit users to
113*ad30f8e7SGabor Kovesdan#   handle some tricky layout problems, certain punctuation and symbol
114*ad30f8e7SGabor Kovesdan#   characters were encoded twice, one with a left-right direction
115*ad30f8e7SGabor Kovesdan#   attribute and the other with a right-left direction attribute. This
116*ad30f8e7SGabor Kovesdan#   is the case in Mac OS Farsi too.
117*ad30f8e7SGabor Kovesdan#
118*ad30f8e7SGabor Kovesdan#   For example, plus sign is encoded at 0x2B with a left-right
119*ad30f8e7SGabor Kovesdan#   attribute, and at 0xAB with a right-left attribute. However, there
120*ad30f8e7SGabor Kovesdan#   is only one PLUS SIGN character in Unicode. This leads to some
121*ad30f8e7SGabor Kovesdan#   interesting problems when mapping between Mac OS Farsi and Unicode;
122*ad30f8e7SGabor Kovesdan#   see below.
123*ad30f8e7SGabor Kovesdan#
124*ad30f8e7SGabor Kovesdan#   A related problem is that even when a particular character is
125*ad30f8e7SGabor Kovesdan#   encoded only once in Mac OS Farsi, it may have a different
126*ad30f8e7SGabor Kovesdan#   direction attribute than the corresponding Unicode character.
127*ad30f8e7SGabor Kovesdan#
128*ad30f8e7SGabor Kovesdan#   For example, the Mac OS Farsi character at 0x93 is HORIZONTAL
129*ad30f8e7SGabor Kovesdan#   ELLIPSIS with strong right-left direction. However, the Unicode
130*ad30f8e7SGabor Kovesdan#   character HORIZONTAL ELLIPSIS has direction class neutral.
131*ad30f8e7SGabor Kovesdan#
132*ad30f8e7SGabor Kovesdan#   3. Behavior of ASCII-range numbers in WorldScript
133*ad30f8e7SGabor Kovesdan#
134*ad30f8e7SGabor Kovesdan#   Mac OS Farsi also has two sets of digit codes.
135*ad30f8e7SGabor Kovesdan
136*ad30f8e7SGabor Kovesdan#   The digits at 0x30-0x39 may be displayed using either European
137*ad30f8e7SGabor Kovesdan#   digit forms or Persian digit forms, depending on context. If there
138*ad30f8e7SGabor Kovesdan#   is a "strong European" character such as a Latin letter on either
139*ad30f8e7SGabor Kovesdan#   side of a sequence consisting of digits 0x30-0x39 and possibly comma
140*ad30f8e7SGabor Kovesdan#   0x2C or period 0x2E, then the characters will be displayed using
141*ad30f8e7SGabor Kovesdan#   European forms (This will happen even if there are neutral characters
142*ad30f8e7SGabor Kovesdan#   between the digits and the strong European character). Otherwise, the
143*ad30f8e7SGabor Kovesdan#   digits will be displayed using Persian forms, the comma will be
144*ad30f8e7SGabor Kovesdan#   displayed as Arabic thousands separator, and the period as Arabic
145*ad30f8e7SGabor Kovesdan#   decimal separator. In any case, 0x2C, 0x2E, and 0x30-0x39 are always
146*ad30f8e7SGabor Kovesdan#   left-right.
147*ad30f8e7SGabor Kovesdan#
148*ad30f8e7SGabor Kovesdan#   The digits at 0xB0-0xB9 are always displayed using Persian digit
149*ad30f8e7SGabor Kovesdan#   shapes, and moreover, these digits always have strong right-left
150*ad30f8e7SGabor Kovesdan#   directionality. These are mainly intended for special layout
151*ad30f8e7SGabor Kovesdan#   purposes such as part numbers, etc.
152*ad30f8e7SGabor Kovesdan#
153*ad30f8e7SGabor Kovesdan#   4. Font variants
154*ad30f8e7SGabor Kovesdan#
155*ad30f8e7SGabor Kovesdan#   The table in this file gives the Unicode mappings for the standard
156*ad30f8e7SGabor Kovesdan#   Mac OS Farsi encoding. This encoding is supported by the Tehran font
157*ad30f8e7SGabor Kovesdan#   (the system font for Farsi), and is the encoding supported by the
158*ad30f8e7SGabor Kovesdan#   text processing utilities. However, the other Farsi fonts actually
159*ad30f8e7SGabor Kovesdan#   implement a somewhat different encoding; this affects nine code
160*ad30f8e7SGabor Kovesdan#   points including 0xAA and 0xC0 (which are also affected by font
161*ad30f8e7SGabor Kovesdan#   variants in Mac OS Arabic). For these nine code points the standard
162*ad30f8e7SGabor Kovesdan#   Mac OS Farsi encoding has the following mappings:
163*ad30f8e7SGabor Kovesdan#       0x8B -> 0x06BA ARABIC LETTER NOON GHUNNA (Urdu)
164*ad30f8e7SGabor Kovesdan#       0xA4 -> <RL>+0x0024 DOLLAR SIGN, right-left
165*ad30f8e7SGabor Kovesdan#       0xAA -> <RL>+0x002A ASTERISK, right-left
166*ad30f8e7SGabor Kovesdan#       0xC0 -> <RL>+0x274A EIGHT TEARDROP-SPOKED PROPELLER ASTERISK,
167*ad30f8e7SGabor Kovesdan#               right-left
168*ad30f8e7SGabor Kovesdan#       0xF4 -> 0x0679 ARABIC LETTER TTEH (Urdu)
169*ad30f8e7SGabor Kovesdan#       0xF7 -> 0x06A4 ARABIC LETTER VEH (for transliteration)
170*ad30f8e7SGabor Kovesdan#       0xF9 -> 0x0688 ARABIC LETTER DDAL (Urdu)
171*ad30f8e7SGabor Kovesdan#       0xFA -> 0x0691 ARABIC LETTER RREH (Urdu)
172*ad30f8e7SGabor Kovesdan#       0xFF -> 0x06D2 ARABIC LETTER YEH BARREE (Urdu)
173*ad30f8e7SGabor Kovesdan#
174*ad30f8e7SGabor Kovesdan#   The TrueType variant is used for the Farsi TrueType fonts: Ashfahan,
175*ad30f8e7SGabor Kovesdan#   Amir, Kamran, Mashad, NadeemFarsi. It differs from the standard
176*ad30f8e7SGabor Kovesdan#   variant in the following ways:
177*ad30f8e7SGabor Kovesdan#       0x8B -> 0xF882 Arabic ligature "peace on him" (corporate char.)
178*ad30f8e7SGabor Kovesdan#       0xA4 -> 0xFDFC RIAL SIGN (added in Unicode 3.2)
179*ad30f8e7SGabor Kovesdan#       0xAA -> <RL>+0x00D7 MULTIPLICATION SIGN, right-left
180*ad30f8e7SGabor Kovesdan#       0xC0 -> <RL>+0x002A ASTERISK, right-left
181*ad30f8e7SGabor Kovesdan#       0xF4 -> <RL>+0x00B0 DEGREE SIGN, right-left
182*ad30f8e7SGabor Kovesdan#       0xF7 -> 0xFDFA ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM
183*ad30f8e7SGabor Kovesdan#       0xF9 -> <RL>+0x25CF BLACK CIRCLE, right-left
184*ad30f8e7SGabor Kovesdan#       0xFA -> <RL>+0x25A0 BLACK SQUARE, right-left
185*ad30f8e7SGabor Kovesdan#       0xFF -> <RL>+0x25B2 BLACK UP-POINTING TRIANGLE, right-left
186*ad30f8e7SGabor Kovesdan#
187*ad30f8e7SGabor Kovesdan# Unicode mapping issues and notes:
188*ad30f8e7SGabor Kovesdan# ---------------------------------
189*ad30f8e7SGabor Kovesdan#
190*ad30f8e7SGabor Kovesdan#   1. Matching the direction of Mac OS Farsi characters
191*ad30f8e7SGabor Kovesdan#
192*ad30f8e7SGabor Kovesdan#   When Mac OS Farsi encodes a character twice but with different
193*ad30f8e7SGabor Kovesdan#   direction attributes for the two code points - as in the case of
194*ad30f8e7SGabor Kovesdan#   plus sign mentioned above - we need a way to map both Mac OS Farsi
195*ad30f8e7SGabor Kovesdan#   code points to Unicode and back again without loss of information.
196*ad30f8e7SGabor Kovesdan#   With the plus sign, for example, mapping one of the Mac OS Farsi
197*ad30f8e7SGabor Kovesdan#   characters to a code in the Unicode corporate use zone is
198*ad30f8e7SGabor Kovesdan#   undesirable, since both of the plus sign characters are likely to
199*ad30f8e7SGabor Kovesdan#   be used in text that is interchanged.
200*ad30f8e7SGabor Kovesdan#
201*ad30f8e7SGabor Kovesdan#   The problem is solved with the use of direction override characters
202*ad30f8e7SGabor Kovesdan#   and direction-dependent mappings. When mapping from Mac OS Farsi
203*ad30f8e7SGabor Kovesdan#   to Unicode, we use direction overrides as necessary to force the
204*ad30f8e7SGabor Kovesdan#   direction of the resulting Unicode characters.
205*ad30f8e7SGabor Kovesdan#
206*ad30f8e7SGabor Kovesdan#   The required direction is indicated by a direction tag in the
207*ad30f8e7SGabor Kovesdan#   mappings. A tag of <LR> means the corresponding Unicode character
208*ad30f8e7SGabor Kovesdan#   must have a strong left-right context, and a tag of <RL> indicates
209*ad30f8e7SGabor Kovesdan#   a right-left context.
210*ad30f8e7SGabor Kovesdan#
211*ad30f8e7SGabor Kovesdan#   For example, the mapping of 0x2B is given as <LR>+0x002B; the
212*ad30f8e7SGabor Kovesdan#   mapping of 0xAB is given as <RL>+0x002B. If we map an isolated
213*ad30f8e7SGabor Kovesdan#   instance of 0x2B to Unicode, it should be mapped as follows (LRO
214*ad30f8e7SGabor Kovesdan#   indicates LEFT-RIGHT OVERRIDE, PDF indicates POP DIRECTION
215*ad30f8e7SGabor Kovesdan#   FORMATTING):
216*ad30f8e7SGabor Kovesdan#
217*ad30f8e7SGabor Kovesdan#     0x2B ->  0x202D (LRO) + 0x002B (PLUS SIGN) + 0x202C (PDF)
218*ad30f8e7SGabor Kovesdan#
219*ad30f8e7SGabor Kovesdan#   When mapping several characters in a row that require direction
220*ad30f8e7SGabor Kovesdan#   forcing, the overrides need only be used at the beginning and end.
221*ad30f8e7SGabor Kovesdan#   For example:
222*ad30f8e7SGabor Kovesdan#
223*ad30f8e7SGabor Kovesdan#     0x24 0x20 0x28 0x29 -> 0x202D 0x0024 0x0020 0x0028 0x0029 0x202C
224*ad30f8e7SGabor Kovesdan#
225*ad30f8e7SGabor Kovesdan#   If neutral characters that require direction forcing are already
226*ad30f8e7SGabor Kovesdan#   between strong-direction characters with matching directionality,
227*ad30f8e7SGabor Kovesdan#   then direction overrides need not be used. Direction overrides are
228*ad30f8e7SGabor Kovesdan#   always needed to map the right-left digits at 0xB0-0xB9.
229*ad30f8e7SGabor Kovesdan#
230*ad30f8e7SGabor Kovesdan#   When mapping from Unicode to Mac OS Farsi, the Unicode
231*ad30f8e7SGabor Kovesdan#   bidirectional algorithm should be used to determine resolved
232*ad30f8e7SGabor Kovesdan#   direction of the Unicode characters. The mapping from Unicode to
233*ad30f8e7SGabor Kovesdan#   Mac OS Farsi can then be disambiguated by the use of the resolved
234*ad30f8e7SGabor Kovesdan#   direction:
235*ad30f8e7SGabor Kovesdan#
236*ad30f8e7SGabor Kovesdan#     Unicode 0x002B -> Mac OS Farsi 0x2B (if L) or 0xAB (if R)
237*ad30f8e7SGabor Kovesdan#
238*ad30f8e7SGabor Kovesdan#   However, this also means the direction override characters should
239*ad30f8e7SGabor Kovesdan#   be discarded when mapping from Unicode to Mac OS Farsi (after
240*ad30f8e7SGabor Kovesdan#   they have been used to determine resolved direction), since the
241*ad30f8e7SGabor Kovesdan#   direction override information is carried by the code point itself.
242*ad30f8e7SGabor Kovesdan#
243*ad30f8e7SGabor Kovesdan#   Even when direction overrides are not needed for roundtrip
244*ad30f8e7SGabor Kovesdan#   fidelity, they are sometimes used when mapping Mac OS Farsi
245*ad30f8e7SGabor Kovesdan#   characters to Unicode in order to achieve similar text layout with
246*ad30f8e7SGabor Kovesdan#   the resulting Unicode text. For example, the single Mac OS Farsi
247*ad30f8e7SGabor Kovesdan#   ellipsis character has direction class right-left,and there is no
248*ad30f8e7SGabor Kovesdan#   left-right version. However, the Unicode HORIZONTAL ELLIPSIS
249*ad30f8e7SGabor Kovesdan#   character has direction class neutral (which means it may end up
250*ad30f8e7SGabor Kovesdan#   with a resolved direction of left-right if surrounded by left-right
251*ad30f8e7SGabor Kovesdan#   characters). When mapping the Mac OS Farsi ellipsis to Unicode, it
252*ad30f8e7SGabor Kovesdan#   is surrounded with a direction override to help preserve proper
253*ad30f8e7SGabor Kovesdan#   text layout. The resolved direction is not needed or used when
254*ad30f8e7SGabor Kovesdan#   mapping the Unicode HORIZONTAL ELLIPSIS back to Mac OS Farsi.
255*ad30f8e7SGabor Kovesdan#
256*ad30f8e7SGabor Kovesdan#   2. Mapping the Mac OS Farsi digits
257*ad30f8e7SGabor Kovesdan#
258*ad30f8e7SGabor Kovesdan#   The main table below contains mappings that should be used when
259*ad30f8e7SGabor Kovesdan#   strict round-trip fidelity is required. However, for numeric
260*ad30f8e7SGabor Kovesdan#   values, the mappings in that table will produce Unicode characters
261*ad30f8e7SGabor Kovesdan#   that may appear different than the Mac OS Farsi text displayed on
262*ad30f8e7SGabor Kovesdan#   a Mac OS system using WorldScript. This is because WorldScript
263*ad30f8e7SGabor Kovesdan#   uses context-dependent display for the 0x30-0x39 digits.
264*ad30f8e7SGabor Kovesdan#
265*ad30f8e7SGabor Kovesdan#   If roundtrip fidelity is not required, then the following
266*ad30f8e7SGabor Kovesdan#   alternate mappings should be used when a sequence of 0x30-0x39
267*ad30f8e7SGabor Kovesdan#   digits - possibly including 0x2C and 0x2E - occurs in an Arabic
268*ad30f8e7SGabor Kovesdan#   context (that is, when the first "strong" character on either side
269*ad30f8e7SGabor Kovesdan#   of the digit sequence is Arabic, or there is no strong character):
270*ad30f8e7SGabor Kovesdan#
271*ad30f8e7SGabor Kovesdan#     0x2C	0x066C	# ARABIC THOUSANDS SEPARATOR
272*ad30f8e7SGabor Kovesdan#     0x2E	0x066B	# ARABIC DECIMAL SEPARATOR
273*ad30f8e7SGabor Kovesdan#     0x30	0x06F0	# EXTENDED ARABIC-INDIC DIGIT ZERO
274*ad30f8e7SGabor Kovesdan#     0x31	0x06F1	# EXTENDED ARABIC-INDIC DIGIT ONE
275*ad30f8e7SGabor Kovesdan#     0x32	0x06F2	# EXTENDED ARABIC-INDIC DIGIT TWO
276*ad30f8e7SGabor Kovesdan#     0x33	0x06F3	# EXTENDED ARABIC-INDIC DIGIT THREE
277*ad30f8e7SGabor Kovesdan#     0x34	0x06F4	# EXTENDED ARABIC-INDIC DIGIT FOUR
278*ad30f8e7SGabor Kovesdan#     0x35	0x06F5	# EXTENDED ARABIC-INDIC DIGIT FIVE
279*ad30f8e7SGabor Kovesdan#     0x36	0x06F6	# EXTENDED ARABIC-INDIC DIGIT SIX
280*ad30f8e7SGabor Kovesdan#     0x37	0x06F7	# EXTENDED ARABIC-INDIC DIGIT SEVEN
281*ad30f8e7SGabor Kovesdan#     0x38	0x06F8	# EXTENDED ARABIC-INDIC DIGIT EIGHT
282*ad30f8e7SGabor Kovesdan#     0x39	0x06F9	# EXTENDED ARABIC-INDIC DIGIT NINE
283*ad30f8e7SGabor Kovesdan#
284*ad30f8e7SGabor Kovesdan#   3. Use of corporate-zone Unicodes (mapping the TrueType variant)
285*ad30f8e7SGabor Kovesdan#
286*ad30f8e7SGabor Kovesdan#   The following corporate zone Unicode character is used in this
287*ad30f8e7SGabor Kovesdan#   mapping:
288*ad30f8e7SGabor Kovesdan#
289*ad30f8e7SGabor Kovesdan#     0xF882  Arabic ligature "peace on him"
290*ad30f8e7SGabor Kovesdan#
291*ad30f8e7SGabor Kovesdan# Details of mapping changes in each version:
292*ad30f8e7SGabor Kovesdan# -------------------------------------------
293*ad30f8e7SGabor Kovesdan#
294*ad30f8e7SGabor Kovesdan#   Changes from version b02 to version b03/c01:
295*ad30f8e7SGabor Kovesdan#
296*ad30f8e7SGabor Kovesdan#   - Update mapping of 0xA4 in TrueType variant to use new Unicode
297*ad30f8e7SGabor Kovesdan#     character U+FDFC RIAL SIGN addded for Unicode 3.2
298*ad30f8e7SGabor Kovesdan#
299*ad30f8e7SGabor Kovesdan#   Changes from version n01 to version n04:
300*ad30f8e7SGabor Kovesdan#
301*ad30f8e7SGabor Kovesdan#   - Change mapping of 0xA4 in TrueType variant (just described in
302*ad30f8e7SGabor Kovesdan#     header comment) from single corporate character to use
303*ad30f8e7SGabor Kovesdan#     grouping hint
304*ad30f8e7SGabor Kovesdan#
305*ad30f8e7SGabor Kovesdan##################
306*ad30f8e7SGabor Kovesdan
307*ad30f8e7SGabor Kovesdan0x00 - 0x7F = 0x0000 -
308*ad30f8e7SGabor Kovesdan0x80 = 0x00C4
309*ad30f8e7SGabor Kovesdan0x81 = 0x00A0
310*ad30f8e7SGabor Kovesdan0x82 = 0x00C7
311*ad30f8e7SGabor Kovesdan0x83 = 0x00C9
312*ad30f8e7SGabor Kovesdan0x84 = 0x00D1
313*ad30f8e7SGabor Kovesdan0x85 = 0x00D6
314*ad30f8e7SGabor Kovesdan0x86 = 0x00DC
315*ad30f8e7SGabor Kovesdan0x87 = 0x00E1
316*ad30f8e7SGabor Kovesdan0x88 = 0x00E0
317*ad30f8e7SGabor Kovesdan0x89 = 0x00E2
318*ad30f8e7SGabor Kovesdan0x8A = 0x00E4
319*ad30f8e7SGabor Kovesdan0x8B = 0x06BA
320*ad30f8e7SGabor Kovesdan0x8C = 0x00AB
321*ad30f8e7SGabor Kovesdan0x8D = 0x00E7
322*ad30f8e7SGabor Kovesdan0x8E = 0x00E9
323*ad30f8e7SGabor Kovesdan0x8F = 0x00E8
324*ad30f8e7SGabor Kovesdan0x90 = 0x00EA
325*ad30f8e7SGabor Kovesdan0x91 = 0x00EB
326*ad30f8e7SGabor Kovesdan0x92 = 0x00ED
327*ad30f8e7SGabor Kovesdan0x93 = 0x2026
328*ad30f8e7SGabor Kovesdan0x94 = 0x00EE
329*ad30f8e7SGabor Kovesdan0x95 = 0x00EF
330*ad30f8e7SGabor Kovesdan0x96 = 0x00F1
331*ad30f8e7SGabor Kovesdan0x97 = 0x00F3
332*ad30f8e7SGabor Kovesdan0x98 = 0x00BB
333*ad30f8e7SGabor Kovesdan0x99 = 0x00F4
334*ad30f8e7SGabor Kovesdan0x9A = 0x00F6
335*ad30f8e7SGabor Kovesdan0x9B = 0x00F7
336*ad30f8e7SGabor Kovesdan0x9C = 0x00FA
337*ad30f8e7SGabor Kovesdan0x9D = 0x00F9
338*ad30f8e7SGabor Kovesdan0x9E = 0x00FB
339*ad30f8e7SGabor Kovesdan0x9F = 0x00FC
340*ad30f8e7SGabor Kovesdan0xA0 = 0x0020
341*ad30f8e7SGabor Kovesdan0xA1 = 0x0021
342*ad30f8e7SGabor Kovesdan0xA2 = 0x0022
343*ad30f8e7SGabor Kovesdan0xA3 = 0x0023
344*ad30f8e7SGabor Kovesdan0xA4 = 0x0024
345*ad30f8e7SGabor Kovesdan0xA5 = 0x066A
346*ad30f8e7SGabor Kovesdan0xA6 = 0x0026
347*ad30f8e7SGabor Kovesdan0xA7 = 0x0027
348*ad30f8e7SGabor Kovesdan0xA8 = 0x0028
349*ad30f8e7SGabor Kovesdan0xA9 = 0x0029
350*ad30f8e7SGabor Kovesdan0xAA = 0x002A
351*ad30f8e7SGabor Kovesdan0xAB = 0x002B
352*ad30f8e7SGabor Kovesdan0xAC = 0x060C
353*ad30f8e7SGabor Kovesdan0xAD = 0x002D
354*ad30f8e7SGabor Kovesdan0xAE = 0x002E
355*ad30f8e7SGabor Kovesdan0xAF = 0x002F
356*ad30f8e7SGabor Kovesdan0xB0 = 0x06F0
357*ad30f8e7SGabor Kovesdan0xB1 = 0x06F1
358*ad30f8e7SGabor Kovesdan0xB2 = 0x06F2
359*ad30f8e7SGabor Kovesdan0xB3 = 0x06F3
360*ad30f8e7SGabor Kovesdan0xB4 = 0x06F4
361*ad30f8e7SGabor Kovesdan0xB5 = 0x06F5
362*ad30f8e7SGabor Kovesdan0xB6 = 0x06F6
363*ad30f8e7SGabor Kovesdan0xB7 = 0x06F7
364*ad30f8e7SGabor Kovesdan0xB8 = 0x06F8
365*ad30f8e7SGabor Kovesdan0xB9 = 0x06F9
366*ad30f8e7SGabor Kovesdan0xBA = 0x003A
367*ad30f8e7SGabor Kovesdan0xBB = 0x061B
368*ad30f8e7SGabor Kovesdan0xBC = 0x003C
369*ad30f8e7SGabor Kovesdan0xBD = 0x003D
370*ad30f8e7SGabor Kovesdan0xBE = 0x003E
371*ad30f8e7SGabor Kovesdan0xBF = 0x061F
372*ad30f8e7SGabor Kovesdan0xC0 = 0x274A
373*ad30f8e7SGabor Kovesdan0xC1 = 0x0621
374*ad30f8e7SGabor Kovesdan0xC2 = 0x0622
375*ad30f8e7SGabor Kovesdan0xC3 = 0x0623
376*ad30f8e7SGabor Kovesdan0xC4 = 0x0624
377*ad30f8e7SGabor Kovesdan0xC5 = 0x0625
378*ad30f8e7SGabor Kovesdan0xC6 = 0x0626
379*ad30f8e7SGabor Kovesdan0xC7 = 0x0627
380*ad30f8e7SGabor Kovesdan0xC8 = 0x0628
381*ad30f8e7SGabor Kovesdan0xC9 = 0x0629
382*ad30f8e7SGabor Kovesdan0xCA = 0x062A
383*ad30f8e7SGabor Kovesdan0xCB = 0x062B
384*ad30f8e7SGabor Kovesdan0xCC = 0x062C
385*ad30f8e7SGabor Kovesdan0xCD = 0x062D
386*ad30f8e7SGabor Kovesdan0xCE = 0x062E
387*ad30f8e7SGabor Kovesdan0xCF = 0x062F
388*ad30f8e7SGabor Kovesdan0xD0 = 0x0630
389*ad30f8e7SGabor Kovesdan0xD1 = 0x0631
390*ad30f8e7SGabor Kovesdan0xD2 = 0x0632
391*ad30f8e7SGabor Kovesdan0xD3 = 0x0633
392*ad30f8e7SGabor Kovesdan0xD4 = 0x0634
393*ad30f8e7SGabor Kovesdan0xD5 = 0x0635
394*ad30f8e7SGabor Kovesdan0xD6 = 0x0636
395*ad30f8e7SGabor Kovesdan0xD7 = 0x0637
396*ad30f8e7SGabor Kovesdan0xD8 = 0x0638
397*ad30f8e7SGabor Kovesdan0xD9 = 0x0639
398*ad30f8e7SGabor Kovesdan0xDA = 0x063A
399*ad30f8e7SGabor Kovesdan0xDB = 0x005B
400*ad30f8e7SGabor Kovesdan0xDC = 0x005C
401*ad30f8e7SGabor Kovesdan0xDD = 0x005D
402*ad30f8e7SGabor Kovesdan0xDE = 0x005E
403*ad30f8e7SGabor Kovesdan0xDF = 0x005F
404*ad30f8e7SGabor Kovesdan0xE0 = 0x0640
405*ad30f8e7SGabor Kovesdan0xE1 = 0x0641
406*ad30f8e7SGabor Kovesdan0xE2 = 0x0642
407*ad30f8e7SGabor Kovesdan0xE3 = 0x0643
408*ad30f8e7SGabor Kovesdan0xE4 = 0x0644
409*ad30f8e7SGabor Kovesdan0xE5 = 0x0645
410*ad30f8e7SGabor Kovesdan0xE6 = 0x0646
411*ad30f8e7SGabor Kovesdan0xE7 = 0x0647
412*ad30f8e7SGabor Kovesdan0xE8 = 0x0648
413*ad30f8e7SGabor Kovesdan0xE9 = 0x0649
414*ad30f8e7SGabor Kovesdan0xEA = 0x064A
415*ad30f8e7SGabor Kovesdan0xEB = 0x064B
416*ad30f8e7SGabor Kovesdan0xEC = 0x064C
417*ad30f8e7SGabor Kovesdan0xED = 0x064D
418*ad30f8e7SGabor Kovesdan0xEE = 0x064E
419*ad30f8e7SGabor Kovesdan0xEF = 0x064F
420*ad30f8e7SGabor Kovesdan0xF0 = 0x0650
421*ad30f8e7SGabor Kovesdan0xF1 = 0x0651
422*ad30f8e7SGabor Kovesdan0xF2 = 0x0652
423*ad30f8e7SGabor Kovesdan0xF3 = 0x067E
424*ad30f8e7SGabor Kovesdan0xF4 = 0x0679
425*ad30f8e7SGabor Kovesdan0xF5 = 0x0686
426*ad30f8e7SGabor Kovesdan0xF6 = 0x06D5
427*ad30f8e7SGabor Kovesdan0xF7 = 0x06A4
428*ad30f8e7SGabor Kovesdan0xF8 = 0x06AF
429*ad30f8e7SGabor Kovesdan0xF9 = 0x0688
430*ad30f8e7SGabor Kovesdan0xFA = 0x0691
431*ad30f8e7SGabor Kovesdan0xFB = 0x007B
432*ad30f8e7SGabor Kovesdan0xFC = 0x007C
433*ad30f8e7SGabor Kovesdan0xFD = 0x007D
434*ad30f8e7SGabor Kovesdan0xFE = 0x0698
435*ad30f8e7SGabor Kovesdan0xFF = 0x06D2
436*ad30f8e7SGabor KovesdanEND_MAP
437