[aat] Run subtable across ranges if flags match

This commit is contained in:
Behdad Esfahbod 2023-01-10 11:03:38 -07:00
parent 2c9c49fd32
commit e28c158c35
1 changed files with 1 additions and 2 deletions

View File

@ -798,8 +798,6 @@ struct StateTableDriver
while (cluster > range->cluster_last)
range++;
if (range != last_range)
state = StateTableT::STATE_START_OF_TEXT;
last_range = range;
}
@ -808,6 +806,7 @@ struct StateTableDriver
if (buffer->idx == buffer->len || unlikely (!buffer->successful))
break;
state = StateTableT::STATE_START_OF_TEXT;
(void) buffer->next_glyph ();
continue;
}