1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

called getStrokeColorSpace instead of getFillColorSapce

This commit is contained in:
sbarman 2011-07-03 09:23:17 -05:00
parent 5a99a9d143
commit 597cdb59f9

2
pdf.js
View file

@ -3946,7 +3946,7 @@ var CanvasGraphics = (function() {
this.setFillRGBColor.apply(this, color);
},
setFillColorN: function(/*...*/) {
var cs = this.getStrokeColorSpace();
var cs = this.getFillColorSpace();
if (cs.name == "Pattern") {
var patternName = arguments[0];