pdf2ps seems to get bounding box wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GS-GPL |
Fix Released
|
Medium
|
|||
ghostscript (Ubuntu) |
Fix Released
|
High
|
Till Kamppeter |
Bug Description
(Using Ubuntu Precise 12.04 LTS on a Thinkpad X220)
The attached PDF, when viewed in evince, says in the Properties:
Paper Size: 496x437mm
That is correct.
When I convert it to PS using:
pdf2ps frame_base.pdf
and then view the PS file in a text editor, it says at the start:
%%BoundingBox: 0 0 595 842
I believe this is measured in points, where 1cm is 28 points, so this translates to 212mm x 301mm. Which is not the same.
This is a problem because the "poster" program uses this info to try and work out how best to split it up into sheets for a poster, and one gets very weird results. I tried reporting this bug at bugs.ghostscrip
Gerv
---
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
Lpstat:
device for Canon-MP530: usb://Canon/
device for ML-2855: usb://Samsung/
device for Officejet-
device for Officejet-
MachineType: LENOVO 4287CTO
Package: ghostscript 9.05~dfsg-
PackageArchitec
Papersize: a4
PpdFiles:
Canon-MP530: Canon PIXMA MP530 - CUPS+Gutenprint v5.2.8-pre1
Officejet-
ML-2855: Samsung ML-2851ND Foomatic/Postscript (recommended)
Officejet-
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: precise running-unity
Uname: Linux 3.2.0-27-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo www-data
dmi.bios.date: 10/18/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET54WW (1.24 )
dmi.board.
dmi.board.name: 4287CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4287CTO
dmi.product.
dmi.sys.vendor: LENOVO
Related branches
Changed in gs-gpl: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal: /wiki.ubuntu. com/ReportingBu gs.
apport-collect 1035667
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/