Browse Source

PDF.js version 1.1.185

Pdf Bot 10 years ago
parent
commit
b5f0d7ade4
5 changed files with 12 additions and 12 deletions
  1. 1 1
      bower.json
  2. 4 4
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 4
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.183",
+  "version": "1.1.185",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 4 - 4
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.183';
-PDFJS.build = '6203dcd';
+PDFJS.version = '1.1.185';
+PDFJS.build = 'd95b4e4';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -13160,7 +13160,7 @@ var ColorSpace = (function ColorSpaceClosure() {
           error('unrecognized colorspace ' + mode);
       }
     } else if (isArray(cs)) {
-      mode = cs[0].name;
+      mode = xref.fetchIfRef(cs[0]).name;
       this.mode = mode;
       var numComps, params;
 
@@ -13193,7 +13193,7 @@ var ColorSpace = (function ColorSpaceClosure() {
           }
           break;
         case 'Pattern':
-          var basePatternCS = cs[1];
+          var basePatternCS = xref.fetchIfRef(cs[1]) || null;
           if (basePatternCS) {
             basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res);
           }

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.183';
-PDFJS.build = '6203dcd';
+PDFJS.version = '1.1.185';
+PDFJS.build = 'd95b4e4';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 4
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.183';
-PDFJS.build = '6203dcd';
+PDFJS.version = '1.1.185';
+PDFJS.build = 'd95b4e4';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -6807,7 +6807,7 @@ var ColorSpace = (function ColorSpaceClosure() {
           error('unrecognized colorspace ' + mode);
       }
     } else if (isArray(cs)) {
-      mode = cs[0].name;
+      mode = xref.fetchIfRef(cs[0]).name;
       this.mode = mode;
       var numComps, params;
 
@@ -6840,7 +6840,7 @@ var ColorSpace = (function ColorSpaceClosure() {
           }
           break;
         case 'Pattern':
-          var basePatternCS = cs[1];
+          var basePatternCS = xref.fetchIfRef(cs[1]) || null;
           if (basePatternCS) {
             basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res);
           }

+ 1 - 1
package.json

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