[repacker] when clearing links in MarkArray, also clear parents of the children.

pull/3787/head
Garret Rieger 2 years ago
parent 8c3db8bdfd
commit 36c76c27c6
  1. 2
      src/graph/markbasepos-graph.hh

@ -126,6 +126,8 @@ struct MarkArray : public OT::Layout::GPOS_impl::MarkArray
unsigned new_class_count)
{
auto& o = c.graph.vertices_[this_index].obj;
for (const auto& link : o.real_links)
c.graph.vertices_[link.objidx].remove_parent (this_index);
o.real_links.reset ();
unsigned new_index = 0;

Loading…
Cancel
Save