Summary: | device epswrite sometimes sets too small a bounding box | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | David Kinniburgh <davidgkinniburgh> |
Component: | PS Writer | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | NOTIFIED INVALID | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.61 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | Word Size: | --- |
Description
David Kinniburgh
2007-12-30 03:11:01 UTC
Ghostscript does NOT use the 'bbox' device to determine the BoundingBox with epswrite, but rather determines the non-white area from the page after it is rendered. This PostScript program is flawed because it expects an A4 page, but does nothing to set the pagesize. Perhaps GSView is setting a different default page size, or is performing a pre-process 'bbox' pass on the input file. Ghostscript is working as expected, and is working the same as Adobe CPSI on this substandard input file (that expects a certain page size, but does not set it). This file works fine with: gswin32 -sPAPERSIZE=a4 -sDEVICE=epswrite -q -dBATCH -dNOPAUSE -sOutputFile=out.eps bad.ps |