make in /usr/doc

Ceri Davies setantae at submonkey.net
Mon Nov 17 19:29:01 UTC 2003


On Tue, Nov 18, 2003 at 01:33:53AM +0900, Hiroki Sato wrote:
> Dmitry Morozovsky <marck at rinet.ru> wrote
>   in <20031109151006.G85714 at woozle.rinet.ru>:
> 
> marck> especially in situation where you can't have both version of gs without "dirty
> marck> magic"
> 
>  Try the attached patch.  This is for ${PREFIX}/bin/ps2epsi.
> 
> --- ps2epsi.orig	Tue Nov 18 01:28:54 2003
> +++ ps2epsi	Tue Nov 18 01:28:42 2003
> @@ -51,7 +51,7 @@
>  		}
>  	' U="$USERNAME$LOGNAME"  F=1 - F=2 "${infile}" >$tmpfile
>  
> -gs -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null $tmpfile ps2epsi.ps $tmpfile <"${infile}" 1>&2
> +gs -q -dNOPAUSE -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72 -sDEVICE=bit -sOutputFile=/dev/null $tmpfile ps2epsi.ps $tmpfile <"${infile}" 1>&2
>  rm -f $tmpfile
>  
>  (

Isn't that just a sneaky way of not exercising the A4 code, though? ;-)
(i.e., we still don't get A4 output, or am I misunderstanding what
-sPAPERSIZE=letter does?).

Ceri

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20031117/ef1c752c/attachment.sig>


More information about the freebsd-doc mailing list