From 81339256da67fd9a3acef3c9ac702f9997168f90 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Feb 2025 17:59:58 -0700 Subject: [PATCH] [gvar] Rename two variables --- src/hb-ot-var-gvar-table.hh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh index 87b0d4359..ffd14ad45 100644 --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -39,13 +39,18 @@ struct hb_glyf_scratch_t { + // glyf contour_point_vector_t all_points; - contour_point_vector_t orig_points_vec; + + // gvar + contour_point_vector_t orig_points; hb_vector_t x_deltas; hb_vector_t y_deltas; - contour_point_vector_t deltas_vec; + contour_point_vector_t deltas; hb_vector_t shared_indices; hb_vector_t private_indices; + + // VARC hb_vector_t axisIndices; hb_vector_t axisValues; }; @@ -659,12 +664,12 @@ struct gvar return true; /* so isn't applied at all */ /* Save original points for inferred delta calculation */ - auto &orig_points_vec = scratch.orig_points_vec; + auto &orig_points_vec = scratch.orig_points; orig_points_vec.clear (); // Populated lazily auto orig_points = orig_points_vec.as_array (); /* flag is used to indicate referenced point */ - auto &deltas_vec = scratch.deltas_vec; + auto &deltas_vec = scratch.deltas; deltas_vec.clear (); // Populated lazily auto deltas = deltas_vec.as_array ();