[subset] Remove subset table size assertion
As https://github.com/harfbuzz/harfbuzz/pull/1930#issuecomment-525036802
This commit is contained in:
parent
a0b4ac4dce
commit
88e9db19d2
|
@ -92,7 +92,6 @@ _subset2 (hb_subset_plan_t *plan)
|
|||
bool needed = table->subset (&c);
|
||||
if (serializer.ran_out_of_room)
|
||||
{
|
||||
assert (buf_size <= (source_blob->length + plan->num_output_glyphs ()) * 16 + 4096);
|
||||
buf_size += (buf_size >> 1) + 32;
|
||||
DEBUG_MSG(SUBSET, nullptr, "OT::%c%c%c%c ran out of room; reallocating to %u bytes.", HB_UNTAG (tag), buf_size);
|
||||
if (unlikely (!buf.alloc (buf_size)))
|
||||
|
|
Loading…
Reference in New Issue