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

Andreas Lehmkühler resolved PDFBOX-4153.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0 PDFBox
                   2.0.9

Both files have malformed xref tables. Some objects (the outline objects) have 
a different generation number compared to the number in the xref table. 
PDFBOX-4084 made the parser more lenient and didn't trigger the brute force 
search in such cases anymore. But it didn't repair the objectkey itself, so 
that those objects weren't found and the outlines are missing. I've fixed that. 
It works for PDFBOX-4084 as the damaged object is the trailer object and isn't 
reference directly by its objectkey.

The trunk version did the same, but it has an improved self repair mechanism. 
It triggers the brute force search later as the not repaired object keys can't 
be dereferenced. That explains the different behaviour.
I don't know why Acrobat isn't able to repair that pdf.

> Outlines missing in some versions, not in others
> ------------------------------------------------
>
>                 Key: PDFBOX-4153
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4153
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.8, 2.0.9, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.9, 3.0.0 PDFBox
>
>         Attachments: W7YMOLFXQS5UFJE2L2KSWCXZGSOQST3E.pdf, 
> WXMDXCYRWFDCMOSFQJ5OAJIAFXYRZ5OA.pdf
>
>
> The outlines are missing in the attached files. There are shown with 2.0.8 
> and with the trunk and with the first 2.0.9 version tested by Tim and not 
> with the current 2.0.9 version, and not with Adobe Reader. So I can't decide 
> which one is OK. It is likely related to the recent change, e.g. PDFBOX-4084.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to