John Coppens wrote:

> Hi all.
> 
> I've spent a good while experimenting with EPS figures. I wrote a program
> using GnomePrint, which produces PS files. These seem to include a few
> commands which do not allow using the bounding box. I've noticed many
> threads on the EPS theme, but have not been able to find a solution
> (including none of the various preamble tricks worked). I've installed gs
> 8.01, as the previous version segfaulted with ps2epsi. Tests done
> include:

{...}
 
> In many combinations I found that gv showed the image correctly bounded to
> the image, and in some cases even LyX showed the image clipped correctly.

You know that gv shows the whole paper sheet if %%DocumentMedia: is defined?
You have to select BBox if you want to see only the contents of the
bounding box. lyx seems to follow this rule, too (this is IMHO a bug, since
the printed output obeys the bounding box). If you don't want that, remove
%%DocumentMedia:. (I would not care too much, since the output is ok in
both cases)

> In all cases though, the resulting PDF included all the white space above
> the image, pushing image down, half out of the page, ignoring the bounding
> box.

It does not ignore the bounding box. Your bounding box does include all the
whitespace. If you change

%%BoundingBox: 0 0 596 842

to

%%BoundingBox: 0 0 454 454

everything is fine. I got that value by using pstops, for some reason my
ps2epsi cannot convert the file.


Georg

Reply via email to