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

Side by Side Diff: fx/layer/octest.pdf

Issue 1027493002: Add layer/ directory to corpus (Closed) Base URL: https://pdfium.googlesource.com/pdfium_tests@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « fx/layer/ocg_expected.pdf.0.png ('k') | fx/layer/octest_expected.pdf.0.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 %PDF-1.7
2 1 0 obj
3 <<
4 /Type /Catalog
5 /Pages 2 0 R
6 /OCProperties
7 << /OCGs [
8 10 0 R 20 0 R
9 30 0 R 40 0 R 50 0 R
10 60 0 R 70 0 R 80 0 R
11 90 0 R 100 0 R 110 0 R 120 0 R
12 130 0 R 140 0 R 150 0 R
13 ]
14 /D <<
15 /BaseState /OFF
16 /ON [10 0 R] /OFF [20 0 R]
17 /Order 7 0 R
18 /AS [ % Auto state array of usage application dictiona ries
19 << /Event /View /Category [/Zoom] /OCGs [90 0 R 100 0 R 110 0 R 120 0 R] >>
20 << /Event /Print /Category [/Print] /OCGs [110 0 R 120 0 R] >>
21 << /Event /Export /Category [/Export] /OCGs [110 0 R 120 0 R] >>
22 ]
23 >>
24 /Configs << % failed
25 /Name (ConfigTest) /Creator (yiping_shi) /Locked [10 0 R 30 0 R]
26 >>
27 >>
28 >>
29 endobj
30
31 2 0 obj
32 <<
33 /Type /Pages
34 /Kids [3 0 R 31 0 R 32 0 R]
35 /Count 3
36 >>
37 endobj
38
39 3 0 obj
40 <<
41 /Type /Page
42 /Parent 2 0 R
43 /Resources 4 0 R
44 /MediaBox [0 0 600 600]
45 /Contents 6 0 R
46 >>
47 endobj
48
49 31 0 obj
50 <<
51 /Type /Page
52 /Parent 2 0 R
53 /Resources 4 0 R
54 /MediaBox [0 0 600 600]
55 /Contents 6 0 R
56 >>
57 endobj
58
59 32 0 obj
60 <<
61 /Type /Page
62 /Parent 2 0 R
63 /Resources 4 0 R
64 /MediaBox [0 0 600 600]
65 /Contents 6 0 R
66 >>
67 endobj
68
69 7 0 obj
70 [
71 [(OCG Test)10 0 R 20 0 R]
72 [(OCMD Test)30 0 R 40 0 R 50 0 R] % collections of optional content grou ps
73 60 0 R[70 0 R 80 0 R] % actual nesting of groups
74 [(AS Test)90 0 R 100 0 R 110 0 R 120 0 R] % collections of optional cont ent groups
75 [(Itent Test)130 0 R 140 0 R 150 0 R] %two intents: View and Design
76
77 ]
78 endobj
79
80 4 0 obj
81 <<
82 /Font <</F5 5 0 R>>
83 /ProcSet [/PDF /Text]
84 /Properties
85 <<
86 /OC1 10 0 R
87 /OC2 20 0 R
88 /OC3 30 0 R
89 /OC4 40 0 R
90 /OC5 50 0 R
91 /L1 60 0 R
92 /L1A 70 0 R
93 /L1B 80 0 R
94 /OC9 90 0 R
95 /OC10 100 0 R
96 /OC11 110 0 R
97 /OC12 120 0 R
98 /OC13 130 0 R
99 /OC14 140 0 R
100 /OC15 150 0 R
101 >>
102 >>
103 endobj
104
105 5 0 obj
106 <<
107 /Type /Font
108 /Subtype /Type1
109 /Name /F5
110 /BaseFont /Helvetica
111 >>
112 endobj
113
114 6 0 obj
115 <</Length 59>>
116 stream
117 /F5 10 Tf
118 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
119 0 0 1 rg
120 BT
121 2 0 0 2 100 550 Tm
122 (OCG Test :) Tj
123 0 0 0 rg
124 /OC /OC1 BDC
125 2 0 0 2 100 510 Tm
126 (Hello) Tj
127 EMC
128 /OC /OC2 BDC
129 2 0 0 2 150 510 Tm
130 (OC Test) Tj
131 EMC
132 /OC /OC2 BDC %More than one section of content can refer to the same gro up
133 2 0 0 2 100 480 Tm
134 (the same OC with "OC Test") Tj
135 EMC
136 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
137 0 0 1 rg
138 2 0 0 2 100 440 Tm
139 (OCMD Test :) Tj
140 0 0 0 rg
141 /OC /OC3 BDC
142 2 0 0 2 100 410 Tm
143 (Group_m1) Tj
144 EMC
145 /OC /OC4 BDC
146 2 0 0 2 240 410 Tm
147 (Group_m2) Tj
148 EMC
149 /OC /OC5 BDC
150 2 0 0 2 360 410 Tm
151 (Group:m1+m2) Tj
152 EMC
153 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
154 0 0 1 rg
155 2 0 0 2 100 370 Tm
156 (Layer 1 :) Tj
157 0 0 0 rg
158 /OC /L1 BDC % Layer 1
159 /OC /L1A BDC % Sublayer A of layer 1
160 2 0 0 2 100 340 Tm
161 (Sublayer A) Tj
162 EMC
163 /OC /L1B BDC % Sublayer B of layer 1
164 2 0 0 2 240 340 Tm
165 (Sublayer B) Tj
166 EMC
167 EMC
168 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
169 0 0 1 rg
170 2 0 0 2 100 300 Tm
171 (AS Test :) Tj
172 0 0 0 rg
173 /OC /OC9 BDC
174 2 0 0 2 100 260 Tm
175 (90 0 obj: zoom:X<100%) Tj
176 EMC
177 /OC /OC10 BDC
178 2 0 0 2 100 230 Tm
179 (100 0 obj: zoom:100%<=X<200%) Tj
180 EMC
181 /OC /OC11 BDC
182 2 0 0 2 100 200 Tm
183 (110 0 obj: Print:OFF,Export:OFF) Tj
184 EMC
185 /OC /OC12 BDC
186 2 0 0 2 100 170 Tm
187 (120 0 obj: Print:ON,Export:ON) Tj
188 EMC
189 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
190 0 0 1 rg
191 2 0 0 2 100 130 Tm
192 (Itent Test :) Tj
193 0 0 0 rg
194 /OC /OC13 BDC
195 2 0 0 2 100 100 Tm
196 (View) Tj
197 EMC
198 /OC /OC14 BDC
199 2 0 0 2 200 100 Tm
200 (Design) Tj
201 EMC
202 /OC /OC15 BDC
203 2 0 0 2 300 100 Tm
204 (View and Design) Tj
205 EMC
206
207 ET
208 endstream
209 endobj
210
211 10 0 obj << /Type /OCG /Name (View:Hello) >> endobj
212 20 0 obj << /Type /OCG /Name (View:OC Test) >> endobj
213
214 %%%%%%%%%% OCMD Test %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
215 30 0 obj << /Type /OCG /Name (View:Group_m1) >> endobj
216 40 0 obj << /Type /OCG /Name (View:Group_m2) >> endobj
217 50 0 obj
218 << /Type /OCMD
219 /OCGs [30 0 R 40 0 R] %(1)
220 /P /AllOn %(2)
221 %/VE [/And 30 0 R 40 0 R ] %(3)equivalent to(1)and(2)
222 >>
223 endobj
224
225 %%%%%%%%%% Nesting of groups by Oreder Set %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%
226 60 0 obj <</Type /OCG /Name (Layer 1)>> endobj
227 70 0 obj <</Type /OCG /Name (Sublayer A)>> endobj
228 80 0 obj <</Type /OCG /Name (Sublayer B)>> endobj
229
230 %%%% Usage Test %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%
231 91 0 obj << /Zoom << /max 1.0 >>
232 /CreatorInfo << /Subtype /Artwork /Creator (Optional Content Test) > >
233 >> endobj
234 101 0 obj << /Zoom << /min 1.0 /max 2.0 >> >> endobj
235 111 0 obj << /Print << /PrintState /OFF >> /Export << /ExportState /OFF >> >> endobj
236 121 0 obj << /Print << /PrintState /ON >> /Export << /ExportState /ON >> >> endo bj
237 90 0 obj << /Type /OCG /Name (zoom:X<100%) /Usage 91 0 R >> endobj
238 100 0 obj << /Type /OCG /Name (zoom:100%<=X<200%) /Usage 101 0 R>> endobj
239 110 0 obj << /Type /OCG /Name (Print:OFF,Export:OFF) /Usage 111 0 R >> endobj
240 120 0 obj << /Type /OCG /Name (Print:ON,Export:ON) /Usage 121 0 R >> endobj
241
242 %%%%%% Itent Test %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%
243 131 0 obj [/View] endobj
244 141 0 obj [/Design] endobj
245 151 0 obj [/View /Design] endobj
246 130 0 obj << /Type /OCG /Intent 131 0 R /Usage 9 0 R /Name (View) >> endobj
247 140 0 obj << /Type /OCG /Intent 141 0 R /Usage 9 0 R /Name (Design) >> endobj
248 150 0 obj << /Type /OCG /Intent 151 0 R /Usage 9 0 R /Name (View and Design) >> endobj
249
250 xref
251 0
252 trailer
253 <<
254 /Size 0
255 /Root 1 0 R
256 >>
257 startxref
258 0
259 %%EOF
OLDNEW
« no previous file with comments | « fx/layer/ocg_expected.pdf.0.png ('k') | fx/layer/octest_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698