Skip to content

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

@Jamire

Description

@Jamire

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions