This commit is contained in:
sbarman 2011-07-11 13:14:47 -07:00
parent 6f74406a2c
commit e95512e7cf

4
pdf.js
View File

@ -4176,9 +4176,6 @@ var CanvasGraphics = (function() {
if (base) {
var baseComps = base.numComps;
if (baseComps != length - 1)
error("invalid base color for pattern colorspace");
var color = [];
for (var i = 0; i < baseComps; ++i)
color.push(args[i]);
@ -4263,7 +4260,6 @@ var CanvasGraphics = (function() {
var savedCtx = ctx;
this.ctx = tmpCtx;
var fillColor, strokeColor;
var paintType = dict.get('PaintType');
switch (paintType) {
case PAINT_TYPE_COLORED: