mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
Fix lookahead matching. Oops!
This commit is contained in:
1 parent
3109375b84
commit
cc6ae7ff91
1 file changed
+1
-1
@@ -154,7 +154,7 @@ static inline bool match_lookahead (hb_apply_context_t *c,
|
||||
|
||||
for (i = 0, j = c->buffer->in_pos + offset; i < count; i++, j++)
|
||||
{
|
||||
while (_hb_ot_layout_skip_mark (c->layout->face, OUT_INFO (j), c->lookup_flag, NULL))
|
||||
while (_hb_ot_layout_skip_mark (c->layout->face, IN_INFO (j), c->lookup_flag, NULL))
|
||||
{
|
||||
if (unlikely (j + count - i == end))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user