[glyf] minor

style improvement
This commit is contained in:
ebraminio 2020-08-11 16:40:40 +04:30 committed by GitHub
parent 732a9164d9
commit d03eecb4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 9 deletions

View File

@ -91,7 +91,10 @@ struct glyf
static bool
_add_loca_and_head (hb_subset_plan_t * plan, Iterator padded_offsets)
{
unsigned max_offset = + padded_offsets | hb_reduce(hb_add, 0);
unsigned max_offset =
+ padded_offsets
| hb_reduce (hb_add, 0)
;
unsigned num_offsets = padded_offsets.len () + 1;
bool use_short_loca = max_offset < 0x1FFFF;
unsigned entry_size = use_short_loca ? 2 : 4;