[serialize] Enable bias assertion
This commit is contained in:
parent
530ddbbc32
commit
e6a622b5b2
@ -292,7 +292,7 @@ struct hb_serialize_context_t
|
|||||||
for (const object_t::link_t &link : parent->links)
|
for (const object_t::link_t &link : parent->links)
|
||||||
{
|
{
|
||||||
const object_t &child = *packed[link.objidx];
|
const object_t &child = *packed[link.objidx];
|
||||||
//assert (link.bias <= parent->tail - parent->head);
|
assert (link.bias <= parent->tail - parent->head);
|
||||||
unsigned offset = (child.head - parent->head) - link.bias;
|
unsigned offset = (child.head - parent->head) - link.bias;
|
||||||
|
|
||||||
if (link.is_wide)
|
if (link.is_wide)
|
||||||
|
Loading…
Reference in New Issue
Block a user