called getStrokeColorSpace instead of getFillColorSapce
This commit is contained in:
parent
5a99a9d143
commit
597cdb59f9
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -3946,7 +3946,7 @@ var CanvasGraphics = (function() {
|
||||||
this.setFillRGBColor.apply(this, color);
|
this.setFillRGBColor.apply(this, color);
|
||||||
},
|
},
|
||||||
setFillColorN: function(/*...*/) {
|
setFillColorN: function(/*...*/) {
|
||||||
var cs = this.getStrokeColorSpace();
|
var cs = this.getFillColorSpace();
|
||||||
|
|
||||||
if (cs.name == "Pattern") {
|
if (cs.name == "Pattern") {
|
||||||
var patternName = arguments[0];
|
var patternName = arguments[0];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue