Coverage Report

Created: 2025-07-01 07:01

/src/harfbuzz/src/hb-ot-shaper-arabic-joining-list.hh
Line
Count
Source (jump to first uncovered line)
1
/* == Start of generated function == */
2
/*
3
 * The following function is generated by running:
4
 *
5
 *   ./gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt
6
 *
7
 * on files with these headers:
8
 *
9
 * # ArabicShaping-16.0.0.txt
10
 * # Date: 2024-07-30
11
 * # Scripts-16.0.0.txt
12
 * # Date: 2024-04-30, 21:48:40 GMT
13
 */
14
15
#ifndef HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
16
#define HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
17
18
static bool
19
has_arabic_joining (hb_script_t script)
20
0
{
21
  /* List of scripts that have data in arabic-table. */
22
0
  switch ((int) script)
23
0
  {
24
0
    case HB_SCRIPT_ADLAM:
25
0
    case HB_SCRIPT_ARABIC:
26
0
    case HB_SCRIPT_CHORASMIAN:
27
0
    case HB_SCRIPT_HANIFI_ROHINGYA:
28
0
    case HB_SCRIPT_MANDAIC:
29
0
    case HB_SCRIPT_MANICHAEAN:
30
0
    case HB_SCRIPT_MONGOLIAN:
31
0
    case HB_SCRIPT_NKO:
32
0
    case HB_SCRIPT_OLD_UYGHUR:
33
0
    case HB_SCRIPT_PHAGS_PA:
34
0
    case HB_SCRIPT_PSALTER_PAHLAVI:
35
0
    case HB_SCRIPT_SOGDIAN:
36
0
    case HB_SCRIPT_SYRIAC:
37
0
      return true;
38
39
0
    default:
40
0
      return false;
41
0
  }
42
0
}
43
44
45
#endif /* HB_OT_SHAPER_ARABIC_JOINING_LIST_HH */
46
47
/* == End of generated function == */