diff --git a/pdf.js b/pdf.js index d371330ac..fe2d38ac6 100644 --- a/pdf.js +++ b/pdf.js @@ -4055,7 +4055,7 @@ var CanvasGraphics = (function() { } var strokeColor = this.current.strokeColor; - if (stokeColor && strokeColor.type === "Pattern") { + if (strokeColor && strokeColor.type === "Pattern") { ctx.save(); ctx.strokeStyle = strokeColor.getPattern(ctx); ctx.stroke();