After some investigation, I think I have found the cause of the number-
up problem: The test page contains more q than Q operators ('q' saves
the current graphics state onto a stack, 'Q' pops one from the stack).
This isn't a problem when showing the page is shown on a physical page,
because the graphics state is reinitialized on every page.

When pdftopdf does number-up, it copies multiple of pages onto one
physical page. Since the graphics state hasn't been fully restored,
every page after the first is translated by whatever matrix is still on
top of the stack.

I have a fix for the test page, which unfortunately doesn't fix the
problem fully: Something seems to be messing up the q/Q operators again
when saving the PDF in bannertopdf. I'll post everything as soon as I
have found this second issue.

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

Title:
  Test page is printed only once if duplex is selected

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to