Created attachment 91778 [details]
In brief, if I print a 11x17 size PDF to a printer, it prints to 11x17 when the
renderers are pdftops or gs. It prints a cropped image on a Letter size when
pdftocairo is specified.
Printer Ricoh MP C3300 with PostScript PPD.
How to reproduce:
1. Send attached file with this command line:
lp pdftops-renderer=pdftops ./tabloid1.pdf
2. Send attached file with this command line:
lp pdftops-renderer=pdftocairo ./tabloid1.pdf
First job will be printed on 11x17 page.
Second job will be printed on default page size, Letter, with only part of the
original page being visible (and no scaling was done).
Here is the pdf setup section from pdftops and pdftocairo outputs:
792 1224 pdfSetupPaper
0 0 792 1224 re W
pdftocairo (looks like there are comments only, no actual setup):
%%PageBoundingBox: 63 56 737 1163
Created attachment 91779 [details]
Attachment: output from pdftocairo
Created attachment 91780 [details]
Attachment: output of pdftops.
I applied this patch along with other most recent patches to cairo master and can confirm that it works, thank you.