[aat] Tweak previous commit
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 12 Jan 2018 10:12:20 +0000 (11:12 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 12 Jan 2018 10:12:20 +0000 (11:12 +0100)
src/hb-aat-layout-common-private.hh
src/hb-ot-shape.cc

index 37a84bef6b804452676c9b2269b5ffa19fce82bd..2dcbd557c53d51f2b19491bf751a698f0ebe0fe5 100644 (file)
@@ -658,6 +658,8 @@ struct StateTableDriver
          buffer->idx--;
          last_was_dont_advance = true;
        }
+       else
+         last_was_dont_advance = false;
       }
       else
         last_was_dont_advance = false;
index 64e118a75e0812b18a84ced42a711b1c6404f15d..fb8369d517d9913a85fb1a99c24d94ae73fcf4e9 100644 (file)
@@ -619,8 +619,8 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c)
   c->plan->substitute (c->font, buffer);
 
   /* XXX Call morx instead. */
-  //OT::hb_apply_context_t ac (0, c->font, c->buffer);
-  //hb_aat_layout_substitute (&ac);
+  OT::hb_apply_context_t ac (0, c->font, c->buffer);
+  hb_aat_layout_substitute (&ac);
 }
 
 static inline void