[subset] Remove debug burden
Fixes https://github.com/harfbuzz/harfbuzz/issues/2360
This commit is contained in:
parent
00d9276343
commit
7a60f4e3a4
|
@ -172,12 +172,15 @@ struct hb_subset_plan_t
|
||||||
add_table (hb_tag_t tag,
|
add_table (hb_tag_t tag,
|
||||||
hb_blob_t *contents)
|
hb_blob_t *contents)
|
||||||
{
|
{
|
||||||
hb_blob_t *source_blob = source->reference_table (tag);
|
if (HB_DEBUG_SUBSET)
|
||||||
DEBUG_MSG(SUBSET, nullptr, "add table %c%c%c%c, dest %d bytes, source %d bytes",
|
{
|
||||||
HB_UNTAG(tag),
|
hb_blob_t *source_blob = source->reference_table (tag);
|
||||||
hb_blob_get_length (contents),
|
DEBUG_MSG(SUBSET, nullptr, "add table %c%c%c%c, dest %d bytes, source %d bytes",
|
||||||
hb_blob_get_length (source_blob));
|
HB_UNTAG(tag),
|
||||||
hb_blob_destroy (source_blob);
|
hb_blob_get_length (contents),
|
||||||
|
hb_blob_get_length (source_blob));
|
||||||
|
hb_blob_destroy (source_blob);
|
||||||
|
}
|
||||||
return hb_face_builder_add_table (dest, tag, contents);
|
return hb_face_builder_add_table (dest, tag, contents);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue