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
[Bug]: When a PDF file with incremental updates contains multiple xref sections, exporting the PDF after adding annotations results in the annotated page being displayed as blank. #20302
Open the exported annotated PDF file in the browser.
Observe that the page with the annotation is blank.
What is the expected behavior?
The annotated page should display its content normally along with the annotation. The first submitted file is the original PDF, and the second is the PDF exported after adding annotations.
What went wrong?
I think. this PDF contains multiple xref tables. After annotations are added and exported, pdf.js performs another incremental update by appending a new xref table at the end. However, the /Prev entry in the new xref table is incorrect: it should point to the position of the last xref table in the original PDF, but instead it points to the first xref table of the original PDF. This causes the incremental update content to be lost.