I have just notice something strange. If in the test file example2.ps I remove the line that says "%!PS-Adobe-2.0", the bug appears again: the file (see example3.ps attached) is recognized as PostScript, but the bounding box is wrong:
> ghostscript -sDEVICE=bbox -dNOPAUSE -dBATCH example3.ps GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02) Copyright (C) 2007 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. %%BoundingBox: 0 0 0 0 %%HiResBoundingBox: 0.000000 0.000000 0.000000 0.000000 ** Attachment added: "example3.ps" http://launchpadlibrarian.net/10529628/example3.ps -- ghostscript's bbox driver gives wrong result https://bugs.launchpad.net/bugs/160203 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs