From c44657a05d565ec5f2c32ac15d4ecfbee00ac5f7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 3 Oct 2017 13:14:17 +0200 Subject: [PATCH] Tweak input matching some more Followup to 8b2c94c43fd335b944d5e5487265706b8e0f9041 Allow matching sequences of marks attached to different ligatures, as supposedly the base of the subsequent marks were already jumped over. --- src/hb-ot-layout-gsubgpos-private.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index f2ad9f1c9..aa0862ad2 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -781,9 +781,6 @@ static inline bool match_input (hb_apply_context_t *c, * component, otherwise we shouldn't ligate them... */ if (first_lig_id != this_lig_id || first_lig_comp != this_lig_comp) { - if (first_lig_id != this_lig_id && this_lig_id != 0) - return_trace (false); - /* ...unless, we are attached to a base ligature and that base * ligature is ignorable. */ bool found = false;