[gpos] Minor micro-optimize
This commit is contained in:
parent
c769d7e181
commit
26ad7a6022
|
@ -179,7 +179,8 @@ struct PairPosFormat1_3
|
||||||
const PairSet& set = (this + _);
|
const PairSet& set = (this + _);
|
||||||
const PairValueRecord *record = &set.firstPairValueRecord;
|
const PairValueRecord *record = &set.firstPairValueRecord;
|
||||||
|
|
||||||
for (unsigned i = 0; i < set.len; i++)
|
unsigned count = set.len;
|
||||||
|
for (unsigned i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
if (record->intersects (glyphset))
|
if (record->intersects (glyphset))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue