Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 {{header}} | 1 {{header}} |
| 2 {{object 1 0}} << | 2 {{object 1 0}} << |
| 3 /Type /Catalog | 3 /Type /Catalog |
| 4 /Pages 2 0 R | 4 /Pages 2 0 R |
| 5 >> | 5 >> |
| 6 {{object 2 0}} << | 6 {{object 2 0}} << |
| 7 /Type /Pages | 7 /Type /Pages |
| 8 /MediaBox [ 0 0 200 200 ] | 8 /MediaBox [ 0 0 200 200 ] |
| 9 /Count 1 | 9 /Count 1 |
| 10 /Kids [ 3 0 R ] | 10 /Kids [ 3 0 R ] |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 /Subtype /Type1 | 27 /Subtype /Type1 |
| 28 /BaseFont /Times-Roman | 28 /BaseFont /Times-Roman |
| 29 >> | 29 >> |
| 30 endobj | 30 endobj |
| 31 {{object 5 0}} << | 31 {{object 5 0}} << |
| 32 /Type /Font | 32 /Type /Font |
| 33 /Subtype /Type1 | 33 /Subtype /Type1 |
| 34 /BaseFont /Helvetica | 34 /BaseFont /Helvetica |
| 35 >> | 35 >> |
| 36 endobj | 36 endobj |
| 37 % Case 1: | 37 % Case 2: |
| 38 % /Length identifies intended end of stream, despite embedded keywords. | 38 % Couple white spaces and chars follow the keyword "stream" |
| 39 % Both should render as text. | 39 % before end of line markers. They should be ignored. |
| 40 % The content in stream should be renderred as text. | |
|
Lei Zhang
2015/10/15 09:54:01
typo: "rendered"
jun_fang
2015/10/15 10:27:27
Acknowledged.
| |
| 40 {{object 6 0}} << | 41 {{object 6 0}} << |
| 41 /Length 107 | 42 /Length 107 |
| 42 >> | 43 >> |
| 43 stream | 44 stream "this part will be ignored" |
| 44 BT | 45 BT |
| 45 20 50 Td | 46 20 50 Td |
| 46 /F1 12 Tf | 47 /F1 12 Tf |
| 47 (endobj is text) Tj | 48 (endobj is text) Tj |
| 48 endstream | 49 endstream |
| 49 0 50 Td | 50 0 50 Td |
| 50 /F2 13 Tf | 51 /F2 13 Tf |
| 51 (endstream is text per /Length) Tj | 52 (endstream is text per /Length) Tj |
| 52 ET | 53 ET |
| 53 endstream | 54 endstream |
| 54 endobj | 55 endobj |
| 55 {{xref}} | 56 {{xref}} |
| 56 trailer << | 57 trailer << |
| 57 /Size 6 | 58 /Size 6 |
| 58 /Root 1 0 R | 59 /Root 1 0 R |
| 59 >> | 60 >> |
| 60 {{startxref}} | 61 {{startxref}} |
| 61 %%EOF | 62 %%EOF |
| OLD | NEW |