9199b02a42
For documents with a Linearization dictionary the computed `startXRef` position will be relative to the raw file, rather than the actual PDF document itself (which begins with `%PDF-`). Hence it's necessary to subtract `stream.start` in this case, since otherwise the `XRef.readXRef` method will increment the position too far resulting in parsing errors.
2 lines
68 B
SYSTEMD
2 lines
68 B
SYSTEMD
https://github.com/mozilla/pdf.js/files/3844109/9069_10755570.1.pdf
|