Poppler uses ftell(3) to find out byte offsets for the xref table. CUPS
makes all filters write to stdout, which cannot support ftell.

It didn't occur when calling `bannertopdf [args] > out.pdf` manually,
because in this case stdout will be dup()ed to the file (hence
supporting ftell again). That's why I didn't notice this while
developing.

Fixed in r25.

** Changed in: bannertopdf
       Status: Confirmed => Fix Committed

** Changed in: bannertopdf
     Assignee: (unassigned) => Lars Uebernickel (larsu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/939735

Title:
  PDF file is damanged - attempting to reconstruct xref table

To manage notifications about this bug go to:
https://bugs.launchpad.net/bannertopdf/+bug/939735/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to