mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset] Add TODO
This commit is contained in:
parent
e6a622b5b2
commit
521262b236
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ _subset2 (hb_subset_plan_t *plan)
|
|||
if (source_blob->data)
|
||||
{
|
||||
hb_vector_t<char> buf;
|
||||
/* TODO Not all tables are glyph-related. 'name' table size for example should not be
|
||||
* affected by number of glyphs. Accommodate that. */
|
||||
unsigned int buf_size = _plan_estimate_subset_table_size (plan, source_blob->length);
|
||||
DEBUG_MSG(SUBSET, nullptr, "OT::%c%c%c%c initial estimated table size: %u bytes.", HB_UNTAG (tag), buf_size);
|
||||
if (unlikely (!buf.alloc (buf_size)))
|
||||
|
|
Loading…
Add table
Reference in a new issue