summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-19 17:29:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-19 17:29:46 +0000
commit64316e9a68496b974d75e4434daab9d54db0e591 (patch)
tree0d54f2ef6aef5ce47c5e95de561f473252cc30e2 /testing
parent591c7c54ac89aa28fb782745ed8116414d6a04fd (diff)
downloadpdfium-64316e9a68496b974d75e4434daab9d54db0e591.tar.xz
Fix unbalanced endobj keyword in rectangles_multi_pages.pdf.
Also add stream lengths. Change-Id: I7a1f565f941f9100058fab0f1ddde5471318f4d3 Reviewed-on: https://pdfium-review.googlesource.com/38350 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/rectangles_multi_pages.in7
-rw-r--r--testing/resources/rectangles_multi_pages.pdf30
2 files changed, 25 insertions, 12 deletions
diff --git a/testing/resources/rectangles_multi_pages.in b/testing/resources/rectangles_multi_pages.in
index 125b8ea090..feb815c79c 100644
--- a/testing/resources/rectangles_multi_pages.in
+++ b/testing/resources/rectangles_multi_pages.in
@@ -18,6 +18,7 @@ endobj
>>
endobj
{{object 4 0}} <<
+ {{streamlen}}
>>
stream
q
@@ -35,6 +36,7 @@ endobj
>>
endobj
{{object 6 0}} <<
+ {{streamlen}}
>>
stream
q
@@ -51,6 +53,7 @@ endobj
>>
endobj
{{object 8 0}} <<
+ {{streamlen}}
>>
stream
q
@@ -65,7 +68,9 @@ endobj
/Parent 2 0 R
/Contents 10 0 R
>>
+endobj
{{object 10 0}} <<
+ {{streamlen}}
>>
stream
q
@@ -75,7 +80,6 @@ q
Q
endstream
endobj
-endobj
{{object 11 0}} <<
/Type /Page
/Parent 2 0 R
@@ -83,6 +87,7 @@ endobj
>>
endobj
{{object 12 0}} <<
+ {{streamlen}}
>>
stream
q
diff --git a/testing/resources/rectangles_multi_pages.pdf b/testing/resources/rectangles_multi_pages.pdf
index bacb1dd3a8..22d44a4fdf 100644
--- a/testing/resources/rectangles_multi_pages.pdf
+++ b/testing/resources/rectangles_multi_pages.pdf
@@ -19,6 +19,7 @@ endobj
>>
endobj
4 0 obj <<
+ /Length 49
>>
stream
q
@@ -36,6 +37,7 @@ endobj
>>
endobj
6 0 obj <<
+ /Length 49
>>
stream
q
@@ -52,6 +54,7 @@ endobj
>>
endobj
8 0 obj <<
+ /Length 49
>>
stream
q
@@ -66,7 +69,9 @@ endobj
/Parent 2 0 R
/Contents 10 0 R
>>
+endobj
10 0 obj <<
+ /Length 51
>>
stream
q
@@ -76,7 +81,6 @@ q
Q
endstream
endobj
-endobj
11 0 obj <<
/Type /Page
/Parent 2 0 R
@@ -84,6 +88,7 @@ endobj
>>
endobj
12 0 obj <<
+ /Length 50
>>
stream
q
@@ -100,15 +105,18 @@ xref
0000000068 00000 n
0000000186 00000 n
0000000255 00000 n
-0000000342 00000 n
-0000000424 00000 n
-0000000511 00000 n
-0000000580 00000 n
-0000000667 00000 n
-0000000730 00000 n
-0000000827 00000 n
-0000000898 00000 n
-trailer<< /Root 1 0 R /Size 13 >>
+0000000355 00000 n
+0000000437 00000 n
+0000000537 00000 n
+0000000606 00000 n
+0000000706 00000 n
+0000000776 00000 n
+0000000879 00000 n
+0000000950 00000 n
+trailer <<
+ /Root 1 0 R
+ /Size 13
+>>
startxref
-987
+1052
%%EOF