[gs-cvs] rev 8821 - tests/pdf

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Jul 4 15:32:45 PDT 2008


Author: alexcher
Date: 2008-07-04 15:32:45 -0700 (Fri, 04 Jul 2008)
New Revision: 8821

Added:
   tests/pdf/zero-length-font.pdf
Log:
Add a PDF file similar to the sample file of the bug 689936 that has 0-length
embedded font stream. Prior to the rev. 8820 Ghostscript was unable to repair
this error.


Added: tests/pdf/zero-length-font.pdf
===================================================================
--- tests/pdf/zero-length-font.pdf	2008-07-04 20:35:41 UTC (rev 8820)
+++ tests/pdf/zero-length-font.pdf	2008-07-04 22:32:45 UTC (rev 8821)
@@ -0,0 +1,201 @@
+%PDF-1.4
+%çóÏÓ
+1 0 obj
+<</Type /Catalog
+/Pages 2 0 R
+>>
+endobj
+3 0 obj
+<</CreationDate (D:20080704163905-04'00')
+/Producer (Hand-made invalid PDF file)
+/ModDate (D:20080704163905-04'00')
+>>
+endobj
+2 0 obj
+<</Type /Pages
+/Kids [ 4 0 R
+]
+/Count 1
+>>
+endobj
+4 0 obj
+<</Type /Page
+/Resources <</Font 5 0 R
+/ExtGState 6 0 R
+/ProcSet [ /PDF
+/Text
+]
+>>
+/MediaBox [ 0
+0
+612
+792
+]
+/Rotate 0
+/Contents 7 0 R
+/Parent 2 0 R
+>>
+endobj
+7 0 obj
+<</Length 106
+>>stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+0 G
+0 g
+q
+10 0 0 10 0 0 cm BT
+/R8 30 Tf
+1 0 0 1 200 300 Tm
+(Test...)Tj
+ET
+Q
+Q
+endstream
+endobj
+6 0 obj
+<</R7 8 0 R
+>>
+endobj
+8 0 obj
+<</Type /ExtGState
+/OPM 1
+>>
+endobj
+5 0 obj
+<</R8 9 0 R
+>>
+endobj
+9 0 obj
+<</BaseFont /QMVTGO+Helvetica
+/FirstChar 46
+/LastChar 116
+/FontDescriptor 10 0 R
+/Subtype /Type1
+/Encoding /WinAnsiEncoding
+/Type /Font
+/Widths [ 278
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+611
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+556
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+500
+278
+]
+>>
+endobj
+10 0 obj
+<</Flags 131104
+/Ascent 729
+/FontName /QMVTGO+Helvetica
+/Descent -23
+/FontBBox [ 0
+-23
+593
+729
+]
+/Type /FontDescriptor
+/FontFile3 11 0 R
+/XHeight 539
+/CharSet (/T/e/period/s/t)
+/CapHeight 729
+/MissingWidth 278
+/StemV 88
+/ItalicAngle 0
+>>
+endobj
+11 0 obj
+<</Subtype /Type1
+/Length 0
+>>stream
+endstream
+endobj
+xref
+0 12
+0000000000 65535 f 
+0000000015 00000 n 
+0000000197 00000 n 
+0000000063 00000 n 
+0000000255 00000 n 
+0000000650 00000 n 
+0000000576 00000 n 
+0000000422 00000 n 
+0000000606 00000 n 
+0000000680 00000 n 
+0000000998 00000 n 
+0000001252 00000 n 
+trailer
+<</Root 1 0 R
+/Size 12
+/ID [ (\f\232Lz\242B\f\331\325a\210\223\333\033\t\354)
+(\f\232Lz\242B\f\331\325a\210\223\333\033\t\354)
+]
+/Info 3 0 R
+>>
+startxref
+1315
+%%EOF


Property changes on: tests/pdf/zero-length-font.pdf
___________________________________________________________________
Name: svn:executable
   + *



More information about the gs-cvs mailing list