diff --git a/bower.json b/bower.json index 2d3e432ef..d085ba13b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.608", + "version": "1.0.610", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index e74b3750b..9194eb5f7 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.608'; -PDFJS.build = 'cbdaf85'; +PDFJS.version = '1.0.610'; +PDFJS.build = '3dce05f'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -37027,6 +37027,8 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { if (code1 === 1) { this.eatBits(12); gotEOL = true; + } else if (code1 === EOF) { + this.eof = true; } } @@ -37039,7 +37041,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { this.eatBits(1); } - if (this.eoblock && !this.eoline && this.byteAlign) { + if (this.eoblock && gotEOL && this.byteAlign) { code1 = this.lookBits(12); if (code1 === 1) { this.eatBits(12); diff --git a/build/pdf.js b/build/pdf.js index d223b8a7f..2de1e1422 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.608'; -PDFJS.build = 'cbdaf85'; +PDFJS.version = '1.0.610'; +PDFJS.build = '3dce05f'; (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 427029b99..66689ce55 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.608'; -PDFJS.build = 'cbdaf85'; +PDFJS.version = '1.0.610'; +PDFJS.build = '3dce05f'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -32170,6 +32170,8 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { if (code1 === 1) { this.eatBits(12); gotEOL = true; + } else if (code1 === EOF) { + this.eof = true; } } @@ -32182,7 +32184,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { this.eatBits(1); } - if (this.eoblock && !this.eoline && this.byteAlign) { + if (this.eoblock && gotEOL && this.byteAlign) { code1 = this.lookBits(12); if (code1 === 1) { this.eatBits(12); diff --git a/package.json b/package.json index bee039d72..ccdb847c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.608", + "version": "1.0.610", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",