Bug#406784: gs-esp: Fails with error on given PDF
Package: gs-esp
Version: 8.15.3.dfsg.1-1
Severity: normal
When using gs-esp, the file available at:
http://foia.state.gov/FORMS/Passport/ds0082.pdf
(US Dept of State Passport application renewal form)
renders, but does not print correctly when viewed in gv,xpdf or kpdf. I
traced the bug to ESP Ghostscript, which returns the following error
when processing page 2:
[begin quote]
Substituting espgsMissingChar for space in the font
BKNKHM+Arial-BoldItalicMT
ERROR: /undefined in --get--
Operand stack:
--dict:7/7(L)-- --dict:12/13(ro)(L)-- 32 space
--dict:17/17(L)-- space
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
%--nostringval-- 2 %stopped_push --nostringval--
%--nostringval-- --nostringval-- false 1 %stopped_push 1
%3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
%--nostringval-- --nostringval-- 3 1 6 --nostringval--
%%for_pos_int_continue --nostringval-- --nostringval--
%--nostringval-- --nostringval-- %array_continue
%--nostringval-- false 1 %stopped_push --nostringval--
%%loop_continue --nostringval-- %finish_show --nostringval--
%--nostringval-- 8 9 1 --nostringval-- (gs_show_enum)
%%op_show_continue --nostringval--
Dictionary stack:
--dict:1121/1686(ro)(G)-- --dict:0/20(G)--
--dict:107/200(L)-- --dict:107/200(L)--
--dict:104/127(ro)(G)-- --dict:241/347(ro)(G)--
--dict:21/24(L)-- --dict:4/6(L)-- --dict:27/32(L)--
--dict:12/13(ro)(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.03: Unrecoverable error, exit code 1
[end quote]
The same file processed with gs-gpl returns the following message on
page 2:
[begin quote]
Substituting .notdef for space in the font BKNKHM+Arial-BoldItalicMT
[end quote]
but does not terminate on an unrecoverable error.
Also, if I am using a viewer (gv, xpdf, kpdf) and press "print", if the alternative "gs" is set to gs-gpl, all 6 pages of the file will print, if it's set to, gs-esp only page 1 will print.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages gs-esp depends on:
ii gs-common 0.3.11 Common files for different Ghostsc
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libcupsimage2 1.2.7-2 Common UNIX Printing System(tm) -
ii libcupsys2 1.2.7-2 Common UNIX Printing System(tm) -
ii libfontconfig1 2.4.2-1 generic font configuration library
ii libgnutls13 1.4.4-3 the GNU TLS library - runtime libr
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libpaper1 1.1.21 Library for handling paper charact
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libtiff4 3.8.2-6 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.0.3-4 X11 client-side library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages gs-esp recommends:
ii gsfonts 1:8.11+urwcyr1.0.7~pre41-1 Fonts for the Ghostscript interpre
ii psfontmgr 0.11.10 PostScript font manager -- part of
-- no debconf information
Reply to: