From 98116e5cf5f4f9b5cc2da634d3380defe9d55ab1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 11 Jun 2022 03:42:36 -0600 Subject: [PATCH] [myanmar] Fix comments on categories https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894955430 --- src/hb-ot-shaper-indic.hh | 4 ++-- src/hb-ot-shaper-myanmar-machine.rl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-ot-shaper-indic.hh b/src/hb-ot-shaper-indic.hh index 4b62b4e63..7e97dd385 100644 --- a/src/hb-ot-shaper-indic.hh +++ b/src/hb-ot-shaper-indic.hh @@ -88,14 +88,14 @@ enum ot_category_t { OT_D0 = 34, // Digit zero OT_DB = OT_N, // Dot below OT_GB = OT_PLACEHOLDER, - OT_MH = 35, // Medial Ha, Mon La + OT_MH = 35, // Medial Ha OT_MR = 36, // Medial Ra OT_MW = 37, // Medial Wa, Shan Wa OT_MY = 38, // Medial Ya, Mon Na, Mon Ma OT_PT = 39, // Pwo and other tones OT_VS = 40, // Variation selectors OT_P = 41, // Punctuation - OT_ML = 42, // Consonant medials + OT_ML = 42, // Medial Mon La }; /* Visual positions in a syllable from left to right. */ diff --git a/src/hb-ot-shaper-myanmar-machine.rl b/src/hb-ot-shaper-myanmar-machine.rl index 48d324be9..234801579 100644 --- a/src/hb-ot-shaper-myanmar-machine.rl +++ b/src/hb-ot-shaper-myanmar-machine.rl @@ -81,14 +81,14 @@ export VPst = 23; export As = 32; # Asat export D = 33; # Digits except zero export D0 = 34; # Digit zero -export MH = 35; # Medial Ha, Mon La +export MH = 35; # Medial Ha export MR = 36; # Medial Ra export MW = 37; # Medial Wa, Shan Wa export MY = 38; # Medial Ya, Mon Na, Mon Ma export PT = 39; # Pwo and other tones export VS = 40; # Variation selectors export P = 41; # Punctuation -export ML = 42; # Consonant medials +export ML = 42; # Medial Mon La j = ZWJ|ZWNJ; # Joiners