[gs-bugs] [Bug 689936] New: Error on page 8 of PDF

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Fri Jul 4 09:47:00 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=689936

           Summary: Error on page 8 of PDF
           Product: Ghostscript
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: PDF Interpreter
        AssignedTo: alex.cherepanov at artifex.com
        ReportedBy: ray.johnston at artifex.com
         QAContact: gs-bugs at ghostscript.com


This file has a problem, but it causes GS to exit with an error.

The FontFile2 for an embedded TrueType font is a zero length stream. Examination
with a hex editor shows that at the file offset is 'endstream' then 'endobj'
(for object 439). We don't handle this gracefully.

PDFDEBUG output shows:

%Resolving: [437 0]
<<
/Type /Font /Subtype /TrueType /BaseFont /NOTFVW+Palatino-Roman /Name /Rx201
/FirstChar 0 /LastChar 255 /Widths 442 0 R
/Encoding 441 0 R
/FontDescriptor 438 0 R
>>
endobj
%Resolving: [438 0]
<<
/Type /FontDescriptor /FontName /NOTFVW+Palatino-Roman /FontBBox [
-227 -278 1089 920 ]
/Flags 32 /Ascent 732 /Descent -7717 /Leading 1000 /CapHeight 732 /XHeight 0
/AvgWidth 508 /MaxWidth 1143 /MissingWidth 0 /ItalicAngle 0 /StemV 73 /StemH 0
/FontFile2 439 0 R
>>
endobj
%Resolving: [439 0]
<<
/Length 440 0 R
/Filter [
/FlateDecode ]
>>
stream
%Resolving: [440 0]
0 endobj
%FilePosition: 198735



------- 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