diff --git a/src/display/canvas.js b/src/display/canvas.js index 8e8deda9b..033068719 100644 --- a/src/display/canvas.js +++ b/src/display/canvas.js @@ -970,6 +970,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; } },