pull/90/head
Behdad Esfahbod 10 years ago
parent 640b66c634
commit f47cf1f12d
  1. 4
      src/hb-ot-layout.cc

@ -841,7 +841,7 @@ apply_forward (OT::hb_apply_context_t *c,
{ {
if (accel.may_have (buffer->cur().codepoint) && if (accel.may_have (buffer->cur().codepoint) &&
(buffer->cur().mask & c->lookup_mask) && (buffer->cur().mask & c->lookup_mask) &&
c->check_glyph_property (&c->buffer->cur(), c->lookup_props) && c->check_glyph_property (&buffer->cur(), c->lookup_props) &&
obj.apply (c)) obj.apply (c))
ret = true; ret = true;
else else
@ -862,7 +862,7 @@ apply_backward (OT::hb_apply_context_t *c,
{ {
if (accel.may_have (buffer->cur().codepoint) && if (accel.may_have (buffer->cur().codepoint) &&
(buffer->cur().mask & c->lookup_mask) && (buffer->cur().mask & c->lookup_mask) &&
c->check_glyph_property (&c->buffer->cur(), c->lookup_props) && c->check_glyph_property (&buffer->cur(), c->lookup_props) &&
obj.apply (c)) obj.apply (c))
ret = true; ret = true;
/* The reverse lookup doesn't "advance" cursor (for good reason). */ /* The reverse lookup doesn't "advance" cursor (for good reason). */

Loading…
Cancel
Save