Browse Source

Avoid allocations in executeCommand().

Nicholas Nethercote 11 years ago
parent
commit
6c698519cd
  1. 2
      src/core/fonts.js

2
src/core/fonts.js

@ -4779,7 +4779,7 @@ var Type1CharString = (function Type1CharStringClosure() {
if (keepStack) { if (keepStack) {
this.stack.splice(start, howManyArgs); this.stack.splice(start, howManyArgs);
} else { } else {
this.stack = []; this.stack.length = 0;
} }
return false; return false;
} }

Loading…
Cancel
Save