Summary: | BoundingBox/MediaSize info initialized too late in pxlcolor | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Hin-Tak Leung <htl10> |
Component: | Vectors | Assignee: | Hin-Tak Leung <htl10> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | christinedelight.top85, sphinx.pinastri |
Priority: | P4 | Keywords: | bountiable |
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | Sample file |
Description
Hin-Tak Leung
2009-11-22 18:59:17 UTC
While looking at this, I wonder why the DSC info is not used for setting the device width/height at all. The PS file concerned have DSC PageBoundingBox, and also does a (clip?) path early on in postscript code. There is a 'fillpage' procedure that may be a better place to issue the 'BeginPage'. Thanks for the tips - I'll give it a try. Created attachment 20614 [details]
Sample file
This problem still occurs in the current version.
gs -sDEVICE=pxlcolor -o a.pxl a.ps
generates empty Letter-sized file instead of 1000x1000 point page with a black square.
|