Bounding boxes

XTo properly translate and scale a figure psfig must know its `natural' Xposition on the page; this information is present Xin what is called the bounding box of a PostScript program. The Xbounding box is a outer limit to the marks created by a program, Xand is specified as four coordinates of a rectangle: the lower-left x coordinate X(bbllx), the lower-left y coordinate (bblly), the upper-right Xx coordinate (bburx), and the upper-right y coordinate (bbury). XAdobe has defined a convention whereby the bounding box of a program Xis contained in a `bounding box comment'. X2XThis comment, which must be present in any file to be used as a psfig figure, Xis a line of the form X
X%%BoundingBox: bbllx bblly bburx bbury X
XAll values are in PostScript points, relative to the default Xtransformation matrix. The only mandatory PostScript convention is Xthat the first line of the file should begin with the characters X`%!' (a `%' begins a comment in PostScript.) A good place for the Xbounding box comment is as the second line of the file. X

XThere is a bbfig utility on systems to aid in calculating Xthe bounding box, refer to the bbfig(l) manual page for further information. X