Merge pull request #165 from sbarman/master
fixes bug for fill colorspaces
This commit is contained in:
commit
b4adb0cd1f
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…
Reference in New Issue
Block a user