-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes rendering of PDFs with nested trailer dictionary #4731
Conversation
@@ -731,12 +731,12 @@ var XRef = (function XRefClosure() { | |||
// The parser goes through the entire stream << ... >> and provides | |||
// a getter interface for the key-value table | |||
var dict = parser.getObj(); | |||
if (!isDict(dict)) { | |||
if (!isDict(dict) && !dict.dict) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add if (!isDict(dict) && dict.dict) { dict = dict.dict }
above with comment about which generator does it
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/6b591cac82b041e/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/6b591cac82b041e/output.txt Total script time: 0.38 mins Published
|
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.22.172.223:8877/3a4bd87e2b471fd/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.21.233.14:8877/6bc48b149a8c3b8/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/3a4bd87e2b471fd/output.txt Total script time: 22.46 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/6bc48b149a8c3b8/output.txt Total script time: 25.77 mins
|
Thank you for the patch |
Fixes rendering of PDFs with nested trailer dictionary
Fixes http://rudar.ruc.dk/bitstream/1800/12945/1/samlet-29Nov1035.pdf from https://bthorben.github.io/pdfRepo.