Index: testing/resources/pixel/endobj7.in |
diff --git a/testing/resources/hello_world.in b/testing/resources/pixel/endobj7.in |
similarity index 73% |
copy from testing/resources/hello_world.in |
copy to testing/resources/pixel/endobj7.in |
index 19fce0ce335de77ea31e295a87025eb52f65110e..747514fa800b6c8ddd6b48a6af941c4daf0290f3 100644 |
--- a/testing/resources/hello_world.in |
+++ b/testing/resources/pixel/endobj7.in |
@@ -34,19 +34,23 @@ endobj |
/BaseFont /Helvetica |
>> |
endobj |
+% Case 7: |
+% /Length identifies intended end of stream, but endstream/endobj |
+% keywords swapped. Should render |endobj| and |endstream| as text. |
{{object 6 0}} << |
+ /Length 97 |
>> |
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 |
+endstream |
{{xref}} |
trailer << |
/Size 6 |