Bug 236753
| Summary: | Known-good PDF handling problem (Kew Gardens strolling map) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> | ||||
| Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 1.2.10-7.fc6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-05-22 08:06:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 207681 | ||||||
| Attachments: |
|
||||||
|
Description
Tim Waugh
2007-04-17 15:13:07 UTC
Printing to file from xpdf gives a working PS file, compared to the broken file produced by the CUPS pdftops filter. Diff: --- strollingmap-cups.ps 2007-04-17 15:57:59.000000000 +0100 +++ strollingmap-xpdf.ps 2007-04-17 15:58:28.000000000 +0100 @@ -1,12 +1,9 @@ %!PS-Adobe-3.0 -%cupsRotation: 270 -%Producer: xpdf/pdftops 3.01 -%%Creator: Adobe Illustrator 10 -%%Title: untitled +%%Creator: xpdf/pdftops 3.01 %%LanguageLevel: 2 %%DocumentSuppliedResources: (atend) -%%DocumentMedia: plain 595 842 0 () () -%%BoundingBox: 0 0 595 842 +%%DocumentMedia: plain 612 792 0 () () +%%BoundingBox: 0 0 612 792 %%Pages: 1 %%EndComments %%BeginDefaults @@ -615,14 +612,15 @@ /eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide /oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis] pdfMakeFont -595 842 false pdfSetup +612 792 false pdfSetup %%EndSetup %%Page: 1 1 %%BeginPageSetup -%%PageOrientation: Landscape +%%PageOrientation: Portrait pdfStartPage -180 rotate --718.5 -719 translate +90 rotate +0 -586.304 translate +0.9406 0.9406 scale 0 0 842 596 re W %%EndPageSetup [] 0 d @@ -637,6 +635,8 @@ [0] SC false op false OP +0 0 841.89 595.275 re +W q q 1 i Reported upstream. Created attachment 152890 [details]
cups-pdftops-landscape.patch
This patch rectifies the problem, but I'm not convinced it is correct.
Here is the diff between the final (i.e. after pdftops|pstops filters) output and a correct-looking result: --- strollingmap-ps.ps 2007-04-18 11:08:49.000000000 +0100 +++ strollingmap-working-ps.ps 2007-04-18 11:32:03.000000000 +0100 @@ -705,7 +705,7 @@ %%PageOrientation: Landscape pdfStartPage 180 rotate --718.5 -719 translate +-842 -586.304 translate 0 0 842 596 re W %%EndPageSetup [] 0 d *** Bug 236756 has been marked as a duplicate of this bug. *** Fixed in update: cups-1.2.10-7.fc6 |