mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
work-around for issue #158
This commit is contained in:
parent
d3bb64bccd
commit
40afbc725b
1 changed files with 4 additions and 0 deletions
4
pdf.js
4
pdf.js
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue