ソースを参照

PDF.js version 1.0.761

Yury Delendik 10 年 前
コミット
8c19dda70d
5 ファイル変更14 行追加12 行削除
  1. 1 1
      bower.json
  2. 5 4
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 5 4
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 5 - 4
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.759';
-PDFJS.build = '8206894';
+PDFJS.version = '1.0.761';
+PDFJS.build = 'c84a569';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -37852,7 +37852,8 @@ var Jbig2Stream = (function Jbig2StreamClosure() {
 
     var jbig2Image = new Jbig2Image();
 
-    var chunks = [], decodeParams = this.dict.get('DecodeParms');
+    var chunks = [], xref = this.dict.xref;
+    var decodeParams = xref.fetchIfRef(this.dict.get('DecodeParms'));
 
     // According to the PDF specification, DecodeParms can be either
     // a dictionary, or an array whose elements are dictionaries.
@@ -37861,7 +37862,7 @@ var Jbig2Stream = (function Jbig2StreamClosure() {
         warn('JBIG2 - \'DecodeParms\' array with multiple elements ' +
              'not supported.');
       }
-      decodeParams = decodeParams[0];
+      decodeParams = xref.fetchIfRef(decodeParams[0]);
     }
     if (decodeParams && decodeParams.has('JBIG2Globals')) {
       var globalsStream = decodeParams.get('JBIG2Globals');

+ 2 - 2
build/pdf.js

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

+ 5 - 4
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.759';
-PDFJS.build = '8206894';
+PDFJS.version = '1.0.761';
+PDFJS.build = 'c84a569';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -31817,7 +31817,8 @@ var Jbig2Stream = (function Jbig2StreamClosure() {
 
     var jbig2Image = new Jbig2Image();
 
-    var chunks = [], decodeParams = this.dict.get('DecodeParms');
+    var chunks = [], xref = this.dict.xref;
+    var decodeParams = xref.fetchIfRef(this.dict.get('DecodeParms'));
 
     // According to the PDF specification, DecodeParms can be either
     // a dictionary, or an array whose elements are dictionaries.
@@ -31826,7 +31827,7 @@ var Jbig2Stream = (function Jbig2StreamClosure() {
         warn('JBIG2 - \'DecodeParms\' array with multiple elements ' +
              'not supported.');
       }
-      decodeParams = decodeParams[0];
+      decodeParams = xref.fetchIfRef(decodeParams[0]);
     }
     if (decodeParams && decodeParams.has('JBIG2Globals')) {
       var globalsStream = decodeParams.get('JBIG2Globals');

+ 1 - 1
package.json

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