Ver Fonte

PDF.js version 1.0.924

Pdf Bot há 10 anos atrás
pai
commit
4874ae9337
5 ficheiros alterados com 18 adições e 8 exclusões
  1. 1 1
      bower.json
  2. 7 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 7 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 7 - 2
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.921';
-PDFJS.build = '9e7966a';
+PDFJS.version = '1.0.924';
+PDFJS.build = '04390d8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -41759,6 +41759,11 @@ var JpxImage = (function JpxImageClosure() {
         codeblock.precinctNumber = precinctNumber;
         codeblock.subbandType = subband.type;
         codeblock.Lblock = 3;
+
+        if (codeblock.tbx1_ <= codeblock.tbx0_ ||
+            codeblock.tby1_ <= codeblock.tby0_) {
+          continue;
+        }
         codeblocks.push(codeblock);
         // building precinct for the sub-band
         var precinct = precincts[precinctNumber];

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.921';
-PDFJS.build = '9e7966a';
+PDFJS.version = '1.0.924';
+PDFJS.build = '04390d8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 7 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.921';
-PDFJS.build = '9e7966a';
+PDFJS.version = '1.0.924';
+PDFJS.build = '04390d8';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -35634,6 +35634,11 @@ var JpxImage = (function JpxImageClosure() {
         codeblock.precinctNumber = precinctNumber;
         codeblock.subbandType = subband.type;
         codeblock.Lblock = 3;
+
+        if (codeblock.tbx1_ <= codeblock.tbx0_ ||
+            codeblock.tby1_ <= codeblock.tby0_) {
+          continue;
+        }
         codeblocks.push(codeblock);
         // building precinct for the sub-band
         var precinct = precincts[precinctNumber];

+ 1 - 1
package.json

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