• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* == Start of generated table == */
2 /*
3  * The following table is generated by running:
4  *
5  *   ./gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt
6  *
7  * on files with these headers:
8  *
9  * # ArabicShaping-9.0.0.txt
10  * # Date: 2016-02-24, 22:25:00 GMT [RP]
11  * # Blocks-9.0.0.txt
12  * # Date: 2016-02-05, 23:48:00 GMT [KW]
13  * UnicodeData.txt does not have a header.
14  */
15 
16 #ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
17 #define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
18 
19 
20 #define X	JOINING_TYPE_X
21 #define R	JOINING_TYPE_R
22 #define T	JOINING_TYPE_T
23 #define U	JOINING_TYPE_U
24 #define A	JOINING_GROUP_ALAPH
25 #define DR	JOINING_GROUP_DALATH_RISH
26 #define L	JOINING_TYPE_L
27 #define C	JOINING_TYPE_C
28 #define D	JOINING_TYPE_D
29 
30 static const uint8_t joining_table[] =
31 {
32 
33 #define joining_offset_0x0600u 0
34 
35   /* Arabic */
36 
37   /* 0600 */ U,U,U,U,U,U,X,X,U,X,X,U,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
38   /* 0620 */ D,U,R,R,R,R,D,R,D,R,D,D,D,D,D,R,R,R,R,D,D,D,D,D,D,D,D,D,D,D,D,D,
39   /* 0640 */ C,D,D,D,D,D,D,D,R,D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
40   /* 0660 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,D,D,X,R,R,R,U,R,R,R,D,D,D,D,D,D,D,D,
41   /* 0680 */ D,D,D,D,D,D,D,D,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,D,D,D,D,D,D,
42   /* 06A0 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
43   /* 06C0 */ R,D,D,R,R,R,R,R,R,R,R,R,D,R,D,R,D,D,R,R,X,R,X,X,X,X,X,X,X,U,X,X,
44   /* 06E0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,R,R,X,X,X,X,X,X,X,X,X,X,D,D,D,X,X,D,
45 
46   /* Syriac */
47 
48   /* 0700 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,A,X,D,D,D,DR,DR,R,R,R,D,D,D,D,R,D,
49   /* 0720 */ D,D,D,D,D,D,D,D,R,D,DR,D,R,D,D,DR,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
50   /* 0740 */ X,X,X,X,X,X,X,X,X,X,X,X,X,R,D,D,
51 
52   /* Arabic Supplement */
53 
54   /* 0740 */                                 D,D,D,D,D,D,D,D,D,R,R,R,D,D,D,D,
55   /* 0760 */ D,D,D,D,D,D,D,D,D,D,D,R,R,D,D,D,D,R,D,R,R,D,D,D,R,R,D,D,D,D,D,D,
56 
57   /* FILLER */
58 
59   /* 0780 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
60   /* 07A0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
61 
62   /* NKo */
63 
64   /* 07C0 */ X,X,X,X,X,X,X,X,X,X,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
65   /* 07E0 */ D,D,D,D,D,D,D,D,D,D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,C,X,X,X,X,X,
66 
67   /* FILLER */
68 
69   /* 0800 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
70   /* 0820 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
71 
72   /* Mandaic */
73 
74   /* 0840 */ R,D,D,D,D,D,R,R,D,R,D,D,D,D,D,D,D,D,D,D,R,D,U,U,U,X,X,X,X,X,X,X,
75   /* 0860 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
76   /* 0880 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
77 
78   /* Arabic Extended-A */
79 
80   /* 08A0 */ D,D,D,D,D,D,D,D,D,D,R,R,R,U,R,D,D,R,R,D,D,X,D,D,D,R,D,D,D,D,X,X,
81   /* 08C0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
82   /* 08E0 */ X,X,U,
83 
84 #define joining_offset_0x1806u 739
85 
86   /* Mongolian */
87 
88   /* 1800 */             U,D,X,X,C,X,X,X,U,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
89   /* 1820 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
90   /* 1840 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
91   /* 1860 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,X,X,X,X,X,X,X,X,
92   /* 1880 */ U,U,U,U,U,T,T,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
93   /* 18A0 */ D,D,D,D,D,D,D,D,D,X,D,
94 
95 #define joining_offset_0x200cu 904
96 
97   /* General Punctuation */
98 
99   /* 2000 */                         U,C,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
100   /* 2020 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,U,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
101   /* 2040 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
102   /* 2060 */ X,X,X,X,X,X,U,U,U,U,
103 
104 #define joining_offset_0xa840u 998
105 
106   /* Phags-pa */
107 
108   /* A840 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
109   /* A860 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,L,U,
110 
111 #define joining_offset_0x10ac0u 1050
112 
113   /* Manichaean */
114 
115   /* 10AC0 */ D,D,D,D,D,R,U,R,U,R,R,U,U,L,R,R,R,R,R,D,D,D,D,L,D,D,D,D,D,R,D,D,
116   /* 10AE0 */ D,R,U,U,R,X,X,X,X,X,X,D,D,D,D,R,
117 
118 #define joining_offset_0x10b80u 1098
119 
120   /* Psalter Pahlavi */
121 
122   /* 10B80 */ D,R,D,R,R,R,D,D,D,R,D,D,R,D,R,R,D,R,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
123   /* 10BA0 */ X,X,X,X,X,X,X,X,X,R,R,R,R,D,D,U,
124 
125 #define joining_offset_0x1e900u 1146
126 
127   /* Adlam */
128 
129   /* 1E900 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
130   /* 1E920 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
131   /* 1E940 */ D,D,D,D,
132 
133 }; /* Table items: 1214; occupancy: 54% */
134 
135 
136 static unsigned int
joining_type(hb_codepoint_t u)137 joining_type (hb_codepoint_t u)
138 {
139   switch (u >> 12)
140   {
141     case 0x0u:
142       if (hb_in_range (u, 0x0600u, 0x08E2u)) return joining_table[u - 0x0600u + joining_offset_0x0600u];
143       break;
144 
145     case 0x1u:
146       if (hb_in_range (u, 0x1806u, 0x18AAu)) return joining_table[u - 0x1806u + joining_offset_0x1806u];
147       break;
148 
149     case 0x2u:
150       if (hb_in_range (u, 0x200Cu, 0x2069u)) return joining_table[u - 0x200Cu + joining_offset_0x200cu];
151       break;
152 
153     case 0xAu:
154       if (hb_in_range (u, 0xA840u, 0xA873u)) return joining_table[u - 0xA840u + joining_offset_0xa840u];
155       break;
156 
157     case 0x10u:
158       if (hb_in_range (u, 0x10AC0u, 0x10AEFu)) return joining_table[u - 0x10AC0u + joining_offset_0x10ac0u];
159       if (hb_in_range (u, 0x10B80u, 0x10BAFu)) return joining_table[u - 0x10B80u + joining_offset_0x10b80u];
160       break;
161 
162     case 0x1Eu:
163       if (hb_in_range (u, 0x1E900u, 0x1E943u)) return joining_table[u - 0x1E900u + joining_offset_0x1e900u];
164       break;
165 
166     default:
167       break;
168   }
169   return X;
170 }
171 
172 #undef X
173 #undef R
174 #undef T
175 #undef U
176 #undef A
177 #undef DR
178 #undef L
179 #undef C
180 #undef D
181 
182 
183 static const uint16_t shaping_table[][4] =
184 {
185   {0x0000u, 0x0000u, 0x0000u, 0xFE80u}, /* U+0621 ARABIC LETTER HAMZA ISOLATED FORM */
186   {0x0000u, 0x0000u, 0xFE82u, 0xFE81u}, /* U+0622 ARABIC LETTER ALEF WITH MADDA ABOVE */
187   {0x0000u, 0x0000u, 0xFE84u, 0xFE83u}, /* U+0623 ARABIC LETTER ALEF WITH HAMZA ABOVE */
188   {0x0000u, 0x0000u, 0xFE86u, 0xFE85u}, /* U+0624 ARABIC LETTER WAW WITH HAMZA ABOVE */
189   {0x0000u, 0x0000u, 0xFE88u, 0xFE87u}, /* U+0625 ARABIC LETTER ALEF WITH HAMZA BELOW */
190   {0xFE8Bu, 0xFE8Cu, 0xFE8Au, 0xFE89u}, /* U+0626 ARABIC LETTER YEH WITH HAMZA ABOVE */
191   {0x0000u, 0x0000u, 0xFE8Eu, 0xFE8Du}, /* U+0627 ARABIC LETTER ALEF */
192   {0xFE91u, 0xFE92u, 0xFE90u, 0xFE8Fu}, /* U+0628 ARABIC LETTER BEH */
193   {0x0000u, 0x0000u, 0xFE94u, 0xFE93u}, /* U+0629 ARABIC LETTER TEH MARBUTA */
194   {0xFE97u, 0xFE98u, 0xFE96u, 0xFE95u}, /* U+062A ARABIC LETTER TEH */
195   {0xFE9Bu, 0xFE9Cu, 0xFE9Au, 0xFE99u}, /* U+062B ARABIC LETTER THEH */
196   {0xFE9Fu, 0xFEA0u, 0xFE9Eu, 0xFE9Du}, /* U+062C ARABIC LETTER JEEM */
197   {0xFEA3u, 0xFEA4u, 0xFEA2u, 0xFEA1u}, /* U+062D ARABIC LETTER HAH */
198   {0xFEA7u, 0xFEA8u, 0xFEA6u, 0xFEA5u}, /* U+062E ARABIC LETTER KHAH */
199   {0x0000u, 0x0000u, 0xFEAAu, 0xFEA9u}, /* U+062F ARABIC LETTER DAL */
200   {0x0000u, 0x0000u, 0xFEACu, 0xFEABu}, /* U+0630 ARABIC LETTER THAL */
201   {0x0000u, 0x0000u, 0xFEAEu, 0xFEADu}, /* U+0631 ARABIC LETTER REH */
202   {0x0000u, 0x0000u, 0xFEB0u, 0xFEAFu}, /* U+0632 ARABIC LETTER ZAIN */
203   {0xFEB3u, 0xFEB4u, 0xFEB2u, 0xFEB1u}, /* U+0633 ARABIC LETTER SEEN */
204   {0xFEB7u, 0xFEB8u, 0xFEB6u, 0xFEB5u}, /* U+0634 ARABIC LETTER SHEEN */
205   {0xFEBBu, 0xFEBCu, 0xFEBAu, 0xFEB9u}, /* U+0635 ARABIC LETTER SAD */
206   {0xFEBFu, 0xFEC0u, 0xFEBEu, 0xFEBDu}, /* U+0636 ARABIC LETTER DAD */
207   {0xFEC3u, 0xFEC4u, 0xFEC2u, 0xFEC1u}, /* U+0637 ARABIC LETTER TAH */
208   {0xFEC7u, 0xFEC8u, 0xFEC6u, 0xFEC5u}, /* U+0638 ARABIC LETTER ZAH */
209   {0xFECBu, 0xFECCu, 0xFECAu, 0xFEC9u}, /* U+0639 ARABIC LETTER AIN */
210   {0xFECFu, 0xFED0u, 0xFECEu, 0xFECDu}, /* U+063A ARABIC LETTER GHAIN */
211   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+063B  */
212   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+063C  */
213   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+063D  */
214   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+063E  */
215   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+063F  */
216   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0640  */
217   {0xFED3u, 0xFED4u, 0xFED2u, 0xFED1u}, /* U+0641 ARABIC LETTER FEH */
218   {0xFED7u, 0xFED8u, 0xFED6u, 0xFED5u}, /* U+0642 ARABIC LETTER QAF */
219   {0xFEDBu, 0xFEDCu, 0xFEDAu, 0xFED9u}, /* U+0643 ARABIC LETTER KAF */
220   {0xFEDFu, 0xFEE0u, 0xFEDEu, 0xFEDDu}, /* U+0644 ARABIC LETTER LAM */
221   {0xFEE3u, 0xFEE4u, 0xFEE2u, 0xFEE1u}, /* U+0645 ARABIC LETTER MEEM */
222   {0xFEE7u, 0xFEE8u, 0xFEE6u, 0xFEE5u}, /* U+0646 ARABIC LETTER NOON */
223   {0xFEEBu, 0xFEECu, 0xFEEAu, 0xFEE9u}, /* U+0647 ARABIC LETTER HEH */
224   {0x0000u, 0x0000u, 0xFEEEu, 0xFEEDu}, /* U+0648 ARABIC LETTER WAW */
225   {0xFBE8u, 0xFBE9u, 0xFEF0u, 0xFEEFu}, /* U+0649 ARABIC LETTER */
226   {0xFEF3u, 0xFEF4u, 0xFEF2u, 0xFEF1u}, /* U+064A ARABIC LETTER YEH */
227   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+064B  */
228   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+064C  */
229   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+064D  */
230   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+064E  */
231   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+064F  */
232   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0650  */
233   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0651  */
234   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0652  */
235   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0653  */
236   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0654  */
237   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0655  */
238   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0656  */
239   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0657  */
240   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0658  */
241   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0659  */
242   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065A  */
243   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065B  */
244   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065C  */
245   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065D  */
246   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065E  */
247   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+065F  */
248   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0660  */
249   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0661  */
250   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0662  */
251   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0663  */
252   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0664  */
253   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0665  */
254   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0666  */
255   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0667  */
256   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0668  */
257   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0669  */
258   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066A  */
259   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066B  */
260   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066C  */
261   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066D  */
262   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066E  */
263   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+066F  */
264   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0670  */
265   {0x0000u, 0x0000u, 0xFB51u, 0xFB50u}, /* U+0671 ARABIC LETTER ALEF WASLA */
266   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0672  */
267   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0673  */
268   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0674  */
269   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0675  */
270   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0676  */
271   {0x0000u, 0x0000u, 0x0000u, 0xFBDDu}, /* U+0677 ARABIC LETTER U WITH HAMZA ABOVE ISOLATED FORM */
272   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0678  */
273   {0xFB68u, 0xFB69u, 0xFB67u, 0xFB66u}, /* U+0679 ARABIC LETTER TTEH */
274   {0xFB60u, 0xFB61u, 0xFB5Fu, 0xFB5Eu}, /* U+067A ARABIC LETTER TTEHEH */
275   {0xFB54u, 0xFB55u, 0xFB53u, 0xFB52u}, /* U+067B ARABIC LETTER BEEH */
276   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+067C  */
277   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+067D  */
278   {0xFB58u, 0xFB59u, 0xFB57u, 0xFB56u}, /* U+067E ARABIC LETTER PEH */
279   {0xFB64u, 0xFB65u, 0xFB63u, 0xFB62u}, /* U+067F ARABIC LETTER TEHEH */
280   {0xFB5Cu, 0xFB5Du, 0xFB5Bu, 0xFB5Au}, /* U+0680 ARABIC LETTER BEHEH */
281   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0681  */
282   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0682  */
283   {0xFB78u, 0xFB79u, 0xFB77u, 0xFB76u}, /* U+0683 ARABIC LETTER NYEH */
284   {0xFB74u, 0xFB75u, 0xFB73u, 0xFB72u}, /* U+0684 ARABIC LETTER DYEH */
285   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0685  */
286   {0xFB7Cu, 0xFB7Du, 0xFB7Bu, 0xFB7Au}, /* U+0686 ARABIC LETTER TCHEH */
287   {0xFB80u, 0xFB81u, 0xFB7Fu, 0xFB7Eu}, /* U+0687 ARABIC LETTER TCHEHEH */
288   {0x0000u, 0x0000u, 0xFB89u, 0xFB88u}, /* U+0688 ARABIC LETTER DDAL */
289   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0689  */
290   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+068A  */
291   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+068B  */
292   {0x0000u, 0x0000u, 0xFB85u, 0xFB84u}, /* U+068C ARABIC LETTER DAHAL */
293   {0x0000u, 0x0000u, 0xFB83u, 0xFB82u}, /* U+068D ARABIC LETTER DDAHAL */
294   {0x0000u, 0x0000u, 0xFB87u, 0xFB86u}, /* U+068E ARABIC LETTER DUL */
295   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+068F  */
296   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0690  */
297   {0x0000u, 0x0000u, 0xFB8Du, 0xFB8Cu}, /* U+0691 ARABIC LETTER RREH */
298   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0692  */
299   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0693  */
300   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0694  */
301   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0695  */
302   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0696  */
303   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0697  */
304   {0x0000u, 0x0000u, 0xFB8Bu, 0xFB8Au}, /* U+0698 ARABIC LETTER JEH */
305   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+0699  */
306   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069A  */
307   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069B  */
308   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069C  */
309   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069D  */
310   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069E  */
311   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+069F  */
312   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A0  */
313   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A1  */
314   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A2  */
315   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A3  */
316   {0xFB6Cu, 0xFB6Du, 0xFB6Bu, 0xFB6Au}, /* U+06A4 ARABIC LETTER VEH */
317   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A5  */
318   {0xFB70u, 0xFB71u, 0xFB6Fu, 0xFB6Eu}, /* U+06A6 ARABIC LETTER PEHEH */
319   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A7  */
320   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06A8  */
321   {0xFB90u, 0xFB91u, 0xFB8Fu, 0xFB8Eu}, /* U+06A9 ARABIC LETTER KEHEH */
322   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06AA  */
323   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06AB  */
324   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06AC  */
325   {0xFBD5u, 0xFBD6u, 0xFBD4u, 0xFBD3u}, /* U+06AD ARABIC LETTER NG */
326   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06AE  */
327   {0xFB94u, 0xFB95u, 0xFB93u, 0xFB92u}, /* U+06AF ARABIC LETTER GAF */
328   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B0  */
329   {0xFB9Cu, 0xFB9Du, 0xFB9Bu, 0xFB9Au}, /* U+06B1 ARABIC LETTER NGOEH */
330   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B2  */
331   {0xFB98u, 0xFB99u, 0xFB97u, 0xFB96u}, /* U+06B3 ARABIC LETTER GUEH */
332   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B4  */
333   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B5  */
334   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B6  */
335   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B7  */
336   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B8  */
337   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06B9  */
338   {0x0000u, 0x0000u, 0xFB9Fu, 0xFB9Eu}, /* U+06BA ARABIC LETTER NOON GHUNNA */
339   {0xFBA2u, 0xFBA3u, 0xFBA1u, 0xFBA0u}, /* U+06BB ARABIC LETTER RNOON */
340   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06BC  */
341   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06BD  */
342   {0xFBACu, 0xFBADu, 0xFBABu, 0xFBAAu}, /* U+06BE ARABIC LETTER HEH DOACHASHMEE */
343   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06BF  */
344   {0x0000u, 0x0000u, 0xFBA5u, 0xFBA4u}, /* U+06C0 ARABIC LETTER HEH WITH YEH ABOVE */
345   {0xFBA8u, 0xFBA9u, 0xFBA7u, 0xFBA6u}, /* U+06C1 ARABIC LETTER HEH GOAL */
346   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06C2  */
347   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06C3  */
348   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06C4  */
349   {0x0000u, 0x0000u, 0xFBE1u, 0xFBE0u}, /* U+06C5 ARABIC LETTER KIRGHIZ OE */
350   {0x0000u, 0x0000u, 0xFBDAu, 0xFBD9u}, /* U+06C6 ARABIC LETTER OE */
351   {0x0000u, 0x0000u, 0xFBD8u, 0xFBD7u}, /* U+06C7 ARABIC LETTER U */
352   {0x0000u, 0x0000u, 0xFBDCu, 0xFBDBu}, /* U+06C8 ARABIC LETTER YU */
353   {0x0000u, 0x0000u, 0xFBE3u, 0xFBE2u}, /* U+06C9 ARABIC LETTER KIRGHIZ YU */
354   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06CA  */
355   {0x0000u, 0x0000u, 0xFBDFu, 0xFBDEu}, /* U+06CB ARABIC LETTER VE */
356   {0xFBFEu, 0xFBFFu, 0xFBFDu, 0xFBFCu}, /* U+06CC ARABIC LETTER FARSI YEH */
357   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06CD  */
358   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06CE  */
359   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06CF  */
360   {0xFBE6u, 0xFBE7u, 0xFBE5u, 0xFBE4u}, /* U+06D0 ARABIC LETTER E */
361   {0x0000u, 0x0000u, 0x0000u, 0x0000u}, /* U+06D1  */
362   {0x0000u, 0x0000u, 0xFBAFu, 0xFBAEu}, /* U+06D2 ARABIC LETTER YEH BARREE */
363   {0x0000u, 0x0000u, 0xFBB1u, 0xFBB0u}, /* U+06D3 ARABIC LETTER YEH BARREE WITH HAMZA ABOVE */
364 };
365 
366 #define SHAPING_TABLE_FIRST	0x0621u
367 #define SHAPING_TABLE_LAST	0x06D3u
368 
369 
370 static const struct ligature_set_t {
371  uint16_t first;
372  struct ligature_pairs_t {
373    uint16_t second;
374    uint16_t ligature;
375  } ligatures[4];
376 } ligature_table[] =
377 {
378   { 0xFEDFu, {
379     { 0xFE88u, 0xFEF9u }, /* ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW ISOLATED FORM */
380     { 0xFE82u, 0xFEF5u }, /* ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE ISOLATED FORM */
381     { 0xFE8Eu, 0xFEFBu }, /* ARABIC LIGATURE LAM WITH ALEF ISOLATED FORM */
382     { 0xFE84u, 0xFEF7u }, /* ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE ISOLATED FORM */
383   }},
384   { 0xFEE0u, {
385     { 0xFE88u, 0xFEFAu }, /* ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW FINAL FORM */
386     { 0xFE82u, 0xFEF6u }, /* ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE FINAL FORM */
387     { 0xFE8Eu, 0xFEFCu }, /* ARABIC LIGATURE LAM WITH ALEF FINAL FORM */
388     { 0xFE84u, 0xFEF8u }, /* ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE FINAL FORM */
389   }},
390 };
391 
392 
393 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */
394 
395 /* == End of generated table == */
396