diff --git a/pdf.js b/pdf.js index ae8984907..27e65370d 100644 --- a/pdf.js +++ b/pdf.js @@ -4884,6 +4884,9 @@ var CanvasExtraState = (function canvasExtraState() { this.strokeColorSpaceObj = null; this.fillColorObj = null; this.strokeColorObj = null; + // Default fore and background colors + this.fillColor = "#000000"; + this.strokeColor = "#000000"; this.old = old; }