mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fixes stream loading for XRefStm
This commit is contained in:
parent
9d3afdd2e0
commit
35af48123a
3 changed files with 10 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue