Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: testing/resources/pixel/endobj6.in

Issue 1430533003: Merge to XFA: Revert "Add test case for parsing endobj keywords." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {{header}}
2 {{object 1 0}} <<
3 /Type /Catalog
4 /Pages 2 0 R
5 >>
6 {{object 2 0}} <<
7 /Type /Pages
8 /MediaBox [ 0 0 200 200 ]
9 /Count 1
10 /Kids [ 3 0 R ]
11 >>
12 endobj
13 {{object 3 0}} <<
14 /Type /Page
15 /Parent 2 0 R
16 /Resources <<
17 /Font <<
18 /F1 4 0 R
19 /F2 5 0 R
20 >>
21 >>
22 /Contents 6 0 R
23 >>
24 endobj
25 {{object 4 0}} <<
26 /Type /Font
27 /Subtype /Type1
28 /BaseFont /Times-Roman
29 >>
30 endobj
31 {{object 5 0}} <<
32 /Type /Font
33 /Subtype /Type1
34 /BaseFont /Helvetica
35 >>
36 endobj
37 % Case 6:
38 % /Length incorrectly identifies middle of stream, and confusing
39 % keywords to trip us up. Should only render |endobj| as text.
40 {{object 6 0}} <<
41 /Length 50
42 >>
43 stream
44 BT
45 20 50 Td
46 /F1 12 Tf
47 (endobj is text) Tj
48 0 50 Td
49 /F2 13 Tf
50 (endstream after bad /Length) Tj
51 ET
52 endstream
53 endobj
54 {{xref}}
55 trailer <<
56 /Size 6
57 /Root 1 0 R
58 >>
59 {{startxref}}
60 %%EOF
OLDNEW
« no previous file with comments | « testing/resources/pixel/endobj5_expected.pdf.0.png ('k') | testing/resources/pixel/endobj6_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698