[gs-bugs] [Bug 689972] New: Regression: Ghostsript can't read
Ghostscript produced pdf file (file Bug689516.pdf)
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Jul 15 15:48:52 PDT 2008
http://bugs.ghostscript.com/show_bug.cgi?id=689972
Summary: Regression: Ghostsript can't read Ghostscript produced
pdf file (file Bug689516.pdf)
Product: Ghostscript
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: PDF Interpreter
AssignedTo: alex.cherepanov at artifex.com
ReportedBy: marcos.woehrmann at artifex.com
QAContact: gs-bugs at ghostscript.com
The attached PDF file, when written to a PDF by Ghostscript using the pdfwrite
device, can't be read by Ghostscript. Acrobat Reader 8.0 reads the resulting
PDF file without error, so I assume the problem is in the PDF Interpreter and
not pdfwrite. I've tested this with gshead (r8842), gs8.62 and earlier produce
an "/invalidfont in --run--" error during the pdfwrite step.
BTW, I may have entered a duplicate bug for this issue earlier, but I can't find
it.
I'm using this following command line for testing:
bin/gs -sDEVICE=pdfwrite -o test.pdf ./Bug689516.pdf
bin/gs -sDEVICE=ppmraw -o test.ppm ./test.pdf
With -sPDFDEBUG Ghostscript produces the following while reading test.pdf:
.
.
.
%Resolving: [38 0]
%Resolving: [27 0]
<<
/BaseFont /RYGZUL+80000006 /FontDescriptor 28 0 R
/Type /Font /FirstChar 32 /LastChar 54 /Widths [
278 556 667 556 556 500 556 500 1015 556 191 333 556 355 556 556 737 556 667 222
333 500 500 ]
/Encoding 58 0 R
/Subtype /TrueType >>
endobj
%Resolving: [28 0]
<<
/Type /FontDescriptor /FontName /RYGZUL+80000006 /FontBBox [
-9 -210 992 729 ]
/Flags 131076 /Ascent 729 /CapHeight 728 /Descent -210 /ItalicAngle 0 /StemV 148
/MissingWidth 750 /XHeight 728 /FontFile2 48 0 R
>>
endobj
%Resolving: [48 0]
<<
/Filter /FlateDecode /Length1 15388 /Length 9570 >>
stream
%FilePosition: 461818
endobj
%Resolving: [28 0]
%Resolving: [58 0]
<<
/Type /Encoding /BaseEncoding /WinAnsiEncoding /Differences [
33 /one /S /p /a /c /e /s /at /nine /quotesingle /hyphen /zero /quotedbl /three
/two /copyright /seven /K /i /r /k /y ]
>>
endobj
Error: /rangecheck in --run--
Operand stack:
--nostringval-- --dict:8/17(L)-- R27 9.6 FontObject
--dict:9/18(L)-- --dict:9/18(L)-- 268358 --dict:9/18(L)-- --n
ostringval-- false (\000\003\000\001)
(\000\272\001-\001\214\002\022\002\236\002\350\003\200\004t\005\017\005\316\006\200\006\36
3\007\213\b9\t\b\t\274\nT\013\020\013\203\fM\000\000\000\002\000\001\000\000\000\000\000\024\000\003\000\000\000\000\001\032\000\000\0
01\006\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\000\000\003\b\017\025\020\021\022\027\r\f\005\006\007\004\n\t\031\013\016\023\026\024\030\000\000\000\000\000\000\000\000\000\000\000
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\000...)
(\000\272\001-\001\214\002\022\002\236\002\350\003\200\004t\005\017\005\316\006\200\006\363\007\213\b9\t\b\t\274\nT\013\020
\013\203\fM\000\000\000\002\000\001\000\000\000\000\000\024\000\003\000\000\000\000\001\032\000\000\001\006\000\000\000\000\000\000\00
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\003\b\017\025\020\021\02
2\027\r\f\005\006\007\004\n\t\031\013\016\023\026\024\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)
356 8
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringva
l-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop
1904 1 3 %oparray_pop 1888 1 3 %oparra
y_pop --nostringval-- --nostringval-- 2 1 1 --nostringval--
%for_pos_int_continue --nostringval-- --nostringval--
--nostringval-- --nostringval-- %array_continue --nostringval-- false
1 %stopped_push --nostringval-- %loop_continue
--nostringval-- --nostringval-- --nostringval-- --nostringval--
--nostringval-- --nostringval-- --nostringval-- --nostr
ingval-- --nostringval-- 45 1 300 --nostringval--
%for_pos_int_continue --nostringval--
Dictionary stack:
--dict:1148/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)--
--dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:275/300(r
o)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:21/40(L)--
--dict:5/8(L)-- --dict:8/8(L)-- --dict:40/50(ro)(G)-- --dict
:26/40(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript SVN PRE-RELEASE 8.63: Unrecoverable error, exit code 1
marcos at amd64:[309]%
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list