Skip to content

PDF file is not opened at a destination in Firefox (with nameddest) #14847

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

Closed
Jamire opened this issue Apr 27, 2022 · 0 comments · Fixed by #14848
Closed

PDF file is not opened at a destination in Firefox (with nameddest) #14847

Jamire opened this issue Apr 27, 2022 · 0 comments · Fixed by #14848
Assignees
Labels

Comments

@Jamire
Copy link

Jamire commented Apr 27, 2022

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

TestDocument.pdf
PDF_Structure
Error_NullNoDestination
l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants