[gpos] Don't move pointer when match_glyph_data is not set
This commit is contained in:
parent
defe9b6da0
commit
aca6390281
|
@ -387,7 +387,7 @@ struct hb_ot_apply_context_t :
|
||||||
skip == matcher_t::SKIP_NO))
|
skip == matcher_t::SKIP_NO))
|
||||||
{
|
{
|
||||||
num_items--;
|
num_items--;
|
||||||
match_glyph_data++;
|
if (match_glyph_data) match_glyph_data++;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -414,7 +414,7 @@ struct hb_ot_apply_context_t :
|
||||||
skip == matcher_t::SKIP_NO))
|
skip == matcher_t::SKIP_NO))
|
||||||
{
|
{
|
||||||
num_items--;
|
num_items--;
|
||||||
match_glyph_data++;
|
if (match_glyph_data) match_glyph_data++;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue