--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gs crashes on presumably correct PDF with embedded fonts
- From: Greg Kochanski <gpk@kochanski.org>
- Date: Tue, 25 Jan 2005 13:01:27 +0000
- Message-id: <E1CtQJz-0001bt-PK@gpk.wftp.org>
Package: gs
Version: 8.01-5
Severity: normal
The file at http://kochanski.org/tmp/bug.pdf was created
by a recent binary of PDFCreator (running on Windows 98)
(http://sourceforge.net/projects/pdfcreator/).
It displays on xpdf on a current Debian Linux (testing branch),
but gs (and ggv and gv and ps2pdf) fail to process it.
Either the file is correct, in which case there is a bug in gs,
or the file is not good ps, in which case this should be a
wishlist item for better error messages.
The file has embedded fonts:
$ pdffonts bug.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
Courier Type 1 no no no 8 0
Times-Roman Type 1 no no no 7 0
LYBKVP+MSTT31a95e8d72tS00 TrueType yes yes no 10 0
$
gs complains rather noisily, but not in a way calculated to
be very informative:
$ gs bug.pdf
ESP Ghostscript 7.07 (2003-07-12)
Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Loading NimbusRomNo9L-Regu font from /var/lib/defoma/gs.d/dirs/fonts/n021003l.pfb... 2190120 789469 1682900 379902 2 done.
Substituting espgsMissingChar for F
Error: /undefined in --get--
Operand stack:
--dict:6/6(L)-- --dict:13/17(ro)(L)-- 1 space --dict:1/1(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 --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- %array_continue %finish_show --nostringval-- --nostringval-- 8 11 1 --nostringval-- (gs_show_enum) %op_show_continue --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1052/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:19/24(L)-- --dict:4/6(L)-- --dict:19/20(L)-- --dict:5/8(L)-- --dict:7/8(L)-- --dict:13/17(ro)(L)--
Current allocation mode is local
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
$
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gs depends on:
ii gs-gpl 8.01-5 The GPL Ghostscript PostScript int
-- no debconf information
--- End Message ---