|
|
@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.215'; |
|
|
|
PDFJS.version = '1.0.217'; |
|
|
|
PDFJS.build = '6d33025'; |
|
|
|
PDFJS.build = '37a6aac'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -21900,6 +21900,7 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() { |
|
|
|
// dictionary
|
|
|
|
// dictionary
|
|
|
|
this.parser = new Parser(new Lexer(stream, OP_MAP), false, xref); |
|
|
|
this.parser = new Parser(new Lexer(stream, OP_MAP), false, xref); |
|
|
|
this.stateManager = stateManager; |
|
|
|
this.stateManager = stateManager; |
|
|
|
|
|
|
|
this.nonProcessedArgs = []; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
EvaluatorPreprocessor.prototype = { |
|
|
|
EvaluatorPreprocessor.prototype = { |
|
|
@ -21933,6 +21934,17 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() { |
|
|
|
|
|
|
|
|
|
|
|
var fn = opSpec.id; |
|
|
|
var fn = opSpec.id; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Some post script commands can be nested, e.g. /F2 /GS2 gs 5.711 Tf
|
|
|
|
|
|
|
|
if (!opSpec.variableArgs && args.length !== opSpec.numArgs) { |
|
|
|
|
|
|
|
while (args.length > opSpec.numArgs) { |
|
|
|
|
|
|
|
this.nonProcessedArgs.push(args.shift()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while (args.length < opSpec.numArgs && this.nonProcessedArgs.length) { |
|
|
|
|
|
|
|
args.unshift(this.nonProcessedArgs.pop()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Validate the number of arguments for the command
|
|
|
|
// Validate the number of arguments for the command
|
|
|
|
if (opSpec.variableArgs) { |
|
|
|
if (opSpec.variableArgs) { |
|
|
|
if (args.length > opSpec.numArgs) { |
|
|
|
if (args.length > opSpec.numArgs) { |
|
|
|