[gs-bugs] [Bug 691467] New: Serious bug in bbox output duplication

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 16 18:02:29 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691467

           Summary: Serious bug in bbox output duplication
           Product: Ghostscript
           Version: 8.64
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Other Driver
        AssignedTo: support at artifex.com
        ReportedBy: jegonzal at cs.cmu.edu
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


Run the following command:
  ghostscript -sDEVICE=bbox -dBATCH -dNOPAUSE anypdf.pdf

will generate:


GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 0 0 650 213
%%BoundingBox: 0 0 650 213
%%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994
%%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994

With duplicated %%BoundingBox and %%HiResBoundingBox.  This error breaks the
very popular pdfcrop script.  Output should have been:

GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 0 0 650 213
%%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list