Bug 1852321 - Fix wpt tests in jsshell for sync changes, r=Sasha
[gecko.git] / gfx / harfbuzz / src / hb-ot-shaper-arabic-joining-list.hh
blobc7b57820afc793994235be5da2437843458a8a07
1 /* == Start of generated function == */
2 /*
3 * The following function is generated by running:
5 * ./gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt
7 * on files with these headers:
9 * # ArabicShaping-15.0.0.txt
10 * # Date: 2022-02-14, 18:50:00 GMT [KW, RP]
11 * # Scripts-15.0.0.txt
12 * # Date: 2022-04-26, 23:15:02 GMT
15 #ifndef HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
16 #define HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
18 static bool
19 has_arabic_joining (hb_script_t script)
21 /* List of scripts that have data in arabic-table. */
22 switch ((int) script)
24 case HB_SCRIPT_ADLAM:
25 case HB_SCRIPT_ARABIC:
26 case HB_SCRIPT_CHORASMIAN:
27 case HB_SCRIPT_HANIFI_ROHINGYA:
28 case HB_SCRIPT_MANDAIC:
29 case HB_SCRIPT_MANICHAEAN:
30 case HB_SCRIPT_MONGOLIAN:
31 case HB_SCRIPT_NKO:
32 case HB_SCRIPT_OLD_UYGHUR:
33 case HB_SCRIPT_PHAGS_PA:
34 case HB_SCRIPT_PSALTER_PAHLAVI:
35 case HB_SCRIPT_SOGDIAN:
36 case HB_SCRIPT_SYRIAC:
37 return true;
39 default:
40 return false;
45 #endif /* HB_OT_SHAPER_ARABIC_JOINING_LIST_HH */
47 /* == End of generated function == */