Fix LookupFlag negation
Fixes https://github.com/harfbuzz/harfbuzz/issues/3703
This commit is contained in:
parent
b0cb9a1a63
commit
d9ab805e61
|
@ -100,7 +100,7 @@ struct MarkMarkPosFormat1
|
||||||
/* now we search backwards for a suitable mark glyph until a non-mark glyph */
|
/* now we search backwards for a suitable mark glyph until a non-mark glyph */
|
||||||
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
|
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
|
||||||
skippy_iter.reset (buffer->idx, 1);
|
skippy_iter.reset (buffer->idx, 1);
|
||||||
skippy_iter.set_lookup_props (c->lookup_props & ~LookupFlag::IgnoreFlags);
|
skippy_iter.set_lookup_props (c->lookup_props & ~(uint32_t)LookupFlag::IgnoreFlags);
|
||||||
unsigned unsafe_from;
|
unsigned unsafe_from;
|
||||||
if (!skippy_iter.prev (&unsafe_from))
|
if (!skippy_iter.prev (&unsafe_from))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue