[glyf] Revert the way indexToLocFormat is set
This commit is contained in:
parent
88e9db19d2
commit
6e82d59b4f
|
@ -270,7 +270,7 @@ struct glyf
|
|||
return false;
|
||||
|
||||
head *head_prime = (head *) hb_blob_get_data_writable (head_prime_blob, nullptr);
|
||||
head_prime->indexToLocFormat = !use_short_loca;
|
||||
head_prime->indexToLocFormat = use_short_loca ? 0 : 1;
|
||||
bool success = plan->add_table (HB_OT_TAG_head, head_prime_blob);
|
||||
|
||||
hb_blob_destroy (head_prime_blob);
|
||||
|
|
Loading…
Reference in New Issue