mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #165 from sbarman/master
fixes bug for fill colorspaces
This commit is contained in:
commit
b4adb0cd1f
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue