diff --git a/bower.json b/bower.json index 8e49df1d6..5c468b355 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.435", + "version": "1.1.438", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 822b7c1ab..a174916f7 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.435'; -PDFJS.build = '52dc7f3'; +PDFJS.version = '1.1.438'; +PDFJS.build = '2a0e078'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4221,6 +4221,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { this.current = this.stateStack.pop(); this.ctx.restore(); + // Ensure that the clipping path is reset (fixes issue6413.pdf). + this.pendingClip = null; + this.cachedGetSinglePixelWidth = null; } }, diff --git a/build/pdf.js b/build/pdf.js index 5ca0775fc..56d3fd83f 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.435'; -PDFJS.build = '52dc7f3'; +PDFJS.version = '1.1.438'; +PDFJS.build = '2a0e078'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4265,6 +4265,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { this.current = this.stateStack.pop(); this.ctx.restore(); + // Ensure that the clipping path is reset (fixes issue6413.pdf). + this.pendingClip = null; + this.cachedGetSinglePixelWidth = null; } }, diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 4996a6695..63700feee 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.435'; -PDFJS.build = '52dc7f3'; +PDFJS.version = '1.1.438'; +PDFJS.build = '2a0e078'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 547775e54..15b6919b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.435", + "version": "1.1.438", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",