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

Justin LeFebvre updated PDFBOX-459:
-----------------------------------

    Attachment: COSDictionary.diff

This diff prevents the overwrite from occurring. 

> Trailer Dictionary object labeled "Size" is overwritten when there are 2 xref 
> table objects
> -------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-459
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-459
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>            Reporter: Justin LeFebvre
>            Priority: Minor
>         Attachments: COSDictionary.diff
>
>
> While parsing a linearized PDF file, all of which have 2 distinct xref tables 
> in different locations in the file, I noticed that the Size entry in the 
> dictionary was being overwritten to the wrong value. The value that should be 
> used for these files is the number in the first trailer section which 
> represents the size of all the entries. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to