]> git.parisson.com Git - pdf.js.git/commitdiff
called getStrokeColorSpace instead of getFillColorSapce
authorsbarman <sbarman@L3CWZ5T.(none)>
Sun, 3 Jul 2011 14:23:17 +0000 (09:23 -0500)
committersbarman <sbarman@L3CWZ5T.(none)>
Sun, 3 Jul 2011 14:23:17 +0000 (09:23 -0500)
pdf.js

diff --git a/pdf.js b/pdf.js
index 7e47a3c573a2a050946d869d83f85ce6822d4053..814c99f75f5ab8a9afc3db1b78ef82088d7e4b8c 100644 (file)
--- a/pdf.js
+++ b/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];