mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[subset/glyf] Remove unneeded codepath
This commit is contained in:
1 parent
ac1f5ca0d9
commit
efefec13cc
1 file changed
-7
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user