mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 17:44:06 +01:00
[glyf] Use direct access to points array
Not necessary faster. Prep'ing for next change.
This commit is contained in:
1 parent
19a152b47e
commit
f68193a00a
1 file changed
+3
-2
+3
-2
@@ -229,8 +229,9 @@ struct glyf_accelerator_t
|
||||
|
||||
if (consumer.is_consuming_contour_points ())
|
||||
{
|
||||
for (auto &point : all_points.as_array ().sub_array (0, count))
|
||||
consumer.consume_point (point);
|
||||
auto *points = all_points.arrayZ;
|
||||
for (unsigned i = 0; i < count; i++)
|
||||
consumer.consume_point (points[i]);
|
||||
consumer.points_end ();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user