diff --git a/pdf.js b/pdf.js index 80c7f7487..2eba4e652 100644 --- a/pdf.js +++ b/pdf.js @@ -4887,6 +4887,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; }