Revert "[glyf/Composite] Remove phantom points when not needed anymore"
This reverts commit 527e63a3bd
.
This commit is contained in:
parent
527e63a3bd
commit
82d19c08fc
|
@ -293,8 +293,6 @@ struct Glyph
|
|||
for (unsigned int i = 0; i < PHANTOM_COUNT; i++)
|
||||
phantoms[i] = comp_points[comp_points.length - PHANTOM_COUNT + i];
|
||||
|
||||
comp_points.resize (comp_points.length - PHANTOM_COUNT);
|
||||
|
||||
/* Apply component transformation & translation */
|
||||
item.transform_points (comp_points);
|
||||
|
||||
|
@ -315,7 +313,7 @@ struct Glyph
|
|||
}
|
||||
}
|
||||
|
||||
all_points.extend (comp_points);
|
||||
all_points.extend (comp_points.sub_array (0, comp_points.length - PHANTOM_COUNT));
|
||||
|
||||
comp_index++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue