-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.pcd
More file actions
182 lines (143 loc) · 4.25 KB
/
example.pcd
File metadata and controls
182 lines (143 loc) · 4.25 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
beginpdf 1200 900
simplecolor 0xAABBCC 150 90 20 600
set FontSize 10pt
set Typeface Times
set FontSizeCJK 10pt
set TypefaceCJK HiraginoSansGB-W3
set ContentRotation clockwise
text 150 90 20 600 "測試頭歪一邊 Vertical Text 文字"
simplecolor 0xDDBBAA 360 100 300 20
set FontSize 10pt
set Typeface Times
set FontSizeCJK 10pt
set TypefaceCJK HiraginoSansGB-W3
text 360 100 300 20 "橫的不受影響 horizontal"
simplecolor 0xAAEEBB 180 60 100 600
set FontSize 14pt
set Typeface Times
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set Kerning 0
set KerningCJK 0
set SymbolSubstitution ",。、;?!"
set TypefaceSubstitution "STHeitiTC-Light"
set FontSizeSubstitution 14pt
vtext 180 60 100 600 "測試…直排?標點,符號。 Vertical Text, 混合 mixed. 排版 Hello, world. 好多!好多、中文字;「白日」依山盡,『黃河』入(海流) かしゆかです。あ〜ちゃんです。のっちです。三人合わせで、パフュームです!よろしくお願いします!"
simplecolor 0x336600 300 250 100 100
set FontSize 16pt
set Typeface Times
set FontSizeCJK 16pt
set TypefaceCJK HiraginoSansGB-W3
set Color white
text 300 250 100 100 "橫的不受影響 horizontal again"
# Text Alignment
simplecolor 0xcccc99 500 200 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign top
text 500 200 140 90 "左上"
simplecolor 0xcccc99 650 200 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign top
text 650 200 140 90 "中上"
simplecolor 0xcccc99 800 200 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign top
text 800 200 140 90 "右上"
simplecolor 0xcccc99 500 300 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign center
text 500 300 140 90 "左中"
simplecolor 0xcccc99 650 300 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign center
text 650 300 140 90 "中中"
simplecolor 0xcccc99 800 300 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign center
text 800 300 140 90 "右中"
simplecolor 0xcccc99 500 400 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign bottom
text 500 400 140 90 "左下"
simplecolor 0xcccc99 650 400 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign bottom
text 650 400 140 90 "中下"
simplecolor 0xcccc99 800 400 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign bottom
text 800 400 140 90 "右下"
# vtext
simplecolor 0xcccc99 500 500 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign top
vtext 500 500 140 90 "左上"
simplecolor 0xcccc99 650 500 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign top
vtext 650 500 140 90 "中上"
simplecolor 0xcccc99 800 500 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign top
vtext 800 500 140 90 "右上"
simplecolor 0xcccc99 500 600 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign center
vtext 500 600 140 90 "左中"
simplecolor 0xcccc99 650 600 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign center
vtext 650 600 140 90 "中中"
simplecolor 0xcccc99 800 600 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign center
vtext 800 600 140 90 "右中"
simplecolor 0xcccc99 500 700 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign left
set TextVerticalAlign bottom
vtext 500 700 140 90 "左下"
simplecolor 0xcccc99 650 700 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign center
set TextVerticalAlign bottom
vtext 650 700 140 90 "中下"
simplecolor 0xcccc99 800 700 140 90
set FontSizeCJK 14pt
set TypefaceCJK HiraginoSansGB-W3
set TextAlign right
set TextVerticalAlign bottom
vtext 800 700 140 90 "右下"
endpdf file:///tmp/output.pdf