瀏覽代碼

PDF.js version 1.0.688

Yury Delendik 10 年之前
父節點
當前提交
d4c5a22d73
共有 5 個文件被更改,包括 16 次插入12 次删除
  1. 1 1
      bower.json
  2. 6 4
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 6 4
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 6 - 4
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]);
+        }
       });
     },
 

+ 2 - 2
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

+ 6 - 4
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]);
+        }
       });
     },
 

+ 1 - 1
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",