mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 09:09:13 +01:00
[glyf] Optimize composite points loading
This commit is contained in:
1 parent
32dc0641e1
commit
d5cfbaa068
1 file changed
+2
-1
@@ -139,10 +139,11 @@ struct Glyph
|
||||
break;
|
||||
case COMPOSITE:
|
||||
{
|
||||
contour_point_vector_t comp_points;
|
||||
unsigned int comp_index = 0;
|
||||
for (auto &item : get_composite_iterator ())
|
||||
{
|
||||
contour_point_vector_t comp_points;
|
||||
comp_points.reset ();
|
||||
if (unlikely (!glyf_accelerator.glyph_for_gid (item.glyphIndex)
|
||||
.get_points (font, glyf_accelerator, comp_points,
|
||||
phantom_only, depth + 1)))
|
||||
|
||||
Reference in new issue
Block a user