diff --git a/bower.json b/bower.json index 5587be986..9eea5d0b7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.347", + "version": "1.1.350", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 66ed572b7..da7ed464a 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.1.347'; -PDFJS.build = '28130b9'; +PDFJS.version = '1.1.350'; +PDFJS.build = '72ecbec'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -16572,7 +16572,7 @@ Shadings.Mesh = (function MeshClosure() { var numComps = context.numComps; this.tmpCompsBuf = new Float32Array(numComps); - var csNumComps = context.colorSpace; + var csNumComps = context.colorSpace.numComps; this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) : this.tmpCompsBuf; } @@ -16692,13 +16692,10 @@ Shadings.Mesh = (function MeshClosure() { reader.align(); } - - var psPacked = new Int32Array(ps); - mesh.figures.push({ type: 'triangles', - coords: psPacked, - colors: psPacked + coords: new Int32Array(ps), + colors: new Int32Array(ps), }); } @@ -16713,13 +16710,10 @@ Shadings.Mesh = (function MeshClosure() { coords.push(coord); colors.push(color); } - - var psPacked = new Int32Array(ps); - mesh.figures.push({ type: 'lattice', - coords: psPacked, - colors: psPacked, + coords: new Int32Array(ps), + colors: new Int32Array(ps), verticesPerRow: verticesPerRow }); } diff --git a/build/pdf.js b/build/pdf.js index a73a53841..1bba2efad 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.1.347'; -PDFJS.build = '28130b9'; +PDFJS.version = '1.1.350'; +PDFJS.build = '72ecbec'; (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 192b108d2..023ef53f5 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.1.347'; -PDFJS.build = '28130b9'; +PDFJS.version = '1.1.350'; +PDFJS.build = '72ecbec'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -10171,7 +10171,7 @@ Shadings.Mesh = (function MeshClosure() { var numComps = context.numComps; this.tmpCompsBuf = new Float32Array(numComps); - var csNumComps = context.colorSpace; + var csNumComps = context.colorSpace.numComps; this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) : this.tmpCompsBuf; } @@ -10291,13 +10291,10 @@ Shadings.Mesh = (function MeshClosure() { reader.align(); } - - var psPacked = new Int32Array(ps); - mesh.figures.push({ type: 'triangles', - coords: psPacked, - colors: psPacked + coords: new Int32Array(ps), + colors: new Int32Array(ps), }); } @@ -10312,13 +10309,10 @@ Shadings.Mesh = (function MeshClosure() { coords.push(coord); colors.push(color); } - - var psPacked = new Int32Array(ps); - mesh.figures.push({ type: 'lattice', - coords: psPacked, - colors: psPacked, + coords: new Int32Array(ps), + colors: new Int32Array(ps), verticesPerRow: verticesPerRow }); } diff --git a/package.json b/package.json index c3e73c219..464fcc02d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.347", + "version": "1.1.350", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",