[USE] Insert dotted circles before lone viramas

This commit is contained in:
David Corbett 2021-10-08 21:58:07 -04:00 committed by Behdad Esfahbod
parent 641296b5eb
commit ae193cd182
2 changed files with 269 additions and 273 deletions

View File

@ -97,278 +97,276 @@ enum use_syllable_type_t {
#line 99 "hb-ot-shape-complex-use-machine.hh"
static const unsigned char _use_syllable_machine_trans_keys[] = {
1u, 1u, 1u, 1u, 0u, 51u, 41u, 42u, 42u, 42u, 11u, 48u, 11u, 48u, 1u, 1u,
22u, 48u, 23u, 48u, 24u, 47u, 25u, 47u, 26u, 47u, 45u, 46u, 46u, 46u, 24u, 48u,
24u, 48u, 24u, 48u, 1u, 1u, 24u, 48u, 23u, 48u, 23u, 48u, 23u, 48u, 22u, 48u,
22u, 48u, 22u, 48u, 11u, 48u, 1u, 48u, 13u, 13u, 4u, 4u, 11u, 48u, 11u, 48u,
22u, 48u, 23u, 48u, 24u, 47u, 25u, 47u, 26u, 47u, 45u, 46u, 46u, 46u, 24u, 48u,
24u, 48u, 24u, 48u, 24u, 48u, 23u, 48u, 23u, 48u, 23u, 48u, 22u, 48u, 22u, 48u,
22u, 48u, 11u, 48u, 1u, 48u, 1u, 1u, 4u, 4u, 13u, 13u, 1u, 48u, 11u, 48u,
41u, 42u, 42u, 42u, 1u, 5u, 50u, 52u, 49u, 52u, 49u, 51u, 0
0u, 51u, 41u, 42u, 42u, 42u, 11u, 48u, 11u, 48u, 1u, 1u, 22u, 48u, 23u, 48u,
24u, 47u, 25u, 47u, 26u, 47u, 45u, 46u, 46u, 46u, 24u, 48u, 24u, 48u, 24u, 48u,
1u, 1u, 24u, 48u, 23u, 48u, 23u, 48u, 23u, 48u, 22u, 48u, 22u, 48u, 22u, 48u,
11u, 48u, 1u, 48u, 13u, 13u, 4u, 4u, 11u, 48u, 11u, 48u, 1u, 1u, 22u, 48u,
23u, 48u, 24u, 47u, 25u, 47u, 26u, 47u, 45u, 46u, 46u, 46u, 24u, 48u, 24u, 48u,
24u, 48u, 1u, 1u, 24u, 48u, 23u, 48u, 23u, 48u, 23u, 48u, 22u, 48u, 22u, 48u,
22u, 48u, 11u, 48u, 1u, 48u, 4u, 4u, 13u, 13u, 1u, 48u, 11u, 48u, 41u, 42u,
42u, 42u, 1u, 5u, 50u, 52u, 49u, 52u, 49u, 51u, 0
};
static const char _use_syllable_machine_key_spans[] = {
1, 1, 52, 2, 1, 38, 38, 1,
27, 26, 24, 23, 22, 2, 1, 25,
25, 25, 1, 25, 26, 26, 26, 27,
27, 27, 38, 48, 1, 1, 38, 38,
27, 26, 24, 23, 22, 2, 1, 25,
25, 25, 25, 26, 26, 26, 27, 27,
27, 38, 48, 1, 1, 1, 48, 38,
2, 1, 5, 3, 4, 3
52, 2, 1, 38, 38, 1, 27, 26,
24, 23, 22, 2, 1, 25, 25, 25,
1, 25, 26, 26, 26, 27, 27, 27,
38, 48, 1, 1, 38, 38, 1, 27,
26, 24, 23, 22, 2, 1, 25, 25,
25, 1, 25, 26, 26, 26, 27, 27,
27, 38, 48, 1, 1, 48, 38, 2,
1, 5, 3, 4, 3
};
static const short _use_syllable_machine_index_offsets[] = {
0, 2, 4, 57, 60, 62, 101, 140,
142, 170, 197, 222, 246, 269, 272, 274,
300, 326, 352, 354, 380, 407, 434, 461,
489, 517, 545, 584, 633, 635, 637, 676,
715, 743, 770, 795, 819, 842, 845, 847,
873, 899, 925, 951, 978, 1005, 1032, 1060,
1088, 1116, 1155, 1204, 1206, 1208, 1210, 1259,
1298, 1301, 1303, 1309, 1313, 1318
0, 53, 56, 58, 97, 136, 138, 166,
193, 218, 242, 265, 268, 270, 296, 322,
348, 350, 376, 403, 430, 457, 485, 513,
541, 580, 629, 631, 633, 672, 711, 713,
741, 768, 793, 817, 840, 843, 845, 871,
897, 923, 925, 951, 978, 1005, 1032, 1060,
1088, 1116, 1155, 1204, 1206, 1208, 1257, 1296,
1299, 1301, 1307, 1311, 1316
};
static const char _use_syllable_machine_indicies[] = {
1, 0, 2, 0, 3, 4, 5, 5,
6, 7, 5, 5, 5, 5, 5, 1,
8, 9, 5, 5, 5, 5, 10, 5,
5, 5, 11, 12, 13, 14, 15, 16,
17, 11, 18, 19, 20, 21, 22, 23,
5, 24, 25, 26, 5, 27, 28, 29,
30, 31, 32, 33, 8, 34, 5, 35,
5, 3, 37, 36, 37, 36, 39, 40,
38, 38, 38, 38, 38, 38, 38, 38,
38, 41, 42, 43, 44, 45, 46, 47,
41, 48, 4, 49, 50, 51, 52, 38,
53, 54, 55, 38, 38, 38, 38, 56,
57, 58, 59, 40, 38, 39, 40, 38,
38, 38, 38, 38, 38, 38, 38, 38,
41, 42, 43, 44, 45, 46, 47, 41,
48, 49, 49, 50, 51, 52, 38, 53,
54, 55, 38, 38, 38, 38, 56, 57,
58, 59, 40, 38, 39, 60, 41, 42,
43, 44, 45, 38, 38, 38, 38, 38,
38, 50, 51, 52, 38, 53, 54, 55,
38, 38, 38, 38, 42, 57, 58, 59,
61, 38, 42, 43, 44, 45, 38, 38,
38, 38, 38, 38, 38, 38, 38, 38,
53, 54, 55, 38, 38, 38, 38, 38,
57, 58, 59, 61, 38, 43, 44, 45,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 57, 58, 59, 38, 44, 45,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 57, 58, 59, 38, 45, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 57, 58, 59, 38, 57, 58, 38,
58, 38, 43, 44, 45, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 53,
54, 55, 38, 38, 38, 38, 38, 57,
58, 59, 61, 38, 43, 44, 45, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 54, 55, 38, 38, 38, 38,
38, 57, 58, 59, 61, 38, 43, 44,
45, 38, 38, 38, 38, 38, 38, 38,
38, 38, 38, 38, 38, 55, 38, 38,
38, 38, 38, 57, 58, 59, 61, 38,
63, 62, 43, 44, 45, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 38,
38, 38, 38, 38, 38, 38, 38, 57,
58, 59, 61, 38, 42, 43, 44, 45,
38, 38, 38, 38, 38, 38, 50, 51,
52, 38, 53, 54, 55, 38, 38, 38,
38, 42, 57, 58, 59, 61, 38, 42,
43, 44, 45, 38, 38, 38, 38, 38,
38, 38, 51, 52, 38, 53, 54, 55,
38, 38, 38, 38, 42, 57, 58, 59,
61, 38, 42, 43, 44, 45, 38, 38,
38, 38, 38, 38, 38, 38, 52, 38,
53, 54, 55, 38, 38, 38, 38, 42,
57, 58, 59, 61, 38, 41, 42, 43,
44, 45, 38, 47, 41, 38, 38, 38,
50, 51, 52, 38, 53, 54, 55, 38,
38, 38, 38, 42, 57, 58, 59, 61,
38, 41, 42, 43, 44, 45, 38, 38,
41, 38, 38, 38, 50, 51, 52, 38,
53, 54, 55, 38, 38, 38, 38, 42,
57, 58, 59, 61, 38, 41, 42, 43,
44, 45, 46, 47, 41, 38, 38, 38,
50, 51, 52, 38, 53, 54, 55, 38,
38, 38, 38, 42, 57, 58, 59, 61,
38, 39, 40, 38, 38, 38, 38, 38,
38, 38, 38, 38, 41, 42, 43, 44,
45, 46, 47, 41, 48, 38, 49, 50,
51, 52, 38, 53, 54, 55, 38, 38,
38, 38, 56, 57, 58, 59, 40, 38,
39, 60, 60, 60, 60, 60, 60, 60,
60, 60, 60, 60, 60, 60, 60, 60,
60, 60, 60, 60, 60, 60, 42, 43,
44, 45, 60, 60, 60, 60, 60, 60,
60, 60, 60, 60, 53, 54, 55, 60,
60, 60, 60, 60, 57, 58, 59, 61,
60, 65, 64, 6, 66, 39, 40, 38,
38, 38, 38, 38, 38, 38, 38, 38,
41, 42, 43, 44, 45, 46, 47, 41,
48, 4, 49, 50, 51, 52, 38, 53,
54, 55, 38, 3, 37, 38, 56, 57,
58, 59, 40, 38, 1, 68, 67, 67,
67, 67, 67, 67, 67, 67, 67, 11,
12, 13, 14, 15, 16, 17, 11, 18,
20, 20, 21, 22, 23, 67, 24, 25,
26, 67, 67, 67, 67, 30, 31, 32,
33, 68, 67, 11, 12, 13, 14, 15,
67, 67, 67, 67, 67, 67, 21, 22,
23, 67, 24, 25, 26, 67, 67, 67,
67, 12, 31, 32, 33, 69, 67, 12,
13, 14, 15, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 24, 25, 26,
67, 67, 67, 67, 67, 31, 32, 33,
69, 67, 13, 14, 15, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 31,
32, 33, 67, 14, 15, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 31,
32, 33, 67, 15, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 31, 32,
33, 67, 31, 32, 67, 32, 67, 13,
14, 15, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 24, 25, 26, 67,
67, 67, 67, 67, 31, 32, 33, 69,
67, 13, 14, 15, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 25,
26, 67, 67, 67, 67, 67, 31, 32,
33, 69, 67, 13, 14, 15, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 26, 67, 67, 67, 67, 67,
31, 32, 33, 69, 67, 13, 14, 15,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 31, 32, 33, 69, 67, 12,
13, 14, 15, 67, 67, 67, 67, 67,
67, 21, 22, 23, 67, 24, 25, 26,
67, 67, 67, 67, 12, 31, 32, 33,
69, 67, 12, 13, 14, 15, 67, 67,
67, 67, 67, 67, 67, 22, 23, 67,
24, 25, 26, 67, 67, 67, 67, 12,
31, 32, 33, 69, 67, 12, 13, 14,
15, 67, 67, 67, 67, 67, 67, 67,
67, 23, 67, 24, 25, 26, 67, 67,
67, 67, 12, 31, 32, 33, 69, 67,
11, 12, 13, 14, 15, 67, 17, 11,
67, 67, 67, 21, 22, 23, 67, 24,
25, 26, 67, 67, 67, 67, 12, 31,
32, 33, 69, 67, 11, 12, 13, 14,
15, 67, 67, 11, 67, 67, 67, 21,
22, 23, 67, 24, 25, 26, 67, 67,
67, 67, 12, 31, 32, 33, 69, 67,
11, 12, 13, 14, 15, 16, 17, 11,
67, 67, 67, 21, 22, 23, 67, 24,
25, 26, 67, 67, 67, 67, 12, 31,
32, 33, 69, 67, 1, 68, 67, 67,
67, 67, 67, 67, 67, 67, 67, 11,
12, 13, 14, 15, 16, 17, 11, 18,
67, 20, 21, 22, 23, 67, 24, 25,
26, 67, 67, 67, 67, 30, 31, 32,
33, 68, 67, 1, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 67,
67, 12, 13, 14, 15, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 24,
25, 26, 67, 67, 67, 67, 67, 31,
32, 33, 69, 67, 1, 70, 71, 67,
9, 67, 4, 67, 67, 67, 4, 67,
67, 67, 67, 67, 1, 68, 9, 67,
67, 67, 67, 67, 67, 67, 67, 11,
12, 13, 14, 15, 16, 17, 11, 18,
19, 20, 21, 22, 23, 67, 24, 25,
26, 67, 27, 28, 67, 30, 31, 32,
33, 68, 67, 1, 68, 67, 67, 67,
67, 67, 67, 67, 67, 67, 11, 12,
13, 14, 15, 16, 17, 11, 18, 19,
20, 21, 22, 23, 67, 24, 25, 26,
67, 67, 67, 67, 30, 31, 32, 33,
68, 67, 27, 28, 67, 28, 67, 4,
70, 70, 70, 4, 70, 73, 72, 34,
72, 34, 73, 72, 73, 72, 34, 72,
35, 72, 0
0, 1, 2, 2, 3, 4, 2, 2,
2, 2, 2, 5, 6, 7, 2, 2,
2, 2, 8, 2, 2, 2, 9, 10,
11, 12, 13, 14, 15, 9, 16, 17,
18, 19, 20, 21, 2, 22, 23, 24,
2, 25, 26, 27, 28, 29, 30, 31,
6, 32, 2, 33, 2, 0, 35, 34,
35, 34, 37, 38, 36, 36, 36, 36,
36, 36, 36, 36, 36, 39, 40, 41,
42, 43, 44, 45, 39, 46, 1, 47,
48, 49, 50, 36, 51, 52, 53, 36,
36, 36, 36, 54, 55, 56, 57, 38,
36, 37, 38, 36, 36, 36, 36, 36,
36, 36, 36, 36, 39, 40, 41, 42,
43, 44, 45, 39, 46, 47, 47, 48,
49, 50, 36, 51, 52, 53, 36, 36,
36, 36, 54, 55, 56, 57, 38, 36,
37, 58, 39, 40, 41, 42, 43, 36,
36, 36, 36, 36, 36, 48, 49, 50,
36, 51, 52, 53, 36, 36, 36, 36,
40, 55, 56, 57, 59, 36, 40, 41,
42, 43, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 51, 52, 53, 36,
36, 36, 36, 36, 55, 56, 57, 59,
36, 41, 42, 43, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 55, 56,
57, 36, 42, 43, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 55, 56,
57, 36, 43, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 55, 56, 57,
36, 55, 56, 36, 56, 36, 41, 42,
43, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 51, 52, 53, 36, 36,
36, 36, 36, 55, 56, 57, 59, 36,
41, 42, 43, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 52, 53,
36, 36, 36, 36, 36, 55, 56, 57,
59, 36, 41, 42, 43, 36, 36, 36,
36, 36, 36, 36, 36, 36, 36, 36,
36, 53, 36, 36, 36, 36, 36, 55,
56, 57, 59, 36, 61, 60, 41, 42,
43, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 55, 56, 57, 59, 36,
40, 41, 42, 43, 36, 36, 36, 36,
36, 36, 48, 49, 50, 36, 51, 52,
53, 36, 36, 36, 36, 40, 55, 56,
57, 59, 36, 40, 41, 42, 43, 36,
36, 36, 36, 36, 36, 36, 49, 50,
36, 51, 52, 53, 36, 36, 36, 36,
40, 55, 56, 57, 59, 36, 40, 41,
42, 43, 36, 36, 36, 36, 36, 36,
36, 36, 50, 36, 51, 52, 53, 36,
36, 36, 36, 40, 55, 56, 57, 59,
36, 39, 40, 41, 42, 43, 36, 45,
39, 36, 36, 36, 48, 49, 50, 36,
51, 52, 53, 36, 36, 36, 36, 40,
55, 56, 57, 59, 36, 39, 40, 41,
42, 43, 36, 36, 39, 36, 36, 36,
48, 49, 50, 36, 51, 52, 53, 36,
36, 36, 36, 40, 55, 56, 57, 59,
36, 39, 40, 41, 42, 43, 44, 45,
39, 36, 36, 36, 48, 49, 50, 36,
51, 52, 53, 36, 36, 36, 36, 40,
55, 56, 57, 59, 36, 37, 38, 36,
36, 36, 36, 36, 36, 36, 36, 36,
39, 40, 41, 42, 43, 44, 45, 39,
46, 36, 47, 48, 49, 50, 36, 51,
52, 53, 36, 36, 36, 36, 54, 55,
56, 57, 38, 36, 37, 58, 58, 58,
58, 58, 58, 58, 58, 58, 58, 58,
58, 58, 58, 58, 58, 58, 58, 58,
58, 58, 40, 41, 42, 43, 58, 58,
58, 58, 58, 58, 58, 58, 58, 58,
51, 52, 53, 58, 58, 58, 58, 58,
55, 56, 57, 59, 58, 63, 62, 3,
64, 37, 38, 36, 36, 36, 36, 36,
36, 36, 36, 36, 39, 40, 41, 42,
43, 44, 45, 39, 46, 1, 47, 48,
49, 50, 36, 51, 52, 53, 36, 0,
35, 36, 54, 55, 56, 57, 38, 36,
5, 6, 65, 65, 65, 65, 65, 65,
65, 65, 65, 9, 10, 11, 12, 13,
14, 15, 9, 16, 18, 18, 19, 20,
21, 65, 22, 23, 24, 65, 65, 65,
65, 28, 29, 30, 31, 6, 65, 5,
65, 9, 10, 11, 12, 13, 65, 65,
65, 65, 65, 65, 19, 20, 21, 65,
22, 23, 24, 65, 65, 65, 65, 10,
29, 30, 31, 66, 65, 10, 11, 12,
13, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 22, 23, 24, 65, 65,
65, 65, 65, 29, 30, 31, 66, 65,
11, 12, 13, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 29, 30, 31,
65, 12, 13, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 29, 30, 31,
65, 13, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 29, 30, 31, 65,
29, 30, 65, 30, 65, 11, 12, 13,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 22, 23, 24, 65, 65, 65,
65, 65, 29, 30, 31, 66, 65, 11,
12, 13, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 23, 24, 65,
65, 65, 65, 65, 29, 30, 31, 66,
65, 11, 12, 13, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
24, 65, 65, 65, 65, 65, 29, 30,
31, 66, 65, 67, 65, 11, 12, 13,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 29, 30, 31, 66, 65, 10,
11, 12, 13, 65, 65, 65, 65, 65,
65, 19, 20, 21, 65, 22, 23, 24,
65, 65, 65, 65, 10, 29, 30, 31,
66, 65, 10, 11, 12, 13, 65, 65,
65, 65, 65, 65, 65, 20, 21, 65,
22, 23, 24, 65, 65, 65, 65, 10,
29, 30, 31, 66, 65, 10, 11, 12,
13, 65, 65, 65, 65, 65, 65, 65,
65, 21, 65, 22, 23, 24, 65, 65,
65, 65, 10, 29, 30, 31, 66, 65,
9, 10, 11, 12, 13, 65, 15, 9,
65, 65, 65, 19, 20, 21, 65, 22,
23, 24, 65, 65, 65, 65, 10, 29,
30, 31, 66, 65, 9, 10, 11, 12,
13, 65, 65, 9, 65, 65, 65, 19,
20, 21, 65, 22, 23, 24, 65, 65,
65, 65, 10, 29, 30, 31, 66, 65,
9, 10, 11, 12, 13, 14, 15, 9,
65, 65, 65, 19, 20, 21, 65, 22,
23, 24, 65, 65, 65, 65, 10, 29,
30, 31, 66, 65, 5, 6, 65, 65,
65, 65, 65, 65, 65, 65, 65, 9,
10, 11, 12, 13, 14, 15, 9, 16,
65, 18, 19, 20, 21, 65, 22, 23,
24, 65, 65, 65, 65, 28, 29, 30,
31, 6, 65, 5, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 65,
65, 10, 11, 12, 13, 65, 65, 65,
65, 65, 65, 65, 65, 65, 65, 22,
23, 24, 65, 65, 65, 65, 65, 29,
30, 31, 66, 65, 68, 65, 7, 65,
1, 65, 65, 65, 1, 65, 65, 65,
65, 65, 5, 6, 7, 65, 65, 65,
65, 65, 65, 65, 65, 9, 10, 11,
12, 13, 14, 15, 9, 16, 17, 18,
19, 20, 21, 65, 22, 23, 24, 65,
25, 26, 65, 28, 29, 30, 31, 6,
65, 5, 6, 65, 65, 65, 65, 65,
65, 65, 65, 65, 9, 10, 11, 12,
13, 14, 15, 9, 16, 17, 18, 19,
20, 21, 65, 22, 23, 24, 65, 65,
65, 65, 28, 29, 30, 31, 6, 65,
25, 26, 65, 26, 65, 1, 69, 69,
69, 1, 69, 71, 70, 32, 70, 32,
71, 70, 71, 70, 32, 70, 33, 70,
0
};
static const char _use_syllable_machine_trans_targs[] = {
2, 31, 42, 3, 5, 2, 28, 30,
51, 52, 54, 32, 33, 34, 35, 36,
46, 47, 48, 55, 49, 43, 44, 45,
39, 40, 41, 56, 57, 58, 50, 37,
38, 2, 59, 61, 2, 4, 2, 6,
7, 8, 9, 10, 11, 12, 23, 24,
25, 26, 20, 21, 22, 15, 16, 17,
27, 13, 14, 2, 2, 18, 2, 19,
2, 29, 2, 2, 0, 1, 2, 53,
2, 60
1, 3, 0, 26, 28, 29, 30, 51,
53, 31, 32, 33, 34, 35, 46, 47,
48, 54, 49, 43, 44, 45, 38, 39,
40, 55, 56, 57, 50, 36, 37, 0,
58, 60, 0, 2, 0, 4, 5, 6,
7, 8, 9, 10, 21, 22, 23, 24,
18, 19, 20, 13, 14, 15, 25, 11,
12, 0, 0, 16, 0, 17, 0, 27,
0, 0, 41, 42, 52, 0, 0, 59
};
static const char _use_syllable_machine_trans_actions[] = {
1, 2, 2, 0, 0, 5, 0, 0,
0, 0, 2, 2, 2, 0, 0, 0,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 0, 0, 0, 2, 0,
0, 6, 0, 0, 7, 0, 8, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 9, 10, 0, 11, 0,
12, 0, 13, 14, 0, 0, 15, 0,
16, 0
};
static const char _use_syllable_machine_to_state_actions[] = {
0, 0, 3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 4,
0, 0, 5, 0, 6, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 7, 8, 0, 9, 0, 10, 0,
11, 12, 0, 0, 0, 13, 14, 0
};
static const char _use_syllable_machine_to_state_actions[] = {
1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0
};
static const char _use_syllable_machine_from_state_actions[] = {
0, 0, 4, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0
};
static const short _use_syllable_machine_eof_trans[] = {
1, 1, 0, 37, 37, 39, 39, 61,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 63, 39, 39, 39, 39, 39,
39, 39, 39, 61, 65, 67, 39, 68,
68, 68, 68, 68, 68, 68, 68, 68,
68, 68, 68, 68, 68, 68, 68, 68,
68, 68, 68, 71, 68, 68, 68, 68,
68, 68, 71, 73, 73, 73
0, 35, 35, 37, 37, 59, 37, 37,
37, 37, 37, 37, 37, 37, 37, 37,
61, 37, 37, 37, 37, 37, 37, 37,
37, 59, 63, 65, 37, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66,
66, 70, 71, 71, 71
};
static const int use_syllable_machine_start = 2;
static const int use_syllable_machine_first_final = 2;
static const int use_syllable_machine_start = 0;
static const int use_syllable_machine_first_final = 0;
static const int use_syllable_machine_error = -1;
static const int use_syllable_machine_en_main = 2;
static const int use_syllable_machine_en_main = 0;
#line 58 "hb-ot-shape-complex-use-machine.rl"
#line 173 "hb-ot-shape-complex-use-machine.rl"
#line 179 "hb-ot-shape-complex-use-machine.rl"
#define found_syllable(syllable_type) \
@ -451,7 +449,7 @@ find_syllables_use (hb_buffer_t *buffer)
unsigned int act HB_UNUSED;
int cs;
#line 455 "hb-ot-shape-complex-use-machine.hh"
#line 453 "hb-ot-shape-complex-use-machine.hh"
{
cs = use_syllable_machine_start;
ts = 0;
@ -459,12 +457,12 @@ find_syllables_use (hb_buffer_t *buffer)
act = 0;
}
#line 257 "hb-ot-shape-complex-use-machine.rl"
#line 263 "hb-ot-shape-complex-use-machine.rl"
unsigned int syllable_serial = 1;
#line 468 "hb-ot-shape-complex-use-machine.hh"
#line 466 "hb-ot-shape-complex-use-machine.hh"
{
int _slen;
int _trans;
@ -474,11 +472,11 @@ find_syllables_use (hb_buffer_t *buffer)
goto _test_eof;
_resume:
switch ( _use_syllable_machine_from_state_actions[cs] ) {
case 4:
case 2:
#line 1 "NONE"
{ts = p;}
break;
#line 482 "hb-ot-shape-complex-use-machine.hh"
#line 480 "hb-ot-shape-complex-use-machine.hh"
}
_keys = _use_syllable_machine_trans_keys + (cs<<1);
@ -496,72 +494,64 @@ _eof_trans:
goto _again;
switch ( _use_syllable_machine_trans_actions[_trans] ) {
case 2:
#line 1 "NONE"
{te = p+1;}
break;
case 9:
#line 163 "hb-ot-shape-complex-use-machine.rl"
case 7:
#line 169 "hb-ot-shape-complex-use-machine.rl"
{te = p+1;{ found_syllable (use_standard_cluster); }}
break;
case 6:
#line 168 "hb-ot-shape-complex-use-machine.rl"
case 4:
#line 174 "hb-ot-shape-complex-use-machine.rl"
{te = p+1;{ found_syllable (use_broken_cluster); }}
break;
case 5:
#line 169 "hb-ot-shape-complex-use-machine.rl"
case 3:
#line 175 "hb-ot-shape-complex-use-machine.rl"
{te = p+1;{ found_syllable (use_non_cluster); }}
break;
case 10:
#line 161 "hb-ot-shape-complex-use-machine.rl"
case 8:
#line 167 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_virama_terminated_cluster); }}
break;
case 11:
#line 162 "hb-ot-shape-complex-use-machine.rl"
case 9:
#line 168 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_sakot_terminated_cluster); }}
break;
case 8:
#line 163 "hb-ot-shape-complex-use-machine.rl"
case 6:
#line 169 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_standard_cluster); }}
break;
case 13:
#line 164 "hb-ot-shape-complex-use-machine.rl"
case 11:
#line 170 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_number_joiner_terminated_cluster); }}
break;
case 12:
#line 165 "hb-ot-shape-complex-use-machine.rl"
case 10:
#line 171 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_numeral_cluster); }}
break;
case 7:
#line 166 "hb-ot-shape-complex-use-machine.rl"
case 5:
#line 172 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_symbol_cluster); }}
break;
case 16:
#line 167 "hb-ot-shape-complex-use-machine.rl"
case 14:
#line 173 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_hieroglyph_cluster); }}
break;
case 14:
#line 168 "hb-ot-shape-complex-use-machine.rl"
case 12:
#line 174 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_broken_cluster); }}
break;
case 15:
#line 169 "hb-ot-shape-complex-use-machine.rl"
case 13:
#line 175 "hb-ot-shape-complex-use-machine.rl"
{te = p;p--;{ found_syllable (use_non_cluster); }}
break;
case 1:
#line 168 "hb-ot-shape-complex-use-machine.rl"
{{p = ((te))-1;}{ found_syllable (use_broken_cluster); }}
break;
#line 556 "hb-ot-shape-complex-use-machine.hh"
#line 546 "hb-ot-shape-complex-use-machine.hh"
}
_again:
switch ( _use_syllable_machine_to_state_actions[cs] ) {
case 3:
case 1:
#line 1 "NONE"
{ts = 0;}
break;
#line 565 "hb-ot-shape-complex-use-machine.hh"
#line 555 "hb-ot-shape-complex-use-machine.hh"
}
if ( ++p != pe )
@ -577,7 +567,7 @@ _again:
}
#line 262 "hb-ot-shape-complex-use-machine.rl"
#line 268 "hb-ot-shape-complex-use-machine.rl"
}

View File

@ -132,23 +132,29 @@ number_joiner_terminated_cluster_tail = (HN N)* HN;
numeral_cluster_tail = (HN N)+;
symbol_cluster_tail = SMAbv+ SMBlw* | SMBlw+;
virama_terminated_cluster =
complex_syllable_start
virama_terminated_cluster_tail =
consonant_modifiers
h
;
sakot_terminated_cluster =
virama_terminated_cluster =
complex_syllable_start
virama_terminated_cluster_tail
;
sakot_terminated_cluster_tail =
complex_syllable_middle
Sk
;
sakot_terminated_cluster =
complex_syllable_start
sakot_terminated_cluster_tail
;
standard_cluster =
complex_syllable_start
complex_syllable_tail
;
broken_cluster =
R?
(complex_syllable_tail | number_joiner_terminated_cluster_tail | numeral_cluster_tail | symbol_cluster_tail)
(complex_syllable_tail | number_joiner_terminated_cluster_tail | numeral_cluster_tail | symbol_cluster_tail | virama_terminated_cluster_tail | sakot_terminated_cluster_tail)
;
number_joiner_terminated_cluster = N number_joiner_terminated_cluster_tail;