1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
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: