[subset-cff] Copy str for call ops
This commit is contained in:
parent
c755b3884f
commit
bfbbd4af25
|
@ -998,12 +998,12 @@ struct subr_subsetter_t
|
|||
{
|
||||
case OpCode_callsubr:
|
||||
encoder.encode_int (remaps.local_remaps[fd].biased_num (opstr.subr_num));
|
||||
encoder.encode_op (OpCode_callsubr);
|
||||
encoder.copy_str (opstr.ptr, opstr.length);
|
||||
break;
|
||||
|
||||
case OpCode_callgsubr:
|
||||
encoder.encode_int (remaps.global_remap.biased_num (opstr.subr_num));
|
||||
encoder.encode_op (OpCode_callgsubr);
|
||||
encoder.copy_str (opstr.ptr, opstr.length);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue