summaryrefslogtreecommitdiff
path: root/testing/resources
diff options
context:
space:
mode:
Diffstat (limited to 'testing/resources')
-rw-r--r--testing/resources/rectangles.in38
-rw-r--r--testing/resources/rectangles.pdf46
2 files changed, 84 insertions, 0 deletions
diff --git a/testing/resources/rectangles.in b/testing/resources/rectangles.in
new file mode 100644
index 0000000000..ed71cf830a
--- /dev/null
+++ b/testing/resources/rectangles.in
@@ -0,0 +1,38 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Contents 4 0 R
+>>
+endobj
+{{object 4 0}} <<
+>>
+stream
+q
+0 0 0 rg
+10 80 50 30 re B*
+0 0 1 rg
+70 135 50 30 re B*
+0 1 0 rg
+130 80 50 30 re B*
+1 0 0 rg
+70 25 50 30 re B*
+Q
+endstream
+endobj
+{{xref}}
+{{trailer}}
+{{startxref}}
+%%EOF
diff --git a/testing/resources/rectangles.pdf b/testing/resources/rectangles.pdf
new file mode 100644
index 0000000000..718bee56d9
--- /dev/null
+++ b/testing/resources/rectangles.pdf
@@ -0,0 +1,46 @@
+%PDF-1.7
+% ò¤ô
+1 0 obj <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+2 0 obj <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+3 0 obj <<
+ /Type /Page
+ /Parent 2 0 R
+ /Contents 4 0 R
+>>
+endobj
+4 0 obj <<
+>>
+stream
+q
+0 0 0 rg
+10 80 50 30 re B*
+0 0 1 rg
+70 135 50 30 re B*
+0 1 0 rg
+130 80 50 30 re B*
+1 0 0 rg
+70 25 50 30 re B*
+Q
+endstream
+endobj
+xref
+0 5
+0000000000 65535 f
+0000000015 00000 n
+0000000068 00000 n
+0000000161 00000 n
+0000000230 00000 n
+trailer<< /Root 1 0 R /Size 5 >>
+startxref
+382
+%%EOF