[repacker] correct MarkArray size calculation.
This commit is contained in:
parent
36c76c27c6
commit
b46ced9562
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue