[ 
https://issues.apache.org/jira/browse/PDFBOX-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-2968:
------------------------------------
    Attachment: 000349.pdf
                000337.pdf

000349.pdf: old style (PDF 1.1), /Catalog/Dests
000337.pdf: new style (PDF 1.2 and higher), /Catalog/Names/Dests

> PDDocumentNameDictionary getDests applies a broken fallback logic
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-2968
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2968
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.10, 2.0.0
>            Reporter: Andrea Vacondio
>            Priority: Minor
>         Attachments: 000337.pdf, 000349.pdf
>
>
> As discussed here 
> http://mail-archives.apache.org/mod_mbox/pdfbox-users/201509.mbox/browser
> Currently the PDDocumentNameDictionary::getDests looks for destinations in 
> the Names dests item which is a name tree. If nothing is found, the algorithm 
> fetches the Catalog dests and wraps them in a PDDestinationNameTreeNode, 
> which is wrong since the Catalog dests are a dictionary and not a name tree, 
> resulting in a warning message:  "NameTreeNode does not have "names" nor 
> "kids" objects"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to