Fixes stream loading for XRefStm

This commit is contained in:
Yury Delendik 2012-11-02 08:26:45 -05:00
parent 9d3afdd2e0
commit 35af48123a
3 changed files with 10 additions and 0 deletions

View File

@ -710,6 +710,7 @@ var XRef = (function XRefClosure() {
error('invalid first and n parameters for ObjStm stream');
}
parser = new Parser(new Lexer(stream), false, this);
parser.allowStreams = true;
var i, entries = [], nums = [];
// read the object numbers to populate cache
for (i = 0; i < n; ++i) {

View File

@ -0,0 +1 @@
http://mirrors.ctan.org/info/lshort/english/lshort.pdf

View File

@ -727,6 +727,14 @@
"rounds": 1,
"type": "load"
},
{ "id": "issue2337",
"file": "pdfs/issue2337.pdf",
"md5": "ea10f4131202b9b8f2a6cb7770d3f185",
"rounds": 1,
"pageLimit": 1,
"link": true,
"type": "load"
},
{ "id": "issue2074",
"file": "pdfs/issue2074.pdf",
"md5": "5e4ba2241fc35d20e44eb52289a569ab",