~larsu/bannertopdf/trunk

Viewing all changes in revision 25.

  • Committer: Lars Uebernickel
  • Date: 2012-03-01 20:16:20 UTC
  • Revision ID: lars.uebernickel@canonical.com-20120301201620-8qfqsp2l2redjmed
Use a custom poppler output stream that doesn't rely on ftell(3)

Poppler uses ftell(3) to get byte offsets for the xref table while writing pdf
objects into the stream.  This breaks writing to standard output.

This patch adds a custom OutStream class that keeps track of the file offset
itself.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: