subset for real

This commit is contained in:
Rod Sheeter 2018-02-12 10:10:08 -08:00
parent 62c7d677e8
commit ebd31d376d
1 changed files with 1 additions and 3 deletions

View File

@ -365,7 +365,5 @@ hb_subset (hb_face_t *source,
}
} while (count == ARRAY_LENGTH (table_tags));
// TODO(grieger): Remove once basic subsetting is working + tests updated.
hb_face_destroy (dest);
return success ? hb_face_reference (source) : hb_face_get_empty ();
return success ? dest : hb_face_get_empty ();
}