You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
It turns out that the issue in these files is that some of the bounding boxes are placed entirely outside of the canvas, causing bounds to be undefined since the two regions don't intersect: https://github.com/mozilla/pdf.js/blob/master/src/display/canvas.js#L1510.
An example of the issue (taken from the first file): The bounding box is [798.569357132554, 117.22800148665908, 1031.8493640848396, 267.46800596415994], but the canvas dimensions are [0, 0, 755, 793].
The text was updated successfully, but these errors were encountered:
After #3798 was merged (checked with
git bisect
), the following files no longer renders completely:The relevant error message from the console:
It turns out that the issue in these files is that some of the bounding boxes are placed entirely outside of the canvas, causing
bounds
to be undefined since the two regions don't intersect: https://github.com/mozilla/pdf.js/blob/master/src/display/canvas.js#L1510.An example of the issue (taken from the first file): The bounding box is
[798.569357132554, 117.22800148665908, 1031.8493640848396, 267.46800596415994]
, but the canvas dimensions are[0, 0, 755, 793]
.The text was updated successfully, but these errors were encountered: