Bug#951394: pstoedit fails with findfont error with gs 9.26
Package: ghostscript, pstoedit
Version: 9.26a~dfsg-0+deb9u6, 3.70-3+b2
Tags: upstream
Control: fixed -1 + 9.50~dfsg-5
Hi. Dear maintainers of ghsotscript and pstoedit,
Debian buster is affected by this bug:
https://sourceforge.net/p/pstoedit/support-requests/4/
I'm afraid I don't understand the details. It appears that DELAYBIND
is now deprecated with upstream. Everything works in bullseye. It is
broken in stretch. Perhaps surprisingly, the pstoedit -nb option does
not help.
I am filing this bug here mostly to help other users of pstoedit on
Debian. #880650 seems related but not identical.
Maybe it would be worth considering a backport of ghostscript 9.50 to
buster ?
Steps to reproduce:
$ cat <<'END' >test.ps
%!
/NimbusMonoPS-Bold findfont
50 scalefont
setfont
100 100 moveto
(C) show
zealot:play> PS1='$ '
END
$ pstoedit -f dump test.ps dump.ou
pstoedit: version 3.70 / DLL interface 108 (built: Oct 11 2016 - release build - g++ 6.2.1 20161215 - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz
Error: /undefined in /findfont
Operand stack:
NimbusMonoPS-Bold
Execution stack:
%interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 2044 1 3 %oparray_pop 2043 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 2044 1 3 %oparray_pop 2043 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1975 1 3 %oparray_pop
Dictionary stack:
--dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:321/450(L)--
Current allocation mode is local
Current file position is 31
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 256 executed command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinZUL0CV"
The interpreter seems to have failed, cannot proceed !
$
--
Ian Jackson <ijackson@chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
Reply to: