mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[serialize] Enable bias assertion
This commit is contained in:
1 parent
530ddbbc32
commit
e6a622b5b2
1 file changed
+1
-1
+1
-1
@@ -292,7 +292,7 @@ struct hb_serialize_context_t
|
||||
for (const object_t::link_t &link : parent->links)
|
||||
{
|
||||
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;
|
||||
|
||||
if (link.is_wide)
|
||||
|
||||
Reference in new issue
Block a user