diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index e519e71d1..3c7193d92 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -56,7 +56,7 @@ RS = 14; Coeng = 15; c = C | Ra; -n = N N?; +n = (N.N? | ZWNJ?.RS); z = ZWJ|ZWNJ; h = H | Coeng; matra_group = (M | RS) N? H?; diff --git a/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt b/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt index 3396db319..c9e5443f0 100644 --- a/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt +++ b/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt @@ -12,3 +12,5 @@ ង្ឈឹ ង្គ្រ ង្រ្គ +ម៉្លេះ +ម‌៉្លេះ