Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #361
| From | Helge Blischke <h.blischke@acm.org> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: What is wrong with tiger.ps |
| Followup-To | comp.lang.postscript |
| Date | 2011-09-27 22:28 +0200 |
| Message-ID | <9eepvjFstmU1@mid.individual.net> (permalink) |
| References | <5q048716aaop687rj90g6epr5f1c28udj8@4ax.com> |
Followups directed to: comp.lang.postscript
Norbert Hahn wrote: > Hi, > > when I run gs to get the BoundingBox > > gs -sDEVICE=bbox /usr/share/ghostscript/7.07/examples/tiger.ps > > I get a very large square box: > > %%BoundingBox: 0 0 150977 150977 > %%HiResBoundingBox: 0.000000 0.000000 150976.921393 150976.921393 > > The tiger is more than 20 years old and comes with ghostscript. > What am I missing? > > Norbert Well, the first statement which produces marks on the medium is .8 setgray clippath fill but at this time no media size is specified. So the clippath operator results in a huge rectaqngle; the actual size is presumably determined by some internal Ghostscript default. To demonstrate: gs -r18 -sPAPERSIZE=a0 tiger.ps displays an A0 page on the screen completely filled with the light gray and the tiger in the lower left corner. Helge
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
What is wrong with tiger.ps Norbert Hahn <ihatespam@nospam.invalid> - 2011-09-27 19:13 +0200
Re: What is wrong with tiger.ps Helge Blischke <h.blischke@acm.org> - 2011-09-27 22:28 +0200
Re: What is wrong with tiger.ps SaGS <sags5495@gmail.com> - 2011-09-28 01:42 -0700
Re: What is wrong with tiger.ps Norbert Hahn <ihatespam@nospam.invalid> - 2011-09-28 15:50 +0200
csiph-web