[aat] Tweak previous commit

This commit is contained in:
Behdad Esfahbod 2018-01-12 11:12:20 +01:00
parent f7600228a4
commit cdfa801ff4
2 changed files with 4 additions and 2 deletions

View File

@ -658,6 +658,8 @@ struct StateTableDriver
buffer->idx--; buffer->idx--;
last_was_dont_advance = true; last_was_dont_advance = true;
} }
else
last_was_dont_advance = false;
} }
else else
last_was_dont_advance = false; last_was_dont_advance = false;

View File

@ -619,8 +619,8 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c)
c->plan->substitute (c->font, buffer); c->plan->substitute (c->font, buffer);
/* XXX Call morx instead. */ /* XXX Call morx instead. */
//OT::hb_apply_context_t ac (0, c->font, c->buffer); OT::hb_apply_context_t ac (0, c->font, c->buffer);
//hb_aat_layout_substitute (&ac); hb_aat_layout_substitute (&ac);
} }
static inline void static inline void