Bug 106758 - [pdfunite] incorrect trailer /Size
Summary: [pdfunite] incorrect trailer /Size
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 16:06 UTC by Diego Nieto Cid
Modified: 2018-08-20 22:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Diego Nieto Cid 2018-05-31 16:06:13 UTC
pdfunite produces a PDF whose trailer contains a /Size property with the wrong value

    $ gs -q -dNODISPLAY -c "(page1.pdf) (r) file runpdfbegin pdfpagecount = quit"
    1
    $ pdfunite page1.pdf page1.pdf page1.pdf out.pdf
    $ gs -q -dNODISPLAY -c "(out.pdf) (r) file runpdfbegin pdfpagecount = quit"
    **** Warning: Discovered more enties in xref than declared in trailer /Size
    3
    $ grep -a -C1 xref out.pdf 
    endobj
    xref
    0 98
    --
    <</Size 80 /ID [(;�L��j�=Io��0�@) (;�L��j�=Io��0�@) ] /Root 93 0 R >> 
    startxref
    264175
Comment 1 Daniel Stone 2018-08-20 22:27:51 UTC
Unfortunately the content of this bug cannot be migrated to GitLab, as Bugzilla produces invalid content when trying to export it to XML. I'm closing this here, but it can be reopened directly at https://gitlab.freedesktop.org/poppler/poppler/issues/new

Sorry for the inconvenience.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.