From: Andreas Gal Date: Sat, 2 Jul 2011 08:11:55 +0000 (-0700) Subject: work-around for issue #158 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=40afbc725bcb585f83e0275b61d0b3e2c9c8e327;p=pdf.js.git work-around for issue #158 --- diff --git a/pdf.js b/pdf.js index b52d196..8f869a4 100644 --- a/pdf.js +++ b/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); },