FS#69554 - [ghostscript] ps2epsi doesn't work without ps2epsi.ps in the same directory
Attached to Project:
Arch Linux
Opened by Vladimir (_v_l) - Saturday, 06 February 2021, 08:25 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 07 February 2021, 20:46 GMT
Opened by Vladimir (_v_l) - Saturday, 06 February 2021, 08:25 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 07 February 2021, 20:46 GMT
|
Details
Description: ps2epsi script (/usr/bin/ps2epsi) doesn't work
if there is no ps2epsi.ps in the same directory. This is
from ps2epsi:
# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi' Currently ps2epsi fails with following: Error: /undefinedfilename in (/usr/bin/ps2epsi.ps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:732/1123(ro)(G)-- --dict:0/20(G)-- --dict:76/200(L)-- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1 This is due to how ps2epsi calls ps2epsi.ps. There is commit in upstream: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c6166768c6e963b0fe28ccdb266629443e521381 to fix (I hope, I didn't check) this behaviour. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 07 February 2021, 20:46 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied.
Sunday, 07 February 2021, 20:46 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied.
There might be a problem with transparency if one use it in EPS file but this is known issue with recent ghostscript and should be fixed in other tools.