mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 18:13:53 +01:00
[repacker] correct MarkArray size calculation.
This commit is contained in:
1 parent
36c76c27c6
commit
b46ced9562
1 file changed
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user