[gs-cvs] rev 8309 - tests/pdf
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Oct 20 16:31:00 PDT 2007
Author: alexcher
Date: 2007-10-20 16:31:00 -0700 (Sat, 20 Oct 2007)
New Revision: 8309
Added:
tests/pdf/pattern_with_extra_q.pdf
Log:
Add a pdf file that has extra q operator in the pattern stream. Although the
file is incorrect, Acrobat Reader 5 and higher silently ignore the error.
The file is modelled after a sample file from the bug 689523 created by
"Corel PDF Engine Version 2.0.0.549".
Added: tests/pdf/pattern_with_extra_q.pdf
===================================================================
--- tests/pdf/pattern_with_extra_q.pdf 2007-10-20 23:14:30 UTC (rev 8308)
+++ tests/pdf/pattern_with_extra_q.pdf 2007-10-20 23:31:00 UTC (rev 8309)
@@ -0,0 +1,154 @@
+%PDF-1.4
+%çóÏÓ
+1 0 obj
+<</Type /Catalog
+/Pages 2 0 R
+>>
+endobj
+3 0 obj
+<</Producer (Hand-made file with extra q in the pattern.)
+>>
+endobj
+2 0 obj
+<</Count 1
+/Kids [ 4 0 R
+]
+/Type /Pages
+>>
+endobj
+4 0 obj
+<</Resources <</ProcSet [ /PDF
+]
+/Pattern 5 0 R
+/ColorSpace 6 0 R
+/ExtGState 7 0 R
+>>
+/MediaBox [ 0
+0
+612
+792
+]
+/Type /Page
+/Parent 2 0 R
+/Contents 8 0 R
+>>
+endobj
+8 0 obj
+<</Length 9 0 R
+>>stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+0.900391 g
+1400 1100 1700 1000 re f
+/R9 cs 1/R8 scn
+1400 1100 1700 1000 re f
+/R9 cs 0/R8 scn
+2850 1850 m
+2850 2181.37 2581.37 2450 2250 2450 c
+1918.63 2450 1650 2181.37 1650 1850 c
+1650 1518.63 1918.63 1250 2250 1250 c
+2581.37 1250 2850 1518.63 2850 1850 c
+f
+10 w
+0 G
+2850 1850 m
+2850 2181.37 2581.37 2450 2250 2450 c
+1918.63 2450 1650 2181.37 1650 1850 c
+1650 1518.63 1918.63 1250 2250 1250 c
+2581.37 1250 2850 1518.63 2850 1850 c
+S
+Q
+
+endstream
+endobj
+9 0 obj
+464
+endobj
+7 0 obj
+<</R7 10 0 R
+>>
+endobj
+10 0 obj
+<</OPM 1
+/Type /ExtGState
+>>
+endobj
+6 0 obj
+<</R9 11 0 R
+>>
+endobj
+11 0 obj
+[ /Pattern
+/DeviceGray
+]
+endobj
+5 0 obj
+<</R8 12 0 R
+>>
+endobj
+12 0 obj
+<</Resources <</ProcSet [ /PDF
+]
+>>
+/Length 13 0 R
+/Type /Pattern
+/BBox [ -12
+-12
+12
+12
+]
+/XStep 30
+/PatternType 1
+/PaintType 2
+/Matrix [ 1
+0
+0
+1
+0
+0
+]
+/TilingType 1
+/YStep 30
+>>stream
+q
+-12 -12 24 24 re W n
+0 12 m
+-7.05469 -9.70703 l
+11.4141 3.70703 l
+-11.4141 3.70703 l
+7.05469 -9.70703 l
+f
+
+
+endstream
+endobj
+13 0 obj
+110
+endobj
+xref
+0 14
+0000000000 65535 f
+0000000015 00000 n
+0000000139 00000 n
+0000000063 00000 n
+0000000197 00000 n
+0000001051 00000 n
+0000000979 00000 n
+0000000903 00000 n
+0000000369 00000 n
+0000000884 00000 n
+0000000934 00000 n
+0000001010 00000 n
+0000001082 00000 n
+0000001404 00000 n
+trailer
+<</ID [ (\351\241\023\026\320\320f\273\032%s\352\236\017\251\330)
+(\351\241\023\026\320\320f\273\032%s\352\236\017\251\330)
+]
+/Root 1 0 R
+/Info 3 0 R
+/Size 14
+>>
+startxref
+1424
+%%EOF
Property changes on: tests/pdf/pattern_with_extra_q.pdf
___________________________________________________________________
Name: svn:executable
+ *
More information about the gs-cvs
mailing list