Bounding box and gs
Joel Hammer
Joel
Mon May 17 11:42:43 PDT 2004
I am converting some html to ps to pdf (html2ps and ps2pdf). The html
contains images.
After html2ps, the postscript file looks right when viewed with gv. However,
when ps2pdf is run, which uses gs, the left margin is chopped off.
Looking at the postscript output, the bounding box has a negative value for
the left margin:
%%BoundingBox: -285 202 329 707
gv displays this file properly only when is used the bounding box, not letter size.
I can't see how to make gs use the bounding box.
So, is there an option which will force gs to use the BB, just like gv?
Or, can html2ps be forced to not use negative margins?
Changing the bounding box to 0 485 329 707 doesn't do any.
Any insight appreciated.
Thanks,
Joel
More information about the Linux-users
mailing list