[subset/glyf] Remove unneeded codepath

This commit is contained in:
Behdad Esfahbod committed 2023-06-02 20:33:52 -06:00
1 parent ac1f5ca0d9
commit efefec13cc
1 file changed
-7
-7
View File
@@ -26,13 +26,6 @@ struct SubsetGlyph
{
TRACE_SERIALIZE (this);
if (length () == 0)
{
/* Fast path for retain-gid holes. */
DEBUG_MSG (SUBSET, nullptr, "serialize empty glyph");
return true;
}
hb_bytes_t dest_glyph = dest_start.copy (c);
hb_bytes_t end_copy = dest_end.copy (c);
if (!end_copy.arrayZ || !dest_glyph.arrayZ) {