mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[subset-cff] Copy str for call ops
This commit is contained in:
1 parent
c755b3884f
commit
bfbbd4af25
1 file changed
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user