From 4874ae9337b945321c45697936e2308652adbec1 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Wed, 22 Oct 2014 16:16:30 +0100 Subject: [PATCH] PDF.js version 1.0.924 --- bower.json | 2 +- build/pdf.combined.js | 9 +++++++-- build/pdf.js | 4 ++-- build/pdf.worker.js | 9 +++++++-- package.json | 2 +- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 4159592f4..333c9e1ed 100644 --- a/bower.json +++ b/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" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 847c25192..f6e9c5d0a 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.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]; diff --git a/build/pdf.js b/build/pdf.js index d390f7412..dc1412b56 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.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 diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 81f7259af..68726632c 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.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]; diff --git a/package.json b/package.json index 7e7683b41..5d73c6985 100644 --- a/package.json +++ b/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",