From 2c31652c8a9186068ee8958b46139121c51f1bf4 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Tue, 2 Apr 2019 10:07:43 -0700 Subject: [PATCH] fix private_indices vs shared_indices --- src/hb-ot-var-gvar-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh index e32229ac4..13de84cb8 100644 --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -614,7 +614,7 @@ struct gvar if (iterator.current_tuple->has_private_points () && !GlyphVarData::unpack_points (p, private_indices, checker)) return false; - const hb_array_t &indices = shared_indices.length? shared_indices: private_indices; + const hb_array_t &indices = private_indices.length? private_indices: shared_indices; bool apply_to_all = (indices.length == 0); unsigned int num_deltas = apply_to_all? points.length: indices.length;