Tweak input matching some more
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 3 Oct 2017 11:14:17 +0000 (13:14 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 3 Oct 2017 11:14:17 +0000 (13:14 +0200)
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

index f2ad9f1..aa0862a 100644 (file)
@@ -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;