Do not stop rendering on filter JPXdecode

This commit is contained in:
Vivien Nicolas 2011-10-20 18:52:04 +02:00
parent 5a699720bc
commit a2692bbb89

2
pdf.js
View File

@ -2959,6 +2959,8 @@ var Parser = (function parserParser() {
return new AsciiHexStream(stream); return new AsciiHexStream(stream);
} else if (name == 'CCITTFaxDecode' || name == 'CCF') { } else if (name == 'CCITTFaxDecode' || name == 'CCF') {
return new CCITTFaxStream(stream, params); return new CCITTFaxStream(stream, params);
} else if (name == 'JPXDecode') {
warn('filter "' + name + '" not supported yet');
} else { } else {
error('filter "' + name + '" not supported yet'); error('filter "' + name + '" not supported yet');
} }