work-around for issue #158

This commit is contained in:
Andreas Gal 2011-07-02 01:11:55 -07:00
parent d3bb64bccd
commit 40afbc725b

4
pdf.js
View File

@ -3938,6 +3938,10 @@ var CanvasGraphics = (function() {
},
setFillColor: function(/*...*/) {
var cs = this.getFillColorSpace();
if (cs.name == "Pattern") {
TODO("implement Pattern fill");
return;
}
var color = cs.getRgb(arguments);
this.setFillRGBColor.apply(this, color);
},