Summary: | pdftocairo doesn't seem to set page size | ||
---|---|---|---|
Product: | cairo | Reporter: | Alex Korobkin <korobkin+lpad> |
Component: | postscript backend | Assignee: | Adrian Johnson <ajohnson> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
tabloid1.pdf
tabloid1-pdftocairo.ps tabloid1-pdftops.ps |
Created attachment 91779 [details]
tabloid1-pdftocairo.ps
Attachment: output from pdftocairo
Created attachment 91780 [details]
tabloid1-pdftops.ps
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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 91778 [details] tabloid1.pdf 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. cups-filters 1.0.43, CUPS 1.6.4, Ubuntu 12.04, poppler 0.24.5, libcairo 1.12.16. 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: pdftops: %%BeginPageSetup %%PageOrientation: Portrait 792 1224 pdfSetupPaper pdfStartPage 0 0 792 1224 re W %%EndPageSetup pdftocairo (looks like there are comments only, no actual setup): %%BeginPageSetup %%PageOrientation: Portrait %%PageMedia: Tabloid %%PageBoundingBox: 63 56 737 1163 %%EndPageSetup