Re: gs/gs-aladin, (e)pswrite and setlinewidth
On Mon, Aug 23, 1999 at 01:03:59PM +0200, Clemens Heuberger wrote:
>
> I have the following problem: I have a postscript-file which draws to
> lines, a thin one and a thick one:
>
> thue:~/test $cat simple.ps
> %!
> newpath 0 20 moveto 100 0 rlineto stroke
> newpath 0 50 moveto 100 0 rlineto 10 setlinewidth stroke
> showpage
>
> I would like to have it rewritten as a eps-File (Of course, I could do
> this myself in this small example, but actually, I have a much bigger
> file which contains output from latex+psfrag and all kind of things which
> I want to get rid of), so I use epswrite:
>
> thue:~/test $gs -sDEVICE=epswrite -sOutputFile=simple.eps -dBATCH -dNOPAUSE simple.ps
> GNU Ghostscript 5.10 (1998-12-17)
> Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
> This software comes with NO WARRANTY: see the file COPYING for details.
>
> In the result, the thick line has become thin.
> (I am using gs on slink; I also tried gs-aladin from slink and potato,
> same effect ...)
>
> Any thoughts?
Tried it. Same result. Then tried
ps2epsi simple.ps simple.eps
This seems to work OK, it is also in the gs package in slink. It looks
like a bug in the epswrite device of gs, worth of reporting.
HTH,
Eric
--
E.L. Meijer (tgakem@chem.tue.nl)
Eindhoven Univ. of Technology
Lab. for Catalysis and Inorg. Chem. (SKA)
Reply to: