Index: testing/resources/pixel/endobj13.pdf |
diff --git a/testing/resources/hello_world.pdf b/testing/resources/pixel/endobj13.pdf |
similarity index 72% |
copy from testing/resources/hello_world.pdf |
copy to testing/resources/pixel/endobj13.pdf |
index bb4f0a88e7aedbbdbe4bdc6b22ff0696bed0282b..8193e53f564731f57856cf0347eba63a2866f162 100644 |
--- a/testing/resources/hello_world.pdf |
+++ b/testing/resources/pixel/endobj13.pdf |
@@ -35,19 +35,28 @@ endobj |
/BaseFont /Helvetica |
>> |
endobj |
+% Case 11: |
+% /Length points well past EOF, with embedded keywords. |
+% Both should render as text. |
6 0 obj << |
+ /Length 1000 |
>> |
stream |
BT |
20 50 Td |
/F1 12 Tf |
-(Hello, world!) Tj |
+(endobj is text) Tj |
0 50 Td |
-/F2 16 Tf |
-(Goodbye, world!) Tj |
+/F2 13 Tf |
+(endstream is text per /Length) Tj |
ET |
endstream |
endobj |
+ |
+% blah blah blah. |
+% blah blah blah. |
+% blah blah blah. |
+ |
xref |
0 7 |
0000000000 65535 f |
@@ -56,11 +65,11 @@ xref |
0000000154 00000 n |
0000000296 00000 n |
0000000374 00000 n |
-0000000450 00000 n |
+0000000551 00000 n |
trailer << |
/Size 6 |
/Root 1 0 R |
>> |
startxref |
-571 |
+758 |
%%EOF |