diff --git a/bower.json b/bower.json index e66b731c8..075691290 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.686", + "version": "1.0.688", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index f1963ae83..aa239db14 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.686'; -PDFJS.build = 'fa8d385'; +PDFJS.version = '1.0.688'; +PDFJS.build = 'e53a28c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -16700,7 +16700,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { break; // Only generate info log messages for the following since - // they are unlikey to have a big impact on the rendering. + // they are unlikely to have a big impact on the rendering. case 'OP': case 'op': case 'OPM': @@ -16734,7 +16734,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { setGStateForKey(gStateObj, key, value); } return promise.then(function () { - operatorList.addOp(OPS.setGState, [gStateObj]); + if (gStateObj.length >= 0) { + operatorList.addOp(OPS.setGState, [gStateObj]); + } }); }, diff --git a/build/pdf.js b/build/pdf.js index f2fa4ec3f..854b6dc84 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.686'; -PDFJS.build = 'fa8d385'; +PDFJS.version = '1.0.688'; +PDFJS.build = 'e53a28c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 57d2d21cc..6da187028 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.686'; -PDFJS.build = 'fa8d385'; +PDFJS.version = '1.0.688'; +PDFJS.build = 'e53a28c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -10706,7 +10706,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { break; // Only generate info log messages for the following since - // they are unlikey to have a big impact on the rendering. + // they are unlikely to have a big impact on the rendering. case 'OP': case 'op': case 'OPM': @@ -10740,7 +10740,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { setGStateForKey(gStateObj, key, value); } return promise.then(function () { - operatorList.addOp(OPS.setGState, [gStateObj]); + if (gStateObj.length >= 0) { + operatorList.addOp(OPS.setGState, [gStateObj]); + } }); }, diff --git a/package.json b/package.json index bb433db24..f5797674b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.686", + "version": "1.0.688", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",