diff --git a/bower.json b/bower.json index 9098f4ac9..b9d860c6f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.76", + "version": "1.3.78", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 14158c4f7..1172a6a62 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.76'; -PDFJS.build = 'f7ec866'; +PDFJS.version = '1.3.78'; +PDFJS.build = 'f93a220'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4772,6 +4772,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { if (isPatternFill) { ctx.save(); + if (this.baseTransform) { + ctx.setTransform.apply(ctx, this.baseTransform); + } ctx.fillStyle = fillColor.getPattern(ctx, this); needRestore = true; } diff --git a/build/pdf.js b/build/pdf.js index b11cda004..b5541800c 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.76'; -PDFJS.build = 'f7ec866'; +PDFJS.version = '1.3.78'; +PDFJS.build = 'f93a220'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4831,6 +4831,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { if (isPatternFill) { ctx.save(); + if (this.baseTransform) { + ctx.setTransform.apply(ctx, this.baseTransform); + } ctx.fillStyle = fillColor.getPattern(ctx, this); needRestore = true; } diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 0b522178a..cac983364 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.76'; -PDFJS.build = 'f7ec866'; +PDFJS.version = '1.3.78'; +PDFJS.build = 'f93a220'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 52e514b34..c327b221f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.76", + "version": "1.3.78", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",