src/hb-ot-shape-complex-use-machine.rl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 72ecaae0ad4c9f1685f7d524990e92a26fcd5611
Author: Behdad Esfahbod <beh...@behdad.org>
Date:   Sun Dec 24 16:05:07 2017 -0500

    [use] Allow ZWJ before/after Halant
    
    https://github.com/harfbuzz/harfbuzz/issues/542#issuecomment-353169729

diff --git a/src/hb-ot-shape-complex-use-machine.rl 
b/src/hb-ot-shape-complex-use-machine.rl
index 86cd8b25..89b77639 100644
--- a/src/hb-ot-shape-complex-use-machine.rl
+++ b/src/hb-ot-shape-complex-use-machine.rl
@@ -89,7 +89,8 @@ SMBlw = 42; # SYM_MOD_BELOW
 CS     = 43; # CONS_WITH_STACKER
 
 
-consonant_modifiers = CMAbv* CMBlw* ((H B | SUB) VS? CMAbv? CMBlw*)*;
+# Override: Adjoc ZWJ placement. 
https://github.com/harfbuzz/harfbuzz/issues/542#issuecomment-353169729
+consonant_modifiers = CMAbv* CMBlw* ((ZWJ?.H.ZWJ? B | SUB) VS? CMAbv? CMBlw*)*;
 # Override: Allow two MBlw. https://github.com/harfbuzz/harfbuzz/issues/376
 medial_consonants = MPre? MAbv? MBlw?.MBlw? MPst?;
 dependent_vowels = VPre* VAbv* VBlw* VPst*;
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to