summaryrefslogtreecommitdiff
path: root/support/bbfig/bbfig.man
blob: 68d049cc88e34f990218fa3c595543bc5efc58f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH BBFIG LOCAL
.SH NAME
bbfig \- calculate bounding boxes in PostScript
.SH SYNTAX
.B bbfig
[ file \&.\|.\|. ]
.SH USAGE
.I Bbfig
should be piped into
.I psprint
or the equivalant.
.SH DESCRIPTION
The concatenation of the list of files, or standard input
if no file names are supplied, is
assumed to be a PostScript program for which the bounding box is desired.
.I Bbfig
prepends code that
calculates the bounding box,
and places the result on standard output.
The actual
calculation is done in the PostScript printer; the output is
in the form of a dashed line demarcating the bounding box and
and the corresponding
.B %%BoundingBox
header line printed just below the box.
The
.B %%BoundingBox
line
should be added to the header of the PostScript file.
.SH BUGS
.I Bbfig
is known to be confused by images and clipping paths. If the box
around the figure clearly is not the minimal one, a ruler is the
best bet for calculating the correct box.  Remember that the
bounding box values are in PostScript points (72 to the inch)
relative to an origin at the lower left corner of the page, and
that (a,b) is the lower left hand corner of the bounding box, and
(c,d) is the upper right corner.
.SH Author
Ned Batchelder, modified by Bernie Cosell [cosell@bbn.com]
?>?