treat h/vstem the same as h/vstemhm

This commit is contained in:
Michiharu Ariza 2018-08-16 00:59:46 -07:00
parent e67bb3fbcf
commit c4ae426a3d
1 changed files with 1 additions and 3 deletions

View File

@ -224,13 +224,11 @@ struct CFF1CSOpSet : CSOpSet<CFF1Subrs, PARAM>
}
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 ();