diff --git a/src/hb-cff2-interp-cs.hh b/src/hb-cff2-interp-cs.hh index 592a1b23e..03dea4934 100644 --- a/src/hb-cff2-interp-cs.hh +++ b/src/hb-cff2-interp-cs.hh @@ -243,6 +243,7 @@ struct CFF2CSOpSet : CSOpSet static inline void process_vsindex (CFF2CSInterpEnv &env, PARAM& param) { env.process_vsindex (); + env.clear_args (); } private: diff --git a/src/hb-ot-cff2-table.hh b/src/hb-ot-cff2-table.hh index 04d9e2b38..1b01c1cfe 100644 --- a/src/hb-ot-cff2-table.hh +++ b/src/hb-ot-cff2-table.hh @@ -347,6 +347,7 @@ struct CFF2PrivateDictOpSet : DictOpSet case OpCode_vsindexdict: env.process_vsindex (); dictval.ivs = env.get_ivs (); + env.clear_args (); break; case OpCode_blenddict: break;