If you have Ghostscript 6.0 (or later), you can use a perl script
that will automatically find the bounding box
and correct the postscript file (or add the info if there is none).
The script is
</~ntg/scripts/bbox_add.pl>
Be sure to make it executable:
chmod +x bbox_add.pl
To see the options and the defaults,
bbox_add.pl --help
Here is what the "help" says at present:
The script bbox_add.pl adds a tight bounding box to postscript files.
It uses gs with the bbox option.
The only mandatory command-line arguments are the names of the files
to be processed. Wildcards are allowed (e.g. *.tex will process all
of the TeX files.)
The options are
--help print this help
--version version number
--keep keep original file, with ".orig" appended to name
--padding=i add an "i" point border around box (default is 3)
2001-Sep-07 4:59pm furnstahl.1@osu.edu |