[aat] Run subtable across ranges if flags match
This commit is contained in:
parent
2c9c49fd32
commit
e28c158c35
|
@ -798,8 +798,6 @@ struct StateTableDriver
|
||||||
while (cluster > range->cluster_last)
|
while (cluster > range->cluster_last)
|
||||||
range++;
|
range++;
|
||||||
|
|
||||||
if (range != last_range)
|
|
||||||
state = StateTableT::STATE_START_OF_TEXT;
|
|
||||||
|
|
||||||
last_range = range;
|
last_range = range;
|
||||||
}
|
}
|
||||||
|
@ -808,6 +806,7 @@ struct StateTableDriver
|
||||||
if (buffer->idx == buffer->len || unlikely (!buffer->successful))
|
if (buffer->idx == buffer->len || unlikely (!buffer->successful))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
state = StateTableT::STATE_START_OF_TEXT;
|
||||||
(void) buffer->next_glyph ();
|
(void) buffer->next_glyph ();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue