[Poppler-bugs] [Bug 106758] New: [pdfunite] incorrect trailer /Size

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 31 16:06:13 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106758

            Bug ID: 106758
           Summary: [pdfunite] incorrect trailer /Size
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: dnietoc at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180531/427998ed/attachment.html>


More information about the Poppler-bugs mailing list