Bug #939494 can be fixed by the following patch to xdvik-ja. --- xdvik-ja-22.87.03+j1.42/texk/xdvik/psgs.c.orig 2016-07-14 20:54:54.000000000 +0900 +++ xdvik-ja-22.87.03+j1.42/texk/xdvik/psgs.c 2019-09-09 02:53:38.931370029 +0900 @@ -561,6 +561,11 @@ ">> setuserparams .locksafe " "} stopped pop\n"; static const char str1[] = + "/execute { " + " stopped $error /newerror get and " + " {/handleerror .systemvar exec flush //true} " + " {//false} ifelse pop " + "} bind def " "/xdvi$run {$error /newerror false put {currentfile cvx execute} stopped pop} " "def " "/xdvi$ack (\347\310\376) def "
The cause of this bug is that gs9.27 has removed a command 'execute' which xdvi uses to display EPS. It exists in gs9.26, so the combination of xdvik-ja and gs9.26 does not have this bug. So, restoring this command can fix this bug. Thus, another solution of this bug is to apply the following patch to gs9.27. --- ghostscript-9.27~dfsg/Resource/Init/gs_init.ps.orig 2019-04-04 16:41:50.000000000 +0900 +++ ghostscript-9.27~dfsg/Resource/Init/gs_init.ps 2019-09-09 04:02:00.870141856 +0900 @@ -531,6 +531,9 @@ cvx { .runexec } //.execute exec pop } loop } bind def +/execute { % <obj> execute - + //.execute exec pop +} bind def currentdict /.execute .undef /filter