summaryrefslogtreecommitdiff
path: root/testing/resources/pixel/generation_numbers1.pdf
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-30 18:42:21 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-30 18:42:21 +0000
commit170656e36b45ea05662621a0070c985050071c7c (patch)
tree835b3cff5e17f706e446432cd59ad820a1f5f9ba /testing/resources/pixel/generation_numbers1.pdf
parent1c0de38c90947694b5d75349802a0b737418afe3 (diff)
downloadpdfium-170656e36b45ea05662621a0070c985050071c7c.tar.xz
Add pixel tests for PDFs that use generation numbers.
This checks in 2 identical looking PDFs. They both started out as hello_world.pdf. They were then hand edited in different ways that results in the same final rendering output. Change-Id: Ib3b634a5119c0f2e4beb36844c3f2b8d58ab8a21 Reviewed-on: https://pdfium-review.googlesource.com/33232 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/pixel/generation_numbers1.pdf')
-rw-r--r--testing/resources/pixel/generation_numbers1.pdf133
1 files changed, 133 insertions, 0 deletions
diff --git a/testing/resources/pixel/generation_numbers1.pdf b/testing/resources/pixel/generation_numbers1.pdf
new file mode 100644
index 0000000000..2f63f041b7
--- /dev/null
+++ b/testing/resources/pixel/generation_numbers1.pdf
@@ -0,0 +1,133 @@
+%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
+ /Resources <<
+ /Font <<
+ /F1 4 0 R
+ /F2 5 0 R
+ >>
+ >>
+ /Contents 6 0 R
+>>
+endobj
+4 0 obj <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Times-Roman
+>>
+endobj
+5 0 obj <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+6 0 obj <<
+ /Length 83
+>>
+stream
+BT
+20 50 Td
+/F1 12 Tf
+(Hello, world!) Tj
+0 50 Td
+/F2 16 Tf
+(Goodbye, world!) Tj
+ET
+endstream
+endobj
+xref
+0 7
+0000000000 65535 f
+0000000015 00000 n
+0000000068 00000 n
+0000000161 00000 n
+0000000303 00000 n
+0000000381 00000 n
+0000000457 00000 n
+trailer <<
+ /Root 1 0 R
+ /Size 7
+>>
+startxref
+591
+%%EOF
+3 0 obj <<
+ /Type /Page
+ /Parent 2 0 R
+>>
+endobj
+xref
+0 7
+0000000006 65535 f
+0000000015 00000 n
+0000000068 00000 n
+0000000798 00000 n
+0000000303 00000 n
+0000000381 00000 n
+0000000000 00001 f
+trailer <<
+ /Root 1 0 R
+ /Size 7
+ /Prev 591
+>>
+startxref
+849
+%%EOF
+3 0 obj <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <<
+ /F1 4 0 R
+ /F2 5 0 R
+ >>
+ >>
+ /Contents 6 1 R
+>>
+endobj
+6 1 obj <<
+ /Length 83
+>>
+stream
+BT
+20 50 Td
+/F1 12 Tf
+(Goodbye, world!) Tj
+0 50 Td
+/F2 16 Tf
+(Hello, world!) Tj
+ET
+endstream
+endobj
+xref
+0 7
+0000000000 65535 f
+0000000015 00000 n
+0000000068 00000 n
+0000001068 00000 n
+0000000303 00000 n
+0000000381 00000 n
+0000001210 00001 n
+trailer <<
+ /Root 1 0 R
+ /Size 7
+ /Prev 849
+>>
+startxref
+1344
+%%EOF