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

Side by Side Diff: fx/pattern/2_uncolor_tiling.pdf

Issue 1024643003: Add pattern/ directory to the 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
OLDNEW
(Empty)
1 %PDF-1.7
2
3 1 0 obj
4 <<
5 /Type /Catalog
6 /Pages 2 0 R
7 >>
8 endobj
9
10 2 0 obj
11 <<
12 /Type /Pages
13 /Kids [5 0 R]
14 /Count 1
15 >>
16 endobj
17
18 5 0 obj % Page object
19 <<
20 /Type /Page
21 /Parent 2 0 R
22 /Resources 10 0 R
23 /Contents 30 0 R
24 /MediaBox [0 0 225 225]
25 >>
26 endobj
27
28 10 0 obj % Resource dictionary for page
29 <<
30 /ColorSpace <</Cs12 12 0 R>>
31 /Pattern <</P1 15 0 R>>
32 >>
33 endobj
34
35 12 0 obj % Color space
36 [/Pattern /DeviceRGB]
37 endobj
38
39 15 0 obj % Pattern definition
40 <<
41 /Type /Pattern
42 /PatternType 1 % Tiling pattern
43 /PaintType 2 % Uncolored
44 /TilingType 2
45 /BBox [0 0 100 100]
46 /XStep 100
47 /YStep 100
48 /Resources 16 0 R
49 /Matrix [0.4 0.0 0.0 0.4 100.0 100.0]
50 /Length 0
51 >>
52 stream
53 BT % Begin text object
54 /F1 1 Tf % Set text font and size
55 64 0 0 64 7.1771 2.4414 Tm % Set text matrix
56 0 Tc % Set character spacing
57 0 Tw % Set word spacing
58 (\001) Tj % Show spade glyph
59 0.7478 -0.007 TD % Move text position
60 (\002) Tj % Show heart glyph
61 -0.7323 0.7813 TD % Move text position
62 (\003) Tj % Show diamond glyph
63 0.6913 0.007 TD % Move text position
64 (\004) Tj % Show club glyph
65 ET % End text object
66 endstream
67 endobj
68
69 16 0 obj % Resource dictionary for pattern
70 <<
71 /Font <</F1 20 0 R>>
72 >>
73 endobj
74
75 20 0 obj % Font for pattern
76 <<
77 /Type /Font
78 /Subtype /Type1
79 /Encoding 21 0 R
80 /BaseFont /ZapfDingbats
81 >>
82 endobj
83
84 21 0 obj % Font encoding
85 <<
86 /Type /Encoding
87 /Differences[1 /a109 /a110 /a111 /a112]
88 >>
89 endobj
90
91 30 0 obj % Contents of page
92 <<
93 /Length 0
94 >>
95 stream
96 0.0 G % Set stroking color to black
97 1.0 1.0 0.0 rg % Set nonstroking color to yellow
98 25 175 175 -150 re % Construct rectangular path
99 f % Fill path
100
101 % Set nonstroking color and pattern
102 % Fill and stroke path
103 99.92 49.92 m % Start new path
104 99.92 77.52 77.52 99.92 49.92 99.92 c % Construct lower-left circle
105 22.32 99.92 -0.08 77.52 -0.08 49.92 c
106 -0.08 22.32 22.32 -0.08 49.92 -0.08 c
107 77.52 -0.08 99.92 22.32 99.92 49.92 c
108
109 224.96 49.92 m % Start new path
110 224.96 77.52 202.56 99.92 174.96 99.92 c % Construct lower-right circle
111 147.36 99.92 124.96 77.52 124.96 49.92 c
112 124.96 22.32 147.36 -0.08 174.96 -0.08 c
113 202.56 -0.08 224.96 22.32 224.96 49.92 c
114
115 87.56 201.70 m % Start new path
116 63.66 187.90 55.46 157.32 69.26 133.40 c % Construct upper circle
117 83.06 109.50 113.66 101.30 137.56 115.10 c
118 161.46 128.90 169.66 159.50 155.86 183.40 c
119 142.06 207.30 111.46 215.50 87.56 201.70 c
120
121 50 50 m % Start new path
122 175 50 l % Construct triangular path
123 112.5 158.253 l h
124
125 W S
126
127 /Cs12 cs
128 0.5 0.2 1.0 /P1 scn % Change nonstroking color
129 0 0 m 225 0 l 225 225 l 0 225 l b % Construct tria ngular path
130
131 % Close, fill, and stroke path
132
133 %0.5 0.2 1.0 /P1 scn
134 %0 0 m 100 0 l 100 100 l 0 100 l b
135 endstream
136 endobj
137
138 xref
139
140 trailer
141 <<
142 /Size 0
143 /Root 1 0 R
144 >>
145 startxref
146 0
147
148 %%EOF
149
OLDNEW
« no previous file with comments | « fx/pattern/2_color_type3_pattern_bbox_expected.pdf.0.png ('k') | fx/pattern/2_uncolor_tiling_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698