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