diff --git a/bower.json b/bower.json index bf3f41562..fe0f502cf 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.478", + "version": "1.1.480", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 7c5a3f6ed..cda4f1ac4 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.478'; -PDFJS.build = 'a6270bb'; +PDFJS.version = '1.1.480'; +PDFJS.build = '973b15c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4809,8 +4809,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { var pattern; if (IR[0] === 'TilingPattern') { var color = IR[1]; + var baseTransform = this.baseTransform || + this.ctx.mozCurrentTransform.slice(); pattern = new TilingPattern(IR, color, this.ctx, this.objs, - this.commonObjs, this.baseTransform); + this.commonObjs, baseTransform); } else { pattern = getShadingPatternFromIR(IR); } diff --git a/build/pdf.js b/build/pdf.js index 7def98097..ce5b2ec14 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.478'; -PDFJS.build = 'a6270bb'; +PDFJS.version = '1.1.480'; +PDFJS.build = '973b15c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4853,8 +4853,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { var pattern; if (IR[0] === 'TilingPattern') { var color = IR[1]; + var baseTransform = this.baseTransform || + this.ctx.mozCurrentTransform.slice(); pattern = new TilingPattern(IR, color, this.ctx, this.objs, - this.commonObjs, this.baseTransform); + this.commonObjs, baseTransform); } else { pattern = getShadingPatternFromIR(IR); } diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 5f9dee45f..325aeea5b 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.478'; -PDFJS.build = 'a6270bb'; +PDFJS.version = '1.1.480'; +PDFJS.build = '973b15c'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 459bc453e..8621254dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.478", + "version": "1.1.480", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",