Brought pdf.js back up to the latest revision.

This commit is contained in:
Justin D'Arcangelo 2011-06-23 21:37:40 -04:00
parent fa045139ad
commit 6501c2100f

7
pdf.js
View File

@ -3275,8 +3275,11 @@ var CanvasGraphics = (function() {
}
}
if (bitsPerComponent !== 8)
error("Unsupported bpc");
if (bitsPerComponent !== 8) {
TODO("Support bpc="+ bitsPerComponent);
this.restore();
return;
}
var xref = this.xref;
var colorSpaces = this.colorSpaces;