Set default colors to avoid invalid strokeStyle or fillStyle warnings
This commit is contained in:
parent
6b41e52800
commit
3c536c211a
3
pdf.js
3
pdf.js
@ -4884,6 +4884,9 @@ var CanvasExtraState = (function canvasExtraState() {
|
|||||||
this.strokeColorSpaceObj = null;
|
this.strokeColorSpaceObj = null;
|
||||||
this.fillColorObj = null;
|
this.fillColorObj = null;
|
||||||
this.strokeColorObj = null;
|
this.strokeColorObj = null;
|
||||||
|
// Default fore and background colors
|
||||||
|
this.fillColor = "#000000";
|
||||||
|
this.strokeColor = "#000000";
|
||||||
|
|
||||||
this.old = old;
|
this.old = old;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user