From dd8d35766bb31ef43848180c419c621be302ac5d Mon Sep 17 00:00:00 2001 From: Qunxin Liu Date: Tue, 22 Aug 2023 12:54:50 -0700 Subject: [PATCH] [instancer] enable partial instancing tests when experimental api is on --- src/hb-ot-var-common.hh | 2 +- test/subset/meson.build | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-var-common.hh b/src/hb-ot-var-common.hh index d35b10cd1..1d8be0568 100644 --- a/src/hb-ot-var-common.hh +++ b/src/hb-ot-var-common.hh @@ -937,7 +937,7 @@ struct tuple_delta_t if (orig_points.arrayZ[i].is_end_point) end_points.push (i); } - /* all points are referened, nothing to do */ + /* all points are referenced, nothing to do */ if (ref_count == point_count) return true; if (unlikely (end_points.in_error ())) return false; diff --git a/test/subset/meson.build b/test/subset/meson.build index 188d3dadd..be4f69bbf 100644 --- a/test/subset/meson.build +++ b/test/subset/meson.build @@ -65,9 +65,12 @@ tests = [ 'collect_name_ids', 'instantiate_colrv1', 'instantiate_cff2_update_metrics', - #'glyf_partial_instancing', ] +if get_option('experimental_api') + tests += 'glyf_partial_instancing' +endif + repack_tests = [ 'basic', 'prioritization',