Ghostscriot fails to convert the referenced file using -sDEVICE=pngalpha. I tried a few other variants of png devices, like png16 & png265: they work. Hence I assume I look at a valid EPS file. AFAICT, the issue appeared in 9.54, is still present in 9.55. The file is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1000710;filename=hatch_.eps;msg=5 hille@sid:~/devel/TeXLive/git/asymptote/doc/png $ gs -dBATCH -dNOPAUSE -sDEVICE= pngalpha -sOutputFile=a.png hatch_.eps GPL Ghostscript 9.55.0 (2021-09-27) Copyright (C) 2021 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. Error: /rangecheck in --stroke-- Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_ pop 1988 1 3 %oparray_pop --nostringval-- 1977 1 3 %oparray_po p 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nos tringval-- fill (NULL) (gs_pattern1_instance_t) (pattern accumulator) 0 %pattern_paint_finish --nostringval-- Dictionary stack: --dict:764/1123(ro)(G)-- --dict:0/20(G)-- --dict:83/200(L)-- Current allocation mode is local Current file position is 2701 GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
(In reply to Hilmar Preuße from comment #0) > The file is here: > https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1000710; > filename=hatch_.eps;msg=5 You need to attach the file to our bug tracker. We need the files to be available to us in future, in case we need to research changes, if they are not hosted in our tracker then they can vanish. Please attach the file here.
Created attachment 21902 [details] Sample file
This appear to be fixed already, I will narrow down the relevant commit tomorrow.
This was fixed in this commit: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=d9d8db23e862707795e76ea8f8cdcf7434b2df65