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

Loading…
Cancel
Save