[indic/myanmar] No-op update to machines

This commit is contained in:
Behdad Esfahbod 2022-06-04 08:45:03 -06:00
parent 20a61ca447
commit 67852504f6
4 changed files with 201 additions and 203 deletions

View File

@ -57,11 +57,12 @@ enum indic_syllable_type_t {
#define indic_syllable_machine_ex_SM 8u #define indic_syllable_machine_ex_SM 8u
#define indic_syllable_machine_ex_Symbol 18u #define indic_syllable_machine_ex_Symbol 18u
#define indic_syllable_machine_ex_V 2u #define indic_syllable_machine_ex_V 2u
#define indic_syllable_machine_ex_VD 10u
#define indic_syllable_machine_ex_ZWJ 6u #define indic_syllable_machine_ex_ZWJ 6u
#define indic_syllable_machine_ex_ZWNJ 5u #define indic_syllable_machine_ex_ZWNJ 5u
#line 65 "hb-ot-shaper-indic-machine.hh" #line 66 "hb-ot-shaper-indic-machine.hh"
static const unsigned char _indic_syllable_machine_trans_keys[] = { static const unsigned char _indic_syllable_machine_trans_keys[] = {
8u, 8u, 4u, 8u, 5u, 7u, 5u, 8u, 4u, 8u, 6u, 6u, 16u, 16u, 4u, 8u, 8u, 8u, 4u, 8u, 5u, 7u, 5u, 8u, 4u, 8u, 6u, 6u, 16u, 16u, 4u, 8u,
4u, 13u, 4u, 8u, 8u, 8u, 5u, 7u, 5u, 8u, 4u, 8u, 6u, 6u, 16u, 16u, 4u, 13u, 4u, 8u, 8u, 8u, 5u, 7u, 5u, 8u, 4u, 8u, 6u, 6u, 16u, 16u,
@ -417,7 +418,7 @@ static const int indic_syllable_machine_en_main = 39;
#line 102 "hb-ot-shaper-indic-machine.rl" #line 103 "hb-ot-shaper-indic-machine.rl"
#define found_syllable(syllable_type) \ #define found_syllable(syllable_type) \
@ -436,7 +437,7 @@ find_syllables_indic (hb_buffer_t *buffer)
int cs; int cs;
hb_glyph_info_t *info = buffer->info; hb_glyph_info_t *info = buffer->info;
#line 440 "hb-ot-shaper-indic-machine.hh" #line 441 "hb-ot-shaper-indic-machine.hh"
{ {
cs = indic_syllable_machine_start; cs = indic_syllable_machine_start;
ts = 0; ts = 0;
@ -444,7 +445,7 @@ find_syllables_indic (hb_buffer_t *buffer)
act = 0; act = 0;
} }
#line 122 "hb-ot-shaper-indic-machine.rl" #line 123 "hb-ot-shaper-indic-machine.rl"
p = 0; p = 0;
@ -452,7 +453,7 @@ find_syllables_indic (hb_buffer_t *buffer)
unsigned int syllable_serial = 1; unsigned int syllable_serial = 1;
#line 456 "hb-ot-shaper-indic-machine.hh" #line 457 "hb-ot-shaper-indic-machine.hh"
{ {
int _slen; int _slen;
int _trans; int _trans;
@ -466,7 +467,7 @@ _resume:
#line 1 "NONE" #line 1 "NONE"
{ts = p;} {ts = p;}
break; break;
#line 470 "hb-ot-shaper-indic-machine.hh" #line 471 "hb-ot-shaper-indic-machine.hh"
} }
_keys = _indic_syllable_machine_trans_keys + (cs<<1); _keys = _indic_syllable_machine_trans_keys + (cs<<1);
@ -489,51 +490,51 @@ _eof_trans:
{te = p+1;} {te = p+1;}
break; break;
case 11: case 11:
#line 98 "hb-ot-shaper-indic-machine.rl" #line 99 "hb-ot-shaper-indic-machine.rl"
{te = p+1;{ found_syllable (indic_non_indic_cluster); }} {te = p+1;{ found_syllable (indic_non_indic_cluster); }}
break; break;
case 13: case 13:
#line 93 "hb-ot-shaper-indic-machine.rl" #line 94 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_consonant_syllable); }} {te = p;p--;{ found_syllable (indic_consonant_syllable); }}
break; break;
case 14: case 14:
#line 94 "hb-ot-shaper-indic-machine.rl" #line 95 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_vowel_syllable); }} {te = p;p--;{ found_syllable (indic_vowel_syllable); }}
break; break;
case 17: case 17:
#line 95 "hb-ot-shaper-indic-machine.rl" #line 96 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_standalone_cluster); }} {te = p;p--;{ found_syllable (indic_standalone_cluster); }}
break; break;
case 19: case 19:
#line 96 "hb-ot-shaper-indic-machine.rl" #line 97 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_symbol_cluster); }} {te = p;p--;{ found_syllable (indic_symbol_cluster); }}
break; break;
case 15: case 15:
#line 97 "hb-ot-shaper-indic-machine.rl" #line 98 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_broken_cluster); }} {te = p;p--;{ found_syllable (indic_broken_cluster); }}
break; break;
case 16: case 16:
#line 98 "hb-ot-shaper-indic-machine.rl" #line 99 "hb-ot-shaper-indic-machine.rl"
{te = p;p--;{ found_syllable (indic_non_indic_cluster); }} {te = p;p--;{ found_syllable (indic_non_indic_cluster); }}
break; break;
case 1: case 1:
#line 93 "hb-ot-shaper-indic-machine.rl" #line 94 "hb-ot-shaper-indic-machine.rl"
{{p = ((te))-1;}{ found_syllable (indic_consonant_syllable); }} {{p = ((te))-1;}{ found_syllable (indic_consonant_syllable); }}
break; break;
case 3: case 3:
#line 94 "hb-ot-shaper-indic-machine.rl" #line 95 "hb-ot-shaper-indic-machine.rl"
{{p = ((te))-1;}{ found_syllable (indic_vowel_syllable); }} {{p = ((te))-1;}{ found_syllable (indic_vowel_syllable); }}
break; break;
case 7: case 7:
#line 95 "hb-ot-shaper-indic-machine.rl" #line 96 "hb-ot-shaper-indic-machine.rl"
{{p = ((te))-1;}{ found_syllable (indic_standalone_cluster); }} {{p = ((te))-1;}{ found_syllable (indic_standalone_cluster); }}
break; break;
case 8: case 8:
#line 96 "hb-ot-shaper-indic-machine.rl" #line 97 "hb-ot-shaper-indic-machine.rl"
{{p = ((te))-1;}{ found_syllable (indic_symbol_cluster); }} {{p = ((te))-1;}{ found_syllable (indic_symbol_cluster); }}
break; break;
case 4: case 4:
#line 97 "hb-ot-shaper-indic-machine.rl" #line 98 "hb-ot-shaper-indic-machine.rl"
{{p = ((te))-1;}{ found_syllable (indic_broken_cluster); }} {{p = ((te))-1;}{ found_syllable (indic_broken_cluster); }}
break; break;
case 6: case 6:
@ -554,22 +555,22 @@ _eof_trans:
case 18: case 18:
#line 1 "NONE" #line 1 "NONE"
{te = p+1;} {te = p+1;}
#line 93 "hb-ot-shaper-indic-machine.rl" #line 94 "hb-ot-shaper-indic-machine.rl"
{act = 1;} {act = 1;}
break; break;
case 5: case 5:
#line 1 "NONE" #line 1 "NONE"
{te = p+1;} {te = p+1;}
#line 97 "hb-ot-shaper-indic-machine.rl" #line 98 "hb-ot-shaper-indic-machine.rl"
{act = 5;} {act = 5;}
break; break;
case 12: case 12:
#line 1 "NONE" #line 1 "NONE"
{te = p+1;} {te = p+1;}
#line 98 "hb-ot-shaper-indic-machine.rl" #line 99 "hb-ot-shaper-indic-machine.rl"
{act = 6;} {act = 6;}
break; break;
#line 573 "hb-ot-shaper-indic-machine.hh" #line 574 "hb-ot-shaper-indic-machine.hh"
} }
_again: _again:
@ -578,7 +579,7 @@ _again:
#line 1 "NONE" #line 1 "NONE"
{ts = 0;} {ts = 0;}
break; break;
#line 582 "hb-ot-shaper-indic-machine.hh" #line 583 "hb-ot-shaper-indic-machine.hh"
} }
if ( ++p != pe ) if ( ++p != pe )
@ -594,7 +595,7 @@ _again:
} }
#line 130 "hb-ot-shaper-indic-machine.rl" #line 131 "hb-ot-shaper-indic-machine.rl"
} }

View File

@ -56,6 +56,7 @@ export ZWJ = 6;
export M = 7; export M = 7;
export SM = 8; export SM = 8;
export A = 10; export A = 10;
export VD = 10;
export PLACEHOLDER = 11; export PLACEHOLDER = 11;
export DOTTEDCIRCLE = 12; export DOTTEDCIRCLE = 12;
export RS = 13; export RS = 13;
@ -74,7 +75,7 @@ cn = c.ZWJ?.n?;
forced_rakar = ZWJ H ZWJ Ra; forced_rakar = ZWJ H ZWJ Ra;
symbol = Symbol.N?; symbol = Symbol.N?;
matra_group = z*.M.N?.(H | forced_rakar)?; matra_group = z*.M.N?.(H | forced_rakar)?;
syllable_tail = (z?.SM.SM?.ZWNJ?)? A*; syllable_tail = (z?.SM.SM?.ZWNJ?)? (A | VD)*;
halant_group = (z?.H.(ZWJ.N?)?); halant_group = (z?.H.(ZWJ.N?)?);
final_halant_group = halant_group | H.ZWNJ; final_halant_group = halant_group | H.ZWNJ;
medial_group = CM?; medial_group = CM?;

View File

@ -52,8 +52,9 @@ enum indic_category_t {
OT_ZWJ = 6, OT_ZWJ = 6,
OT_M = 7, OT_M = 7,
OT_SM = 8, OT_SM = 8,
/* OT_VD = 9, UNUSED; we use OT_A instead. */ // 9 unused as of now
OT_A = 10, OT_A = 10,
OT_VD = OT_A,
OT_PLACEHOLDER = 11, OT_PLACEHOLDER = 11,
OT_DOTTEDCIRCLE = 12, OT_DOTTEDCIRCLE = 12,
OT_RS = 13, /* Register Shifter, used in Khmer OT spec. */ OT_RS = 13, /* Register Shifter, used in Khmer OT spec. */
@ -388,7 +389,7 @@ set_indic_properties (hb_glyph_info_t &info)
{ {
pos = matra_position_indic (u, pos); pos = matra_position_indic (u, pos);
} }
else if ((FLAG_UNSAFE (cat) & (FLAG (OT_SM) /* | FLAG (OT_VD) */ | FLAG (OT_A) | FLAG (OT_Symbol)))) else if ((FLAG_UNSAFE (cat) & (FLAG (OT_SM) | FLAG (OT_VD) | FLAG (OT_A) | FLAG (OT_Symbol))))
{ {
pos = POS_SMVD; pos = POS_SMVD;
} }

View File

@ -70,175 +70,173 @@ enum myanmar_syllable_type_t {
#line 72 "hb-ot-shaper-myanmar-machine.hh" #line 72 "hb-ot-shaper-myanmar-machine.hh"
static const unsigned char _myanmar_syllable_machine_trans_keys[] = { static const unsigned char _myanmar_syllable_machine_trans_keys[] = {
1u, 33u, 3u, 33u, 5u, 29u, 5u, 8u, 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u, 1u, 32u, 3u, 32u, 5u, 29u, 5u, 8u, 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u,
3u, 33u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 33u, 1u, 16u, 3u, 33u, 3u, 33u, 3u, 32u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 32u, 1u, 16u, 3u, 32u, 3u, 32u,
3u, 29u, 3u, 29u, 3u, 29u, 3u, 30u, 3u, 29u, 3u, 33u, 3u, 33u, 3u, 33u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 30u, 3u, 29u, 3u, 32u, 3u, 32u, 3u, 32u,
3u, 33u, 3u, 33u, 5u, 29u, 5u, 8u, 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u, 3u, 32u, 3u, 32u, 5u, 29u, 5u, 8u, 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u,
3u, 33u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 33u, 1u, 16u, 3u, 33u, 3u, 33u, 3u, 32u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 32u, 1u, 16u, 3u, 32u, 3u, 32u,
3u, 33u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 30u, 3u, 29u, 3u, 33u, 3u, 33u, 3u, 32u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 30u, 3u, 29u, 3u, 32u, 3u, 32u,
3u, 33u, 3u, 33u, 3u, 33u, 3u, 33u, 3u, 33u, 1u, 33u, 1u, 32u, 8u, 8u, 3u, 32u, 3u, 32u, 3u, 32u, 3u, 32u, 3u, 32u, 1u, 32u, 1u, 16u, 8u, 8u,
0 0
}; };
static const char _myanmar_syllable_machine_key_spans[] = { static const char _myanmar_syllable_machine_key_spans[] = {
33, 31, 25, 4, 25, 23, 21, 21, 32, 30, 25, 4, 25, 23, 21, 21,
31, 27, 27, 27, 31, 16, 31, 31, 30, 27, 27, 27, 30, 16, 30, 30,
27, 27, 27, 28, 27, 31, 31, 31, 27, 27, 27, 28, 27, 30, 30, 30,
31, 31, 25, 4, 25, 23, 21, 21, 30, 30, 25, 4, 25, 23, 21, 21,
31, 27, 27, 27, 31, 16, 31, 31, 30, 27, 27, 27, 30, 16, 30, 30,
31, 27, 27, 27, 28, 27, 31, 31, 30, 27, 27, 27, 28, 27, 30, 30,
31, 31, 31, 31, 31, 33, 32, 1 30, 30, 30, 30, 30, 32, 16, 1
}; };
static const short _myanmar_syllable_machine_index_offsets[] = { static const short _myanmar_syllable_machine_index_offsets[] = {
0, 34, 66, 92, 97, 123, 147, 169, 0, 33, 64, 90, 95, 121, 145, 167,
191, 223, 251, 279, 307, 339, 356, 388, 189, 220, 248, 276, 304, 335, 352, 383,
420, 448, 476, 504, 533, 561, 593, 625, 414, 442, 470, 498, 527, 555, 586, 617,
657, 689, 721, 747, 752, 778, 802, 824, 648, 679, 710, 736, 741, 767, 791, 813,
846, 878, 906, 934, 962, 994, 1011, 1043, 835, 866, 894, 922, 950, 981, 998, 1029,
1075, 1107, 1135, 1163, 1191, 1220, 1248, 1280, 1060, 1091, 1119, 1147, 1175, 1204, 1232, 1263,
1312, 1344, 1376, 1408, 1440, 1472, 1506, 1539 1294, 1325, 1356, 1387, 1418, 1449, 1482, 1499
}; };
static const char _myanmar_syllable_machine_indicies[] = { static const char _myanmar_syllable_machine_indicies[] = {
1, 1, 2, 3, 4, 4, 0, 5, 1, 1, 2, 3, 4, 4, 0, 5,
0, 6, 1, 0, 0, 0, 0, 7, 0, 6, 1, 0, 0, 0, 0, 7,
0, 8, 9, 0, 10, 11, 12, 13, 0, 8, 9, 0, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 1, 14, 15, 16, 17, 18, 19, 20, 21,
21, 0, 23, 24, 25, 25, 22, 26, 0, 23, 24, 25, 25, 22, 26, 22,
22, 27, 22, 22, 22, 22, 22, 22, 27, 22, 22, 22, 22, 22, 22, 22,
22, 28, 22, 22, 29, 30, 31, 32, 28, 22, 22, 29, 30, 31, 32, 33,
33, 34, 35, 36, 37, 38, 22, 22, 34, 35, 36, 37, 38, 22, 39, 22,
39, 22, 25, 25, 22, 26, 22, 22, 25, 25, 22, 26, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 40, 22, 22, 22, 22, 22, 40, 22, 22,
22, 22, 22, 22, 22, 22, 33, 22, 22, 22, 22, 22, 33, 22, 22, 22,
22, 22, 37, 22, 25, 25, 22, 26, 37, 22, 25, 25, 22, 26, 22, 25,
22, 25, 25, 22, 26, 22, 22, 22, 25, 22, 26, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 33, 22, 22,
22, 37, 22, 41, 22, 25, 25, 22,
26, 22, 33, 22, 22, 22, 22, 22,
22, 22, 42, 22, 22, 22, 22, 22,
22, 33, 22, 25, 25, 22, 26, 22,
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 33, 22, 22, 22, 37,
22, 41, 22, 25, 25, 22, 26, 22,
33, 22, 22, 22, 22, 22, 22, 22,
42, 22, 22, 22, 22, 22, 22, 33, 42, 22, 22, 22, 22, 22, 22, 33,
22, 25, 25, 22, 26, 22, 22, 22, 22, 25, 25, 22, 26, 22, 22, 22,
22, 22, 22, 22, 22, 22, 42, 22,
22, 22, 22, 22, 22, 33, 22, 25,
25, 22, 26, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 33, 22, 23, 22, 22, 22, 33, 22, 23, 22, 25,
22, 25, 25, 22, 26, 22, 27, 22,
22, 22, 22, 22, 22, 22, 43, 22,
22, 44, 22, 22, 22, 33, 45, 22,
22, 37, 22, 22, 22, 43, 22, 23,
22, 25, 25, 22, 26, 22, 27, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 33, 22, 22,
22, 37, 22, 23, 22, 25, 25, 22,
26, 22, 27, 22, 22, 22, 22, 22,
22, 22, 43, 22, 22, 22, 22, 22,
22, 33, 45, 22, 22, 37, 22, 23,
22, 25, 25, 22, 26, 22, 27, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 33, 45, 22,
22, 37, 22, 23, 22, 25, 25, 22,
26, 22, 27, 22, 22, 22, 22, 22,
22, 22, 43, 22, 22, 22, 22, 22,
22, 33, 45, 22, 22, 37, 22, 22,
22, 43, 22, 1, 1, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 1, 22, 23, 22, 25, 25,
22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 28, 22, 22, 29, 30,
31, 32, 33, 34, 35, 36, 37, 22,
22, 22, 39, 22, 23, 22, 25, 25,
22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 46, 22, 22, 22, 22,
22, 22, 33, 34, 35, 36, 37, 22,
22, 22, 39, 22, 23, 22, 25, 25,
22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 33, 34, 35, 36, 37, 22,
23, 22, 25, 25, 22, 26, 22, 27,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 33, 34,
35, 22, 37, 22, 23, 22, 25, 25,
22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 33, 22, 35, 22, 37, 22,
23, 22, 25, 25, 22, 26, 22, 27,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 33, 34,
35, 36, 37, 46, 22, 23, 22, 25,
25, 22, 26, 22, 27, 22, 22, 22, 25, 22, 26, 22, 27, 22, 22, 22,
22, 22, 22, 22, 46, 22, 22, 22, 22, 22, 22, 22, 43, 22, 22, 44,
22, 22, 22, 33, 34, 35, 36, 37, 22, 22, 22, 33, 45, 22, 22, 37,
22, 23, 22, 25, 25, 22, 26, 22, 22, 22, 43, 22, 23, 22, 25, 25,
27, 22, 22, 22, 22, 22, 22, 22, 22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 29, 22, 31, 22, 33, 22, 22, 22, 22, 22, 22, 22, 22,
34, 35, 36, 37, 22, 22, 22, 39, 22, 22, 33, 22, 22, 22, 37, 22,
22, 23, 22, 25, 25, 22, 26, 22, 23, 22, 25, 25, 22, 26, 22, 27,
27, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 43,
46, 22, 22, 29, 22, 22, 22, 33, 22, 22, 22, 22, 22, 22, 33, 45,
34, 35, 36, 37, 22, 22, 22, 39, 22, 22, 37, 22, 23, 22, 25, 25,
22, 26, 22, 27, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 33, 45, 22, 22, 37, 22,
23, 22, 25, 25, 22, 26, 22, 27,
22, 22, 22, 22, 22, 22, 22, 43,
22, 22, 22, 22, 22, 22, 33, 45,
22, 22, 37, 22, 22, 43, 22, 1,
1, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 1, 22,
23, 22, 25, 25, 22, 26, 22, 27,
22, 22, 22, 22, 22, 22, 22, 28,
22, 22, 29, 30, 31, 32, 33, 34,
35, 36, 37, 22, 22, 39, 22, 23,
22, 25, 25, 22, 26, 22, 27, 22,
22, 22, 22, 22, 22, 22, 46, 22,
22, 22, 22, 22, 22, 33, 34, 35,
36, 37, 22, 22, 39, 22, 23, 22,
25, 25, 22, 26, 22, 27, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 33, 34, 35, 36,
37, 22, 23, 22, 25, 25, 22, 26,
22, 27, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
33, 34, 35, 22, 37, 22, 23, 22,
25, 25, 22, 26, 22, 27, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 33, 22, 35, 22,
37, 22, 23, 22, 25, 25, 22, 26,
22, 27, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
33, 34, 35, 36, 37, 46, 22, 23,
22, 25, 25, 22, 26, 22, 27, 22,
22, 22, 22, 22, 22, 22, 46, 22,
22, 22, 22, 22, 22, 33, 34, 35,
36, 37, 22, 23, 22, 25, 25, 22,
26, 22, 27, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 29, 22, 31,
22, 33, 34, 35, 36, 37, 22, 22,
39, 22, 23, 22, 25, 25, 22, 26,
22, 27, 22, 22, 22, 22, 22, 22,
22, 46, 22, 22, 29, 22, 22, 22,
33, 34, 35, 36, 37, 22, 22, 39,
22, 23, 22, 25, 25, 22, 26, 22, 22, 23, 22, 25, 25, 22, 26, 22,
27, 22, 22, 22, 22, 22, 22, 22, 27, 22, 22, 22, 22, 22, 22, 22,
47, 22, 22, 29, 30, 31, 22, 33, 47, 22, 22, 29, 30, 31, 22, 33,
34, 35, 36, 37, 22, 22, 22, 39, 34, 35, 36, 37, 22, 22, 39, 22,
22, 23, 22, 25, 25, 22, 26, 22, 23, 22, 25, 25, 22, 26, 22, 27,
27, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 29, 30, 31, 22, 33, 22, 22, 29, 30, 31, 22, 33, 34,
34, 35, 36, 37, 22, 22, 22, 39, 35, 36, 37, 22, 22, 39, 22, 23,
22, 23, 24, 25, 25, 22, 26, 22, 24, 25, 25, 22, 26, 22, 27, 22,
27, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 28, 22,
28, 22, 22, 29, 30, 31, 32, 33, 22, 29, 30, 31, 32, 33, 34, 35,
34, 35, 36, 37, 22, 22, 22, 39, 36, 37, 22, 22, 39, 22, 49, 49,
22, 49, 49, 48, 5, 48, 48, 48, 48, 5, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 50, 48, 48, 48, 48, 50, 48, 48, 48, 48,
48, 48, 48, 48, 48, 14, 48, 48, 48, 48, 14, 48, 48, 48, 18, 48,
48, 18, 48, 49, 49, 48, 5, 48, 49, 49, 48, 5, 48, 49, 49, 48,
49, 49, 48, 5, 48, 48, 48, 48, 5, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 14, 48, 48, 48, 48, 14, 48, 48, 48, 18, 48, 51,
18, 48, 51, 48, 49, 49, 48, 5, 48, 49, 49, 48, 5, 48, 14, 48,
48, 14, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 52, 48,
48, 52, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 14, 48, 49,
14, 48, 49, 49, 48, 5, 48, 48, 49, 48, 5, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 52, 48, 48, 48, 48, 52, 48, 48, 48,
48, 48, 48, 48, 48, 48, 14, 48, 48, 48, 48, 14, 48, 49, 49, 48,
49, 49, 48, 5, 48, 48, 48, 48, 5, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 14, 48, 2, 48, 48, 14, 48, 2, 48, 49, 49, 48,
5, 48, 6, 48, 48, 48, 48, 48,
48, 48, 53, 48, 48, 54, 48, 48,
48, 14, 55, 48, 48, 18, 48, 48,
53, 48, 2, 48, 49, 49, 48, 5,
48, 6, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48,
14, 48, 48, 48, 18, 48, 2, 48,
49, 49, 48, 5, 48, 6, 48, 48, 49, 49, 48, 5, 48, 6, 48, 48,
48, 48, 48, 48, 48, 53, 48, 48, 48, 48, 48, 48, 48, 53, 48, 48,
54, 48, 48, 48, 14, 55, 48, 48,
18, 48, 48, 48, 53, 48, 2, 48,
49, 49, 48, 5, 48, 6, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 14, 48, 48, 48,
18, 48, 2, 48, 49, 49, 48, 5,
48, 6, 48, 48, 48, 48, 48, 48,
48, 53, 48, 48, 48, 48, 48, 48,
14, 55, 48, 48, 18, 48, 2, 48,
49, 49, 48, 5, 48, 6, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 48, 48, 14, 55, 48, 48, 48, 48, 48, 48, 14, 55, 48, 48,
18, 48, 2, 48, 49, 49, 48, 5, 18, 48, 2, 48, 49, 49, 48, 5,
48, 6, 48, 48, 48, 48, 48, 48, 48, 6, 48, 48, 48, 48, 48, 48,
48, 53, 48, 48, 48, 48, 48, 48,
14, 55, 48, 48, 18, 48, 48, 48,
53, 48, 56, 56, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
48, 56, 48, 2, 3, 49, 49, 48, 14, 55, 48, 48, 18, 48, 2, 48,
5, 48, 6, 48, 48, 48, 48, 48, 49, 49, 48, 5, 48, 6, 48, 48,
48, 48, 8, 48, 48, 10, 11, 12, 48, 48, 48, 48, 48, 53, 48, 48,
13, 14, 15, 16, 17, 18, 19, 48, 48, 48, 48, 48, 14, 55, 48, 48,
48, 21, 48, 2, 48, 49, 49, 48, 18, 48, 48, 53, 48, 56, 56, 48,
5, 48, 6, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 8, 48, 48, 10, 11, 12, 48, 48, 48, 48, 56, 48, 2, 3,
13, 14, 15, 16, 17, 18, 48, 48, 49, 49, 48, 5, 48, 6, 48, 48,
48, 21, 48, 2, 48, 49, 49, 48, 48, 48, 48, 48, 48, 8, 48, 48,
5, 48, 6, 48, 48, 48, 48, 48, 10, 11, 12, 13, 14, 15, 16, 17,
48, 48, 57, 48, 48, 48, 48, 48, 18, 19, 48, 21, 48, 2, 48, 49,
48, 14, 15, 16, 17, 18, 48, 48, 49, 48, 5, 48, 6, 48, 48, 48,
48, 48, 48, 48, 8, 48, 48, 10,
11, 12, 13, 14, 15, 16, 17, 18,
48, 48, 21, 48, 2, 48, 49, 49,
48, 5, 48, 6, 48, 48, 48, 48,
48, 48, 48, 57, 48, 48, 48, 48,
48, 48, 14, 15, 16, 17, 18, 48,
48, 21, 48, 2, 48, 49, 49, 48, 48, 21, 48, 2, 48, 49, 49, 48,
5, 48, 6, 48, 48, 48, 48, 48, 5, 48, 6, 48, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
@ -260,39 +258,36 @@ static const char _myanmar_syllable_machine_indicies[] = {
2, 48, 49, 49, 48, 5, 48, 6, 2, 48, 49, 49, 48, 5, 48, 6,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
48, 48, 10, 48, 12, 48, 14, 15, 48, 48, 10, 48, 12, 48, 14, 15,
16, 17, 18, 48, 48, 48, 21, 48, 16, 17, 18, 48, 48, 21, 48, 2,
2, 48, 49, 49, 48, 5, 48, 6, 48, 49, 49, 48, 5, 48, 6, 48,
48, 48, 48, 48, 48, 48, 48, 57, 48, 48, 48, 48, 48, 48, 57, 48,
48, 48, 10, 48, 48, 48, 14, 15, 48, 10, 48, 48, 48, 14, 15, 16,
16, 17, 18, 48, 48, 48, 21, 48, 17, 18, 48, 48, 21, 48, 2, 48,
2, 48, 49, 49, 48, 5, 48, 6, 49, 49, 48, 5, 48, 6, 48, 48,
48, 48, 48, 48, 48, 48, 48, 58, 48, 48, 48, 48, 48, 58, 48, 48,
48, 48, 10, 11, 12, 48, 14, 15, 10, 11, 12, 48, 14, 15, 16, 17,
16, 17, 18, 48, 48, 48, 21, 48, 18, 48, 48, 21, 48, 2, 48, 49,
2, 48, 49, 49, 48, 5, 48, 6, 49, 48, 5, 48, 6, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 10,
48, 48, 10, 11, 12, 48, 14, 15, 11, 12, 48, 14, 15, 16, 17, 18,
16, 17, 18, 48, 48, 48, 21, 48, 48, 48, 21, 48, 2, 3, 49, 49,
2, 3, 49, 49, 48, 5, 48, 6, 48, 5, 48, 6, 48, 48, 48, 48,
48, 48, 48, 48, 48, 48, 48, 8, 48, 48, 48, 8, 48, 48, 10, 11,
48, 48, 10, 11, 12, 13, 14, 15, 12, 13, 14, 15, 16, 17, 18, 48,
16, 17, 18, 48, 48, 48, 21, 48, 48, 21, 48, 23, 24, 25, 25, 22,
23, 24, 25, 25, 22, 26, 22, 27, 26, 22, 27, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 59, 22, 22, 59, 22, 22, 29, 30, 31,
22, 22, 29, 30, 31, 32, 33, 34, 32, 33, 34, 35, 36, 37, 38, 22,
35, 36, 37, 38, 22, 22, 39, 22, 39, 22, 23, 60, 25, 25, 22, 26,
23, 60, 25, 25, 22, 26, 22, 27, 22, 27, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 28, 22, 28, 22, 22, 29, 30, 31, 32,
22, 22, 29, 30, 31, 32, 33, 34, 33, 34, 35, 36, 37, 22, 22, 39,
35, 36, 37, 22, 22, 22, 39, 22, 22, 1, 1, 2, 3, 49, 49, 48,
1, 1, 2, 3, 49, 49, 48, 5, 5, 48, 6, 1, 48, 48, 48, 48,
48, 6, 1, 48, 48, 48, 48, 1, 1, 48, 8, 48, 48, 10, 11, 12,
48, 8, 48, 48, 10, 11, 12, 13, 13, 14, 15, 16, 17, 18, 19, 48,
14, 15, 16, 17, 18, 19, 48, 1,
21, 48, 1, 1, 61, 61, 61, 61, 21, 48, 1, 1, 61, 61, 61, 61,
61, 61, 61, 61, 1, 61, 61, 61, 61, 61, 61, 61, 1, 61, 61, 61,
61, 1, 61, 61, 61, 61, 61, 61,
61, 61, 61, 61, 61, 61, 61, 61,
61, 1, 61, 62, 61, 0 61, 1, 61, 62, 61, 0
}; };
@ -378,7 +373,7 @@ find_syllables_myanmar (hb_buffer_t *buffer)
int cs; int cs;
hb_glyph_info_t *info = buffer->info; hb_glyph_info_t *info = buffer->info;
#line 382 "hb-ot-shaper-myanmar-machine.hh" #line 377 "hb-ot-shaper-myanmar-machine.hh"
{ {
cs = myanmar_syllable_machine_start; cs = myanmar_syllable_machine_start;
ts = 0; ts = 0;
@ -394,7 +389,7 @@ find_syllables_myanmar (hb_buffer_t *buffer)
unsigned int syllable_serial = 1; unsigned int syllable_serial = 1;
#line 398 "hb-ot-shaper-myanmar-machine.hh" #line 393 "hb-ot-shaper-myanmar-machine.hh"
{ {
int _slen; int _slen;
int _trans; int _trans;
@ -408,7 +403,7 @@ _resume:
#line 1 "NONE" #line 1 "NONE"
{ts = p;} {ts = p;}
break; break;
#line 412 "hb-ot-shaper-myanmar-machine.hh" #line 407 "hb-ot-shaper-myanmar-machine.hh"
} }
_keys = _myanmar_syllable_machine_trans_keys + (cs<<1); _keys = _myanmar_syllable_machine_trans_keys + (cs<<1);
@ -458,7 +453,7 @@ _eof_trans:
#line 98 "hb-ot-shaper-myanmar-machine.rl" #line 98 "hb-ot-shaper-myanmar-machine.rl"
{te = p;p--;{ found_syllable (myanmar_non_myanmar_cluster); }} {te = p;p--;{ found_syllable (myanmar_non_myanmar_cluster); }}
break; break;
#line 462 "hb-ot-shaper-myanmar-machine.hh" #line 457 "hb-ot-shaper-myanmar-machine.hh"
} }
_again: _again:
@ -467,7 +462,7 @@ _again:
#line 1 "NONE" #line 1 "NONE"
{ts = 0;} {ts = 0;}
break; break;
#line 471 "hb-ot-shaper-myanmar-machine.hh" #line 466 "hb-ot-shaper-myanmar-machine.hh"
} }
if ( ++p != pe ) if ( ++p != pe )