[repacker] correct MarkArray size calculation.

This commit is contained in:
Garret Rieger committed 2022-08-17 17:51:29 +00:00
1 parent 36c76c27c6
commit b46ced9562
1 file changed
+2 -1
+2 -1
View File
@@ -150,7 +150,8 @@ struct MarkArray : public OT::Layout::GPOS_impl::MarkArray
}
this->len = new_index;
o.tail = o.head + MarkArray::min_size + OT::Offset16::static_size * new_index;
o.tail = o.head + MarkArray::min_size +
OT::Layout::GPOS_impl::MarkRecord::static_size * new_index;
return true;
}