From 039932cb1a3b28ac3141b4b8b9a17ad6c4496fd3 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Fri, 11 Mar 2016 14:29:49 +0000 Subject: [PATCH] PDF.js version 1.4.135 - See mozilla/pdf.js@c6d2b7f9d9c8fdf75b0b73b5c6bb1b7b7ebcf91d --- bower.json | 2 +- build/pdf.combined.js | 7 +++++-- build/pdf.js | 7 +++++-- build/pdf.worker.js | 4 ++-- package.json | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index f59050458..9d1b4b860 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.133", + "version": "1.4.135", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index d4969abe6..9f0c3a092 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.133'; -var pdfjsBuild = '4784863'; +var pdfjsVersion = '1.4.135'; +var pdfjsBuild = 'c6d2b7f'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -29159,7 +29159,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { if (this.transparentCanvas) { this.ctx = this.compositeCtx; + this.ctx.save(); + this.ctx.setTransform(1, 0, 0, 1, 0, 0); // Avoid apply transform twice this.ctx.drawImage(this.transparentCanvas, 0, 0); + this.ctx.restore(); this.transparentCanvas = null; } diff --git a/build/pdf.js b/build/pdf.js index 126ddcb00..ac6f00bf2 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.133'; -var pdfjsBuild = '4784863'; +var pdfjsVersion = '1.4.135'; +var pdfjsBuild = 'c6d2b7f'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -7062,7 +7062,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { if (this.transparentCanvas) { this.ctx = this.compositeCtx; + this.ctx.save(); + this.ctx.setTransform(1, 0, 0, 1, 0, 0); // Avoid apply transform twice this.ctx.drawImage(this.transparentCanvas, 0, 0); + this.ctx.restore(); this.transparentCanvas = null; } diff --git a/build/pdf.worker.js b/build/pdf.worker.js index bc265bc20..bf19f20a3 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.133'; -var pdfjsBuild = '4784863'; +var pdfjsVersion = '1.4.135'; +var pdfjsBuild = 'c6d2b7f'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? diff --git a/package.json b/package.json index 584dd17fd..3e3b93229 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.133", + "version": "1.4.135", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [