[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Re: How to make EPS?

From: Tadziu Hoffmann
Subject: Re: [Groff] Re: How to make EPS?
Date: Wed, 18 Jan 2006 14:01:09 +0100
User-agent: Mutt/1.5.6i

> 1)  If small page size is set with -P-p2i,2i command-line
>     switch for groff, pdf file produced by gs from
>     the resulting eps file is not 2in x 2in, but full
>     letter-size page (see foo_small.eps, foo_small.pdf,
>     full_small.txt in the attached archive).

It usually *does* work, but you're turning that feature off
with "-P-b16".  Try this:

  groff -P-p2i,2i foo >
  gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=foo.pdf

Another thing to note is that setting the MediaBox in the
PDF-file from the BoundingBox in the PS-file using -dEPSCrop
appears to work only when the "EPSF"-signature is present in
the first line of the PS-file.
However, it does *not* work if the PS-file uses setpagedevice to
set the paper size, so in this case you *will* need the "-P-b16".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]