diff options
author | wlemb <wlemb> | 2003-08-05 05:11:46 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-08-05 05:11:46 +0000 |
commit | d5ac5ca00485d1284aa9bd4b3f08932bf2e11f26 (patch) | |
tree | 40d1a164e048831af4746d66a401018be2a96783 /src | |
parent | c6eb063930ac417b5ec5245ba513d8dcb906147c (diff) | |
download | groff-d5ac5ca00485d1284aa9bd4b3f08932bf2e11f26.tar.gz |
* NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
EPS (using eps2eps or similar programs to compute the bounding box).
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/grops/grops.man | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/devices/grops/grops.man b/src/devices/grops/grops.man index 7596864d..84bf9fa4 100644 --- a/src/devices/grops/grops.man +++ b/src/devices/grops/grops.man @@ -187,6 +187,9 @@ PostScript command). This was the behaviour of groff version 1.18.1 and earlier; it is needed for older printers which don't understand PostScript LanguageLevel\~2. . +It is also necessary if the output is further processed to get an +encapsulated PS (EPS) file -- see below. +. .IP The default value can be specified by a . @@ -1005,6 +1008,37 @@ comments) should be used. . . +.SS Encapsulated PostScript +.B grops +itself doesn't emit bounding box information. +. +With the help of the +.BR eps2eps (1) +script which is part of GhostScript +the following commands will produce an encapsulated PS file +.B foo.eps +from input file +.BR foo : +. +.IP +.B +groff -P-b16 foo > foo.ps +.br +.B +eps2eps foo.ps foo.tmp +.br +.B +grep %%BoundingBox foo.tmp > foo.bbx +.br +.B +cat foo.ps | sed \-e '/%%Orientation/rfoo.bbx' > foo.eps +.br +.B +rm foo.tmp foo.bbx +.br +. +. +. .SS TrueType fonts TrueType fonts can be used with .B grops |