aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/custom-filter/input.pdf
blob: fc06786fd7a2ff6d5d382ca3d1cdea519c28d383 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
%PDF-1.3
%¿÷¢þ
%QDF-1.0

%% Original object ID: 1 0
1 0 obj
<<
  /Pages 2 0 R
  /Type /Catalog
>>
endobj

%% Original object ID: 2 0
2 0 obj
<<
  /Count 1
  /Kids [
    3 0 R
  ]
  /Type /Pages
>>
endobj

%% Page 1
%% Original object ID: 3 0
3 0 obj
<<
  /Contents 4 0 R
  /MediaBox [
    0
    0
    612
    792
  ]
  /Parent 2 0 R
  /Resources <<
    /Font <<
      /F1 6 0 R
    >>
    /ProcSet 7 0 R
  >>
  /Type /Page
>>
endobj

%% Contents for page 1
%% Original object ID: 4 0
4 0 obj
<<
  /Length 5 0 R
>>
stream
BT
  /F1 24 Tf
  72 720 Td
  (Potato) Tj
ET
endstream
endobj

5 0 obj
44
endobj

%% Original object ID: 6 0
6 0 obj
<<
  /BaseFont /Helvetica
  /Encoding /WinAnsiEncoding
  /Name /F1
  /Subtype /Type1
  /Type /Font
>>
endobj

%% Original object ID: 5 0
7 0 obj
[
  /PDF
  /Text
]
endobj

8 0 obj
<<
  /Length 9 0 R
  /DoXOR true
>>
stream

This stream has /DoXOR true. When processed with pdf-custom-filter
without the --decode-specialized option, the stream will appear in the
output encoded with the fictitious /XORDecode filter, and its
/DecodeParms will contain a reference to the key stream. When
processed with pdf-custom-filter with the --decode-specialized option,
it will appear in the output as a regular stream with /FlateDecode,
but the /OrigLength key will still have been added.

endstream
endobj

9 0 obj
455
endobj

10 0 obj
<<
  /Length 11 0 R
  /DoXOR true
  /ProtectXOR true
>>
stream

This stream has /DoXOR true and /ProtectXOR true. When processed with
pdf-custom-filter with or without the --decode-specialized option, the
stream will appear in the output encoded with the fictitious
/XORDecode filter, and its /DecodeParms will contain a reference to
the key stream.

endstream
endobj

11 0 obj
288
endobj

xref
0 12
0000000000 65535 f 
0000000052 00000 n 
0000000133 00000 n 
0000000242 00000 n 
0000000484 00000 n 
0000000583 00000 n 
0000000629 00000 n 
0000000774 00000 n 
0000000809 00000 n 
0000001333 00000 n 
0000001353 00000 n 
0000001731 00000 n 
trailer <<
  /Root 1 0 R
  /Size 12
  /Example [ 8 0 R 10 0 R ]
  /ID [<01f4bb169ae6e6b5f27505733e9abf42><01f4bb169ae6e6b5f27505733e9abf42>]
>>
startxref
1752
%%EOF