<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [pdfunite] incorrect trailer /Size"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106758">106758</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[pdfunite] incorrect trailer /Size
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dnietoc@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>