Merge pull request #165 from sbarman/master

fixes bug for fill colorspaces
This commit is contained in:
Andreas Gal 2011-07-03 14:24:27 -07:00
commit b4adb0cd1f

2
pdf.js
View File

@ -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];