-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Prevent PartialEvaluator_buildFormXObject
from failing if the Matrix
or BBox
contains indirect objects
#6485
Prevent PartialEvaluator_buildFormXObject
from failing if the Matrix
or BBox
contains indirect objects
#6485
Conversation
|
||
// Same as getAsync(), | ||
// but dereferences all elements if the result is an Array. | ||
getAsyncArray: function Dict_getAsyncArray(key1, key2, key3) { |
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.
We can remove this function: not used and fetchIfRefs inside probably need to be async fetched as well.
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.
We can remove this function: not used
Done. (I just added it for consistency with the other method, but since it's not used I agree with removing it.)
[...] and fetchIfRefs inside probably need to be async fetched as well.
This is an embarrassing oversight on my part :-)
This method extend `get`, and will fetch all indirect objects (i.e. `Ref`s) when the result is an `Array`.
…ix` or `BBox` contains indirect objects This patch fixes yet another instance of bad PDF data, specifically a case where the `BBox` array contains indirect objects (i.e. `Ref`s). Fixes the missing image in http://www.int.washington.edu/talks/WorkShops/int_08_37W/People/Franz_M/Franz.pdf#page=24. *Note:* There are missing images on a number of the pages in that file.
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/6b999d964c49fc3/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/6b999d964c49fc3/output.txt Total script time: 0.70 mins Published |
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.22.172.223:8877/99a29b3e2791815/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/501e7d5dbdc2392/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/99a29b3e2791815/output.txt Total script time: 18.56 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/501e7d5dbdc2392/output.txt Total script time: 19.45 mins
|
/botio makeref |
From: Bot.io (Linux)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/a41d87070c3eafe/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://107.22.172.223:8877/8476d82cf499f79/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/8476d82cf499f79/output.txt Total script time: 18.74 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/a41d87070c3eafe/output.txt Total script time: 19.61 mins
|
Prevent `PartialEvaluator_buildFormXObject` from failing if the `Matrix` or `BBox` contains indirect objects
Good work! |
Add
getArray
method toDict
Prevent
PartialEvaluator_buildFormXObject
from failing if theMatrix
orBBox
contains indirect objects