-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Description
Hi,
I have PDF files that are created via an automated process that creates a docbook xml, then an FO file and finally via FOP the PDF file. The created PDF file has automatically set destinations (see TestDocument.pdf as an example).
When calling this PDF file via a web server to jump directly to a destination, it fails in Firefox (current version) but not in Chrome/Edge (In another case it was said that Chrome is a bit more tolerant here).
PDF.js gives the following error:
PDFLinkService.goToDestination: "null" is not a valid destination array, for dest="id70863". (see picture Error_NullNoDestination.png)
In another similar problem, it was said that pdf.js is OK but the destinations are not correct, there must be destinations here: Root/Names/Dests. But this is the case (see image PDF_Structure.png), or am I interpreting this wrong?
So I don't know what is really the problem here, my document or pdf.js. Can someone help me?
Best Regards
Jan-Michael

