Bug#4940: /usr/bin/ps2epsi fails
Package: gs
Version: 4.01-4
Maintainer: joost witteveen <joostje@debian.org>
/usr/bin/ps2epsi does not produce a valid .epsi file. It appears that
gs dies and dumps core during the call to gs in that script. As an
example, I will use the file a.ps that is used in the documentation
for the LaTeX graphics bundle. (Use
latex /usr/lib/texmf/doc/latex/graphics/grfguide.tex
if you want to create your own copy.)
bash$ uname -a
Linux franz 2.0.22 #2 Thu Oct 17 17:16:26 CDT 1996 i686
bash$ cat a.ps
%!
%%BoundingBox:100 100 172 172
100 100 moveto
72 72 rlineto
72 neg 0 rlineto
72 72 neg rlineto
stroke
100 100 moveto
/Times-Roman findfont
72 scalefont
setfont
(A) show
showpage
bash$ ls -l core
ls: core: No such file or directory
bash$ type -a ps2epsi
ps2epsi is /usr/bin/ps2epsi
bash$ ps2epsi a.ps a.epsi
bash$ ls -l core
- -rw------- 1 bates bates 258048 Oct 24 14:45 core
bash$ file core
core: ELF 32-bit LSB core file of 'üÿ¿' (signal 4096), Intel 80386, version 1, stripped
bash$ cat a.epsi # incomplete - does not contain preview image
save
countdictstack
mark
newpath
/showpage {} def
%%EndProlog
%%Page 1 1
%!
%%BoundingBox:100 100 172 172
100 100 moveto
72 72 rlineto
72 neg 0 rlineto
72 72 neg rlineto
stroke
100 100 moveto
/Times-Roman findfont
72 scalefont
setfont
(A) show
showpage
%%Trailer
cleartomark
countdictstack exch sub { end } repeat
restore
%%EOF
------- end -------
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: