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

Side by Side Diff: testing/resources/hello_world.in

Issue 878333003: Cover fpdftext.h API with embeddertests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Non-zero initial paramenters in another place. Created 5 years, 10 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 | « fpdfsdk/src/fpdftext_embeddertest.cpp ('k') | testing/resources/hello_world.pdf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ]
11 >> 11 >>
12 endobj 12 endobj
13 {{object 3 0}} << 13 {{object 3 0}} <<
14 /Type /Page 14 /Type /Page
15 /Parent 2 0 R 15 /Parent 2 0 R
16 /Resources << 16 /Resources <<
17 /Font << 17 /Font <<
18 /F1 4 0 R 18 /F1 4 0 R
19 /F2 5 0 R
19 >> 20 >>
20 >> 21 >>
21 /Contents 5 0 R 22 /Contents 6 0 R
22 >> 23 >>
23 endobj 24 endobj
24 {{object 4 0}} << 25 {{object 4 0}} <<
25 /Type /Font 26 /Type /Font
26 /Subtype /Type1 27 /Subtype /Type1
27 /BaseFont /Times-Roman 28 /BaseFont /Times-Roman
28 >> 29 >>
29 endobj 30 endobj
30 % page content with streamlength past end-of-file.
31 {{object 5 0}} << 31 {{object 5 0}} <<
32 /Length 9999 32 /Type /Font
33 /Subtype /Type1
34 /BaseFont /Helvetica
35 >>
36 endobj
37 {{object 6 0}} <<
33 >> 38 >>
34 stream 39 stream
35 BT 40 BT
36 70 50 TD 41 20 50 Td
37 /F1 12 Tf 42 /F1 12 Tf
38 (Hello, world!) Tj 43 (Hello, world!) Tj
44 0 50 Td
45 /F2 16 Tf
46 (Goodbye, world!) Tj
39 ET 47 ET
40 endstream 48 endstream
41 endobj 49 endobj
42 {{xref}} 50 {{xref}}
43 trailer << 51 trailer <<
44 /Size 6 52 /Size 6
45 /Root 1 0 R 53 /Root 1 0 R
46 >> 54 >>
47 {{startxref}} 55 {{startxref}}
48 %%EOF 56 %%EOF
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdftext_embeddertest.cpp ('k') | testing/resources/hello_world.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698