From c4ae426a3d3f9411b94d35745ca0e14677cd7bdb Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Thu, 16 Aug 2018 00:59:46 -0700 Subject: [PATCH] treat h/vstem the same as h/vstemhm --- src/hb-cff1-interp-cs.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-cff1-interp-cs.hh b/src/hb-cff1-interp-cs.hh index 33a63cca0..6767d0fc1 100644 --- a/src/hb-cff1-interp-cs.hh +++ b/src/hb-cff1-interp-cs.hh @@ -224,13 +224,11 @@ struct CFF1CSOpSet : CSOpSet } break; case OpCode_hstem: - case OpCode_vstem: - env.clear_stack (); - break; case OpCode_hstemhm: env.hstem_count += env.argStack.size / 2; env.clear_stack (); break; + case OpCode_vstem: case OpCode_vstemhm: env.vstem_count += env.argStack.size / 2; env.clear_stack ();