Fixes stream loading for XRefStm
This commit is contained in:
parent
9d3afdd2e0
commit
35af48123a
@ -710,6 +710,7 @@ var XRef = (function XRefClosure() {
|
|||||||
error('invalid first and n parameters for ObjStm stream');
|
error('invalid first and n parameters for ObjStm stream');
|
||||||
}
|
}
|
||||||
parser = new Parser(new Lexer(stream), false, this);
|
parser = new Parser(new Lexer(stream), false, this);
|
||||||
|
parser.allowStreams = true;
|
||||||
var i, entries = [], nums = [];
|
var i, entries = [], nums = [];
|
||||||
// read the object numbers to populate cache
|
// read the object numbers to populate cache
|
||||||
for (i = 0; i < n; ++i) {
|
for (i = 0; i < n; ++i) {
|
||||||
|
1
test/pdfs/issue2337.pdf.link
Normal file
1
test/pdfs/issue2337.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://mirrors.ctan.org/info/lshort/english/lshort.pdf
|
@ -727,6 +727,14 @@
|
|||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "load"
|
"type": "load"
|
||||||
},
|
},
|
||||||
|
{ "id": "issue2337",
|
||||||
|
"file": "pdfs/issue2337.pdf",
|
||||||
|
"md5": "ea10f4131202b9b8f2a6cb7770d3f185",
|
||||||
|
"rounds": 1,
|
||||||
|
"pageLimit": 1,
|
||||||
|
"link": true,
|
||||||
|
"type": "load"
|
||||||
|
},
|
||||||
{ "id": "issue2074",
|
{ "id": "issue2074",
|
||||||
"file": "pdfs/issue2074.pdf",
|
"file": "pdfs/issue2074.pdf",
|
||||||
"md5": "5e4ba2241fc35d20e44eb52289a569ab",
|
"md5": "5e4ba2241fc35d20e44eb52289a569ab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user