Chromium Code Reviews| Index: testing/resources/pixel/endobj10.pdf |
| diff --git a/testing/resources/hello_world.pdf b/testing/resources/pixel/endobj10.pdf |
| similarity index 74% |
| copy from testing/resources/hello_world.pdf |
| copy to testing/resources/pixel/endobj10.pdf |
| index bb4f0a88e7aedbbdbe4bdc6b22ff0696bed0282b..7d3f25239f0bb1a189e2280752a0f73ac953520b 100644 |
| --- a/testing/resources/hello_world.pdf |
| +++ b/testing/resources/pixel/endobj10.pdf |
| @@ -35,18 +35,21 @@ endobj |
| /BaseFont /Helvetica |
| >> |
| endobj |
| +% Case 10: |
| +% /Length identifies end of stream, and embedded endstream/endobj |
| +% keyword to trip us up, but missing endstream keyword. |
| 6 0 obj << |
| + /Length 97 |
|
jun_fang
2015/07/15 18:37:48
length should be 93, right? please double check it
|
| >> |
| stream |
| BT |
| 20 50 Td |
| /F1 12 Tf |
| -(Hello, world!) Tj |
| +(endstream is not text) Tj |
| 0 50 Td |
| -/F2 16 Tf |
| -(Goodbye, world!) Tj |
| +/F2 13 Tf |
| +(endobj is not text) Tj |
| ET |
| -endstream |
| endobj |
| xref |
| 0 7 |
| @@ -56,11 +59,11 @@ xref |
| 0000000154 00000 n |
| 0000000296 00000 n |
| 0000000374 00000 n |
| -0000000450 00000 n |
| +0000000587 00000 n |
| trailer << |
| /Size 6 |
| /Root 1 0 R |
| >> |
| startxref |
| -571 |
| +722 |
| %%EOF |