[myanmar] Fold D category into GB

Trying to free a byte the buffer vars, for caching of lookups.

Part of https://github.com/harfbuzz/harfbuzz/issues/3633
This commit is contained in:
Behdad Esfahbod 2022-06-04 08:35:22 -06:00
parent f9b643f6b2
commit 20a61ca447
3 changed files with 6 additions and 6 deletions

View File

@ -44,14 +44,14 @@ enum myanmar_syllable_type_t {
#define myanmar_syllable_machine_ex_As 18u
#define myanmar_syllable_machine_ex_C 1u
#define myanmar_syllable_machine_ex_CS 19u
#define myanmar_syllable_machine_ex_D 32u
#define myanmar_syllable_machine_ex_D 11u
#define myanmar_syllable_machine_ex_D0 20u
#define myanmar_syllable_machine_ex_DB 3u
#define myanmar_syllable_machine_ex_GB 11u
#define myanmar_syllable_machine_ex_H 4u
#define myanmar_syllable_machine_ex_IV 2u
#define myanmar_syllable_machine_ex_MH 21u
#define myanmar_syllable_machine_ex_ML 33u
#define myanmar_syllable_machine_ex_ML 32u
#define myanmar_syllable_machine_ex_MR 22u
#define myanmar_syllable_machine_ex_MW 23u
#define myanmar_syllable_machine_ex_MY 24u

View File

@ -48,14 +48,14 @@ enum myanmar_syllable_type_t {
export A = 10;
export As = 18;
export C = 1;
export D = 32;
export D = 11;
export D0 = 20;
export DB = 3;
export GB = 11;
export H = 4;
export IV = 2;
export MH = 21;
export ML = 33;
export ML = 32;
export MR = 22;
export MW = 23;
export MY = 24;

View File

@ -55,8 +55,8 @@ enum myanmar_category_t {
//OT_VPst = 29,
OT_VS = 30, /* Variation selectors */
OT_P = 31, /* Punctuation */
OT_D = 32, /* Digits except zero */
OT_ML = 33, /* Various consonant medial types */
OT_D = OT_GB, /* Digits except zero */
OT_ML = 32, /* Various consonant medial types */
};
using myanmar_position_t = indic_position_t;