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>>
12endobj
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>>
24endobj
25{{object 4 0}} <<
26  /Type /Font
27  /Subtype /Type1
28  /BaseFont /Times-Roman
29>>
30endobj
31{{object 5 0}} <<
32  /Type /Font
33  /Subtype /Type1
34  /BaseFont /Helvetica
35>>
36endobj
37% Case 6:
38%   /Length incorrectly identifies middle of stream.
39%   "endstream+" shouldn't block the stream.
40%   Nothing will be rendered when both "endstream" and "endobj" are missing.
41{{object 6 0}} <<
42  /Length 87
43>>
44stream
45BT
4620 50 Td
47/F1 12 Tf
48(endobj is text) Tj
49endstream+
500 50 Td
51/F2 13 Tf
52(endstream is text per /Length) Tj
53ET
54{{xref}}
55trailer <<
56  /Size 6
57  /Root 1 0 R
58>>
59{{startxref}}
60%%EOF
61