mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset/cff] Comment
This commit is contained in:
parent
092373f351
commit
8832da8309
1 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,9 @@ struct CFFIndex
|
|||
static unsigned total_size (const Iterable &iterable)
|
||||
{
|
||||
auto it = + hb_iter (iterable) | hb_map (hb_iter) | hb_map (hb_len);
|
||||
if (!it) return 0;
|
||||
// The following should return min_size IMO. But that crashes a few
|
||||
// tests. I have not investigated why.
|
||||
if (!it) return 0; //min_size;
|
||||
|
||||
unsigned total = + it | hb_reduce (hb_add, 0);
|
||||
unsigned off_size = (hb_bit_storage (total + 1) + 7) / 8;
|
||||
|
|
Loading…
Add table
Reference in a new issue