diff --git a/bower.json b/bower.json index 3dca3b131..7873f7291 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.759", + "version": "1.0.761", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 72a509f8c..f7768630f 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.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'); diff --git a/build/pdf.js b/build/pdf.js index 3b5877cd7..e442e7790 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.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 diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 501cef5f6..98a60653a 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.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'); diff --git a/package.json b/package.json index 9d13548fa..e7294f7d2 100644 --- a/package.json +++ b/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",