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 b9af0da8f8
commit c5b889a47b

7
pdf.js
View File

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