Browse Source

PDF.js version 1.0.217

master v1.0.217
Yury Delendik 11 years ago
parent
commit
bcd5170389
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 16
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.215", "version": "1.0.217",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

16
build/pdf.combined.js

@ -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) {

4
build/pdf.js

@ -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

16
build/pdf.worker.js vendored

@ -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
@ -17307,6 +17307,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 = {
@ -17340,6 +17341,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) {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.215", "version": "1.0.217",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",

Loading…
Cancel
Save