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
Steps to reproduce the problem:
Open a PDF with a checkbox annotation that doesn't completely specify the appearance.
What is the expected behavior?
Text and other content is visible. In this example, "Check Box" should be visible.
What went wrong?
The page appears blank except for the form entry boxes.
Commit 0c31320 entered the Firefox release recently and broke an old PDF form. The form has some checkbox appearance issue that causes appearance .dict vars to not be set and throw an exception when pdf.js tries to use them. I created a smaller file with the same issue. Previously the PDF displayed properly anyway. This commit changed the data structure returned by the annotation getOperatorList but missed a null return in a catch block for opListPromises. The null value isn't tolerated anymore. This can be fixed by returning the empty list structure instead of null. Then the PDF works again.
The text was updated successfully, but these errors were encountered:
Attach (recommended) or Link to PDF file here:
checkbox-incomplete-appearance.pdf
Configuration:
Steps to reproduce the problem:
Open a PDF with a checkbox annotation that doesn't completely specify the appearance.
What is the expected behavior?
Text and other content is visible. In this example, "Check Box" should be visible.
What went wrong?
The page appears blank except for the form entry boxes.
Commit 0c31320 entered the Firefox release recently and broke an old PDF form. The form has some checkbox appearance issue that causes appearance .dict vars to not be set and throw an exception when pdf.js tries to use them. I created a smaller file with the same issue. Previously the PDF displayed properly anyway. This commit changed the data structure returned by the annotation getOperatorList but missed a null return in a catch block for opListPromises. The null value isn't tolerated anymore. This can be fixed by returning the empty list structure instead of null. Then the PDF works again.
The text was updated successfully, but these errors were encountered: