[subset] Minor
This commit is contained in:
parent
42bf80e578
commit
ff3a7ce1e7
|
@ -1249,9 +1249,9 @@ struct ClassDefFormat1
|
||||||
hb_codepoint_t end = start + classValue.len;
|
hb_codepoint_t end = start + classValue.len;
|
||||||
for (hb_codepoint_t g = start; g < end; g++)
|
for (hb_codepoint_t g = start; g < end; g++)
|
||||||
{
|
{
|
||||||
|
if (!glyphset.has (g)) continue;
|
||||||
unsigned int value = classValue[g - start];
|
unsigned int value = classValue[g - start];
|
||||||
if (!value) continue;
|
if (!value) continue;
|
||||||
if (!glyphset.has (g)) continue;
|
|
||||||
glyphs.push()->set (glyph_map[g]);
|
glyphs.push()->set (glyph_map[g]);
|
||||||
klasses.push()->set (value);
|
klasses.push()->set (value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue