Skip to content

Commit 42a1ca6

Browse files
committed
Composite of composite glyphs were not included in subsetted fonts
1 parent cb3556d commit 42a1ca6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

classes/Font_Glyph_Outline_Composite.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ function getGlyphIDs(){
4141
$glyphIDs[] = $_component->glyphIndex;
4242

4343
$_glyph = $this->table->data[$_component->glyphIndex];
44-
if ($_glyph instanceof Font_Glyph_Outline_Composite) {
45-
$glyphIDs = array_merge($glyphIDs, $_glyph->getGlyphIDs());
46-
}
44+
$glyphIDs = array_merge($glyphIDs, $_glyph->getGlyphIDs());
4745
}
4846

4947
return $glyphIDs;

0 commit comments

Comments
 (0)