From e6a622b5b202533d64f83e71d7ff8a8104d46e26 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 11:06:43 -0700 Subject: [PATCH] [serialize] Enable bias assertion --- src/hb-serialize.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 1a6ed2116..4e270ce8c 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -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)