Summary: | Bounding Box calculations incorrect for ymax in 9.27 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Paul Wessel <pwessel> |
Component: | General | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | 9.27 | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | Minimal pure PostScript file of box with title |
*** This bug has been marked as a duplicate of bug 700952 *** |
Created attachment 17662 [details] Minimal pure PostScript file of box with title Version gs 9.27 appears to have introduced a new BoundingBox error. The minimal PostScript file bug.ps (attached) draws a box with a title. DEVICE=bbox yields a bounding box that clips most of the title. In 9.26 we get this correct result: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox bug.ps %%BoundingBox: 71 71 361 385 %%HiResBoundingBox: 71.278803 71.278803 360.721184 384.173988 In 9.27 we instead get this result: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox bug.ps %%BoundingBox: 71 71 361 377 %%HiResBoundingBox: 71.278803 71.278803 360.721184 376.541989 As you can see, the ymax value is too small and clipping of the title occurs.