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

Side by Side Diff: fx/text/5.1.pdf

Issue 1020033002: Add text/ 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/text/050_extra_m_expected.pdf.0.png ('k') | fx/text/5.1_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.4 % PDF--5.1
2
3 1 0 obj % the root node of page tree
4 <<
5 /Type /Pages
6 /Kids [2 0 R] % kids under this node.
7 % Can be another page tree node, or a page dictionary
8 /Count 1
9 >>
10 endobj
11
12 2 0 obj % a page dictionary
13 <<
14 /Type /Page
15 /Parent 1 0 R
16 /MediaBox [0 0 612 792]
17 /Contents 4 0 R
18 /Resources <<
19 /Font <<
20 /Font1 5 0 R %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%
21 /Font2 9 0 R %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%
22 >>
23 >>
24 >>
25 endobj
26
27 3 0 obj % the catalog dictionary.
28 <<
29 /Type /Catalog
30 /Pages 1 0 R % pointer to the root node of pages tree
31 >>
32 endobj
33
34 4 0 obj % the page content stream
35 <<
36 /Length 0 % should be byte length of the stream data.
37 % We use 0 here for convenience.
38 >> stream
39
40 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41 BT
42 /Font1 35 Tf
43 100 700 Td
44 (show text 1) Tj
45 ET
46
47 BT
48 /Font2 25 Tf
49 100 650 Td
50 (show text 2) Tj
51 ET
52
53 BT
54 /Font1 35 Tf
55 100 600 Td
56 0 Tr
57 0.4 g
58 (RENDERING 0) Tj
59 ET
60
61 BT
62 /Font1 35 Tf
63 100 550 Td
64 1 Tr
65 2 w
66 0 0 1 RG
67 (RENDERING 1) Tj
68 ET
69
70 BT
71 /Font1 35 Tf
72 100 500 Td
73 2 Tr
74 1 w
75 0 G
76 1 0 0 rg
77 (RENDERING 2) Tj
78 ET
79 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
80 endstream
81 endobj
82
83 5 0 obj % a font dictionary.
84 % This is a base-14 font, so only a few data is required .
85 <<
86 /Type /Font
87 /Subtype /Type1
88 /BaseFont /Helvetica
89 >>
90 endobj
91
92 9 0 obj
93 <<
94 /Type /Font
95 /Subtype /Type1
96 /BaseFont /Times-Roman
97 >>
98 endobj
99
100 xref
101 trailer
102 <<
103 /Size 0
104 /Root 3 0 R
105 >>
106
107 startxref
108 0
109 %%EOF % end of file
OLDNEW
« no previous file with comments | « fx/text/050_extra_m_expected.pdf.0.png ('k') | fx/text/5.1_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698