From ecd0f859bde42d7883746e8ea7f00bd56ef4cd35 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 29 Apr 2023 10:51:59 -0600 Subject: [PATCH] [Composite] Minor micro-optimize --- src/OT/glyf/CompositeGlyph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OT/glyf/CompositeGlyph.hh b/src/OT/glyf/CompositeGlyph.hh index 618917b9d..d81fadf7c 100644 --- a/src/OT/glyf/CompositeGlyph.hh +++ b/src/OT/glyf/CompositeGlyph.hh @@ -133,7 +133,7 @@ struct CompositeGlyphRecord get_transformation (matrix, trans); points.alloc (points.length + 4); // For phantom points if (unlikely (!points.resize (points.length + 1))) return false; - points[points.length - 1] = trans; + points.arrayZ[points.length - 1] = trans; return true; }