Debian Codegraph @

texmf-dist/fonts/source/public/drm/drmpunct.mf

raw
1 % +AMDG This document was begun on 26 April 11EX, the feast
2 % of St. Catherine of Siena, and it is humbly dedicated to
3 % her and the Immaculate Heart of Mary for their prayers,
4 % and to the Sacred Heart of Jesus for His mercy.
5
6 path hyphenpath;
7 picture paren;
8 picture period;
9 picture opendoublequote;
10 picture questionmark;
11 picture bang;
12 picture leftsinguill;
13 picture leftdoubguill;
14 picture slash;
15 picture lessthan;
16 picture opensquare;
17
18 beginchar(".",pwid#,pwid#,0); "The period .";
19
20 z0 = (w/2,dotwid);
21 z1 = z0 shifted (dotwid,0);
22 z2 = z0 shifted (0,dotwid);
23 z3 = z0 shifted (-dotwid,0);
24 z4 = z0 shifted (0,-dotwid);
25
26 path period;
27 period = z1..z2..z3..z4..cycle;
28 fill period;
29
30 %period := currentpicture;
31
32 penlabels(0,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);
33 endchar;
34
35 beginchar(",",pwid#,pwid#,0); "The comma ,";
36
37 z0 = (w/2,dotwid);
38 z1 = z0 shifted (dotwid,0);
39 z2 = z0 shifted (0,dotwid);
40 z3 = z0 shifted (-dotwid,0);
41 z4 = z0 shifted (0,-dotwid/2);
42 z5 = z3 shifted (-dotwid/2,-3dotwid);
43 z6 = z1 shifted (-o,-2.0dotwid);
44
45 path commapost;
46 commapost = z4..{dir -165}z5{right}..z6..z1..z2..z3..z4--cycle;
47 fill commapost;
48
49 penlabels(0,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);
50 endchar;
51
52 beginchar(oct"047",pwid#,cap#,0); "The apostrophe";
53
54 fill commapost shifted (0,h-2dotwid+o/2);
55
56 penlabels(0,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);
57 endchar;
58
59 thinwid# = 0.5pt#;
60 define_pixels(thinwid);
61
62 beginchar("-",2pwid#,ex#,0); "The hyphen, -";
63
64 z0 = (ss,h/2);
65 z1 = (w-ss,y0);
66 z2 = z0 shifted (thinwid/2,thinwid/2);
67 z3 = z2 shifted (0,-thinwid);
68 z4 = z1 shifted (-thinwid/2,thinwid/2);
69 z5 = z4 shifted (0,-thinwid);
70
71 hyphenpath = z2..z0..z3--z5..z1..z4--cycle;
72 fill hyphenpath;
73 penlabels(0,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);
74 endchar;
75
76 beginchar(oct"177",1.5pwid#,ex#,0); "The break hyphen, -";
77 fill hyphenpath xscaled 0.75;
78 endchar;
79
80 beginchar(oct"025",3pwid#,ex#,0); "The en-dash, --";
81 fill hyphenpath xscaled 1.5;
82 endchar;
83
84 beginchar(oct"026",em#+2ss#,ex#,0); "The em-dash, ---";
85 fill hyphenpath xscaled 2;
86 endchar;
87
88 beginchar("(",1.5pwid#,cap#,dep#); "The open parenthesis, (";
89
90 z0 = (w,h+o);
91 z1 = (w,-dep-o);
92 z2 = (ss,(h-dep)/2);
93 z3 = z2 shifted (thickl,0);
94
95 path parenpath;
96 parenpath = z1{dir 150}..{up}z3{up}..{dir 30}z0{dir
97 200}..{down}z2{down}..{dir -20}z1..cycle;
98 fill parenpath;
99
100 paren := currentpicture;
101
102 penlabels(0,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);
103 endchar;
104
105 beginchar(")",1.5pwid#,cap#,dep#); "The close parenthesis, )";
106 pair center; center = (w/2,(h-dep)/2);
107 fill parenpath rotatedaround (center,180);
108
109 endchar;
110
111 beginchar(":",pwid#,ex#,0); "The colon, :";
112
113 fill period;
114 fill period shifted (0,ex-2dotwid-o);
115
116 endchar;
117
118 beginchar(";",pwid#,ex#,0); "The semicolon, ;";
119
120 fill period shifted (0,ex-2dotwid-o);
121 fill commapost;
122
123 endchar;
124
125 beginchar(oct"140",pwid#,cap#,0); "The open quote, `";
126
127 fill commapost rotatedaround ((w/2,h/2),180)
128 shifted (0,-0.5pwid);
129
130 endchar;
131
132 beginchar(oct"020",1.75pwid#,cap#,0); "The open double quote, ``";
133
134 fill commapost rotatedaround ((w/2,h/2),180)
135 shifted (0,-2dotwid);
136 fill commapost rotatedaround ((w/2,h/2),180)
137 shifted (-0.75pwid,-2dotwid);
138
139 opendoublequote := currentpicture;
140
141 endchar;
142
143 beginchar(oct"021",1.75pwid#,cap#,0); "The close double quote, ''";
144
145 fill commapost shifted (0pwid,h-2dotwid);
146 fill commapost shifted (0.75pwid,h-2dotwid);
147
148 endchar;
149
150 beginchar(oct"022",1.75pwid#,cap#,0); "The baseline open double quote, ,,";
151
152 fill commapost shifted (0pwid,0);
153 fill commapost shifted (0.75pwid,0);
154
155 endchar;
156
157 beginchar("?",digwid#+2ss#,cap#,0); "The question mark, ?";
158
159 z0 = (w/2,h+o);
160 z1 = z0 shifted (0,-thinl);
161 z2 = (w-ss,3h/4);
162 z3 = z2 shifted (-curvl,0);
163 z4 = (ss,3h/4);
164 z5 = (w/2-thickl/2,3dotwid);
165 z6 = z5 shifted (thickl,0);
166 z7 = (w/2-thickl/2,h/2);
167 z8 = z7 shifted (thickl,0);
168 z9 = z7 shifted (0,thinl);
169 z10 = z9 shifted (thickl,0);
170
171 drtbulb(4,11,12,13,14);
172
173 fill
174 z4{up}..{right}z0{right}..{down}z2{down}..{left}z8--z6--z5--z7{up}..{right}z10..{up}z3{up}..{left}z1{left}..{dir
175 -115}z13{right}..z12..z11..cycle;
176 z16 = 0.5[z5,z6]; y16 := dotwid;
177 fill fullcircle scaled 2dotwid shifted z16;
178
179 questionmark := currentpicture;
180
181 penlabels(0,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);
182 endchar;
183
184 beginchar(oct"041",1.5pwid#,cap#,0); "The exclamation point, !";
185
186 z0 = (w/2-thickl/2,h);
187 z1 = z0 shifted (thickl/2,o);
188 z2 = z0 shifted (thickl,0);
189 z3 = (x0+o,3dotwid);
190 z4 = (x2-o,y3);
191 z5 = 0.5[z3,z4] shifted (0,-o);
192
193 fill z0..z1..z2--z4..z5..z3--cycle;
194 fill fullcircle scaled 2dotwid shifted (x5,dotwid);
195
196
197 bang := currentpicture;
198
199 penlabels(0,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);
200 endchar;
201
202 beginchar(oct"275",1.5pwid#,cap#,dep#); "The reverse exclamation point";
203
204 currentpicture := bang rotatedaround ((w/2,(h-dep)/2),180);
205
206 endchar;
207
208 beginchar(oct"276",digwid#+2ss#,cap#,dep#); "The reverse question mark";
209
210 currentpicture := questionmark rotatedaround ((w/2,(h-dep)/2),180);
211
212 endchar;
213
214 beginchar(oct"016",pwid#+2ss#,ex#,0); "Left single guillemet";
215
216 z0 = (o,h/2);
217 z1 = (w-3o,7h/8);
218 z2 = (w-3o,h/8);
219 z3 = 0.5[z0,z1];
220 z4 = 0.5[z0,z2];
221 z5 = 0.1[z3,z2];
222 z6 = 0.1[z4,z1];
223 z7 = z0 shifted (curvl,0);
224 z8 = 0.5[z3,z12];
225 z9 = 0.5[z4,z12];
226 z10 = z1 shifted (2o,0);
227 z11 = z2 shifted (2o,0);
228 z12 = (w,h/2);
229
230 path guillone; path guilltwo;
231 guillone = z0{dir 10}..z5..{dir 60}z1..z10{dir -100}..z8..z7--cycle;
232 guilltwo = z0{dir -10}..z6..{dir -60}z2..z11{dir 100}..z9..z7--cycle;
233 fill guillone; fill guilltwo;
234
235 leftsinguill := currentpicture;
236
237 penlabels(0,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);
238 endchar;
239
240 beginchar(oct"017",pwid#+2ss#,ex#,0); "Right single guillemet";
241
242 fill guillone reflectedabout ((w/2,0),(w/2,h));
243 fill guilltwo reflectedabout ((w/2,0),(w/2,h));
244
245 endchar;
246
247 beginchar(oct"023",1.5pwid#+2ss#,ex#,0); "Left double guillemet";
248
249 fill guillone shifted (-o/2,0);
250 fill guillone shifted (pwid/2+o/2,0);
251 fill guilltwo shifted (-o/2,0);
252 fill guilltwo shifted (pwid/2+o/2,0);
253
254 leftdoubguill := currentpicture;
255
256 endchar;
257
258 beginchar(oct"024",1.5pwid#+2ss#,ex#,0); "Right double guillemet";
259
260 fill guillone shifted (-o/2,0)
261 rotatedaround ((w/2,h/2),180);
262 fill guillone shifted (pwid/2+o/2,0)
263 rotatedaround ((w/2,h/2),180);
264 fill guilltwo shifted (-o/2,0)
265 rotatedaround ((w/2,h/2),180);
266 fill guilltwo shifted (pwid/2+o/2,0)
267 rotatedaround ((w/2,h/2),180);
268 %fill guillone reflectedabout ((w/2,0),(w/2,h))
269 % shifted (-o/2,0);
270 %fill guillone reflectedabout ((w/2,0),(w/2,h))
271 % shifted (pwid/2+o/2,0);
272 %fill guilltwo reflectedabout ((w/2,0),(w/2,h))
273 % shifted (-o/2,0);
274 %fill guilltwo reflectedabout ((w/2,0),(w/2,h))
275 % shifted (pwid/2+o/2,0);
276
277 endchar;
278
279 beginchar(oct"030",1.4pwid#+2ss#,3ex#/4,0); "Lower 0 for pertriqua";
280
281 zeroh = 1.2pwid;
282 zerohh = 3ex/4;
283 z0 = (w/2,h);
284 z1 = z0 shifted (0,-thinl);
285 z2 = (w/2,0);
286 z3 = z2 shifted (0,thinl);
287 z4 = (w-ss,h/2);
288 z5 = z4 shifted (-1.7thinl,0);
289 z6 = (ss,h-zerohh/2);
290 z7 = z6 shifted (thinl,0);
291
292 fill z0..z4..z2..z6..cycle;
293 unfill z1..z5..z3..z7..cycle;
294
295 penlabels(0,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);
296 endchar;
297
298 beginchar(oct"052",ex#,ex#,0); "Asterisk, *";
299
300 z0 = (w/2,h/2);
301 z1 = (w/2,o);
302 z2 = (w/2,h-o);
303 z3 = z1 rotatedaround (z0,60);
304 z4 = z3 rotatedaround (z0,60);
305 z5 = z4 rotatedaround (z0,120);
306 z6 = z5 rotatedaround (z0,60);
307 z7 = z6 rotatedaround (z0,60);
308
309 pickup pencircle scaled thinl;
310
311 draw z2--z1;
312 draw z4--z6;
313 draw z5--z3;
314
315 penlabels(0,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);
316 endchar;
317
318 beginchar(oct"053",ex#,ex#,0); "Plus (addition) sign, +";
319
320 pickup pencircle scaled thinl;
321 top z0 = (w/2,h-o);
322 bot z1 = (w/2,o);
323 lft z2 = (o,h/2);
324 rt z3 = (w-o,h/2);
325
326 draw z0--z1;
327 draw z2--z3;
328
329 penlabels(0,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);
330 endchar;
331
332 beginchar(oct"057",ex#/2+2ss#,cap#,0); "The forward slash, /";
333
334 pickup pencircle scaled thinl;
335 lft z0 = (o,o);
336 rt z1 = (w-o,h-o);
337
338 draw z0--z1;
339
340 slash := currentpicture;
341
342 penlabels(0,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);
343 endchar;
344
345 beginchar(oct"134",ex#/2+2ss#,cap#,0); "The backslash, \";
346
347 currentpicture := slash reflectedabout ((w/2,h),(w/2,0));
348
349 endchar;
350
351 beginchar(oct"042",1.75pwid#,cap#,0); "straight double quote";
352
353 z0 = (w/2-thickl,h-o);
354 z1 = z0 shifted (2accwid,-2accwid);
355 z2 = z0 shifted (-2accwid,-2accwid);
356 z3 = z0 shifted (0,-1.5pwid);
357 z4 = z3 shifted (-accwid,o);
358 z5 = z3 shifted (accwid,o);
359
360 path singquote; singquote = z2..z0..z1--z5..z3..z4--cycle;
361
362 fill singquote;
363 fill singquote shifted (2thickl,0);
364
365 penlabels(0,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);
366 endchar;
367
368 beginchar("#",em#+ss#,cap#,dep#); "The pound sign, #";
369
370 full = h+d;
371
372 z0 = (0.33w-hair,0.25full-dep+hair) shifted (ss,ss);
373 z1 = (0.57w-hair,0.25full-dep+hair) shifted (ss,ss);
374 z2 = (0.33w+hair,0.5full-dep+hair) shifted (ss,ss);
375 z3 = (0.57w+hair,0.5full-dep+hair) shifted (ss,ss);
376 z4 = 2[z0,z2];
377 z5 = 2[z2,z0];
378 z6 = 2[z1,z3];
379 z7 = 2[z3,z1];
380 z8 = 2[z2,z3];
381 z9 = 2[z3,z2];
382 z10 = 2[z0,z1];
383 z11 = 2[z1,z0];
384
385 pickup pencircle scaled thinl;
386
387 draw z4--z5; draw z7--z6; draw z9--z8; draw z11--z10;
388
389 penlabels(0,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,100);
390 endchar;
391
392 beginchar("$",0.7em#+2ss#,cap#,0); "The dollar sign, $";
393
394 z0 = (w/2,h+o);
395 z1 = (w/2,0-o);
396 z2 = (w-ss,3h/4);
397 z3 = (w-ss,h/4);
398 z4 = (ss,3h/4);
399 z5 = (ss,h/4);
400 z6 = z4 shifted (curvl,0);
401 z7 = z3 shifted (-curvl,0);
402 z8 = z0 shifted (0,-thinl);
403 z9 = z1 shifted (0,thinl);
404
405 urtbulb(2,10,11,12,13);
406 ulftbulb(5,14,15,16,17);
407
408 fill
409 z2{up}..{left}z0{left}..{down}z4{down}..{down}z7{down}..{left}z9{left}..{dir
410 120}z16{right}..{up}z15{up}..{left}z14{left}..{down}z5{down}..{right}z1{right}..{up}z3{up}..{up}z6{up}..{right}z8{right}..{dir
411 -60}z12{left}..{down}z11{down}..{right}z10{right}..{up}cycle;
412
413 pickup pencircle scaled 1.2thinl;
414
415 z20 = (w/2-2thickl/4,h+o);
416 z21 = (w/2-2thickl/4,-o);
417 z22 = (w/2+2thickl/4,h+o);
418 z23 = (w/2+2thickl/4,-o);
419
420 draw z20--z21; draw z22--z23;
421
422 penlabels(0,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,100);
423 endchar;
424
425 beginchar("<",ex#,ex#,0); "The less than sign, <";
426
427 z0 = (2o,h/2);
428 z1 = (w-2o,h-o);
429 z2 = (w-2o,o);
430
431 pickup pencircle scaled thinl;
432
433 draw z1--z0--z2;
434
435 lessthan := currentpicture;
436
437 penlabels(0,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,100);
438 endchar;
439
440 beginchar(">",ex#,ex#,0); "The greater than sign, >";
441 currentpicture := lessthan reflectedabout ((w/2,h),(w/2,0));
442 penlabels(0,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,100);
443 endchar;
444
445 beginchar("=",ex#,ex#,0); "The equals sign, =";
446
447 z0 = (2o,h/3);
448 z1 = (w-2o,h/3);
449 z2 = (2o,2h/3);
450 z3 = (w-2o,2h/3);
451
452 pickup pencircle scaled thinl;
453
454 draw z0--z1;
455 draw z2--z3;
456
457 penlabels(0,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,100);
458 endchar;
459
460 beginchar("%",5em#/6,cap#,0); "The perbiqua sign, %";
461
462 z0 = (0.6zeroh,h);
463 z1 = z0 shifted (0,-thinl);
464 z2 = (0.6zeroh,h-zerohh);
465 z3 = z2 shifted (0,thinl);
466 z4 = (1.2zeroh,h-zerohh/2);
467 z5 = z4 shifted (-1.7thinl,0);
468 z6 = (ss,h-zerohh/2);
469 z7 = z6 shifted (thinl,0);
470
471 fill z0..z4..z2..z6..cycle;
472 unfill z1..z5..z3..z7..cycle;
473
474 z10 = (w-0.6zeroh,zerohh);
475 z11 = z10 shifted (0,-thinl);
476 z12 = (w-0.6zeroh,0);
477 z13 = z12 shifted (0,thinl);
478 z14 = (w-ss,zerohh/2);
479 z15 = z14 shifted (-1.7thinl,0);
480 z16 = (w-1.2zeroh,zerohh/2);
481 z17 = z16 shifted (thinl,0);
482
483 fill z10..z14..z12..z16..cycle;
484 unfill z11..z15..z13..z17..cycle;
485
486 z22 = (w-ss,h);
487 z23 = z22 shifted (0,-thinl);
488 z20 = 0.5[z0,z22] shifted (0,-0.25pwid);
489 z21 = z20 shifted (0,-thinl);
490 z24 = (ss,-o);
491 z25 = z24 shifted (0,0.75thinl);
492 z26 = z24 shifted (0.75thinl,0);
493 z27 = z23 shifted (-1.5thinl,-hair);
494
495 fill z0..z20..z22--z23--z26..z24..z25--z27..z21..z1--cycle;
496
497
498 penlabels(0,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,100);
499 endchar;
500
501 beginchar("&",3em#/4,cap#,0); "The ampersand, &";
502
503 z0 = (w-userw/2,4h/9);
504 z1 = z0 shifted (-thickl,0);
505 z2 = (w/2,0-o);
506 z3 = z2 shifted (0,thinl);
507 z4 = (ss,h/3);
508 z5 = z4 shifted (thickl,0);
509 z6 = (w/2-thickl/2-hair/2,h-2userh);
510 z7 = z6 shifted (thickl-o,0);
511 z8 = (w/2-hair/2,h+o);
512 z9 = (w-ss,0);
513 z10 = z9 shifted (-thinl,0);
514 z11 = z6 shifted (-thinl,0);
515 z12 = z7 shifted (thinl,0);
516 z13 = z8 shifted (0,-thinl);
517 z14 = z1 shifted (-hair,hair/2);
518 z15 = z0 shifted (hair,hair/2);
519 z16 = z14 shifted (0,hair/2);
520 z17 = z15 shifted (0,hair/2);
521 z18 = 0.5[z1,z14];
522 z19 = 0.5[z0,z15];
523
524 pickup pencircle scaled 1;
525 fill
526 z10..z11..{right}z8{right}..z12..z5..{right}z3{right}..{up}z1..z18..z14--z16--z17--z15..z19..z0{down}..{left}z2{left}..{up}z4{up}..z7..{left}z13{left}..z6..z9--cycle;
527 penlabels(0,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,100);
528 endchar;
529
530 beginchar("[",2pwid#,cap#+ss#,dep#); "The open square bracket, [";
531
532 z0 = (w-ss,h);
533 z1 = z0 shifted (0,-thinl);
534 z2 = (ss,h);
535 z3 = z2 shifted (thinl,-thinl);
536 z4 = (ss,-dep);
537 z5 = z4 shifted (thinl,thinl);
538 z6 = (w-ss,-dep);
539 z7 = z6 shifted (0,thinl);
540 z8 = 0.5[z0,z1] shifted (0,0);
541 z9 = 0.5[z7,z6] shifted (0,0);
542
543 path squarebrack;
544 squarebrack = z0--z2--z4--z6--z7--z5--z3--z1--cycle;
545 fill squarebrack;
546
547 opensquare := currentpicture;
548
549 penlabels(0,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,100);
550 endchar;
551
552 beginchar("]",2pwid#,cap#+ss#,dep#); "The close square bracket, ]";
553 fill squarebrack rotatedaround ((w/2,(h-dep)/2),180);
554 endchar;
555
556 beginchar("|",pwid#/2,cap#+ss#,dep#); "The pipe, |";
557
558 z0 = (w/2,h-o);
559 z1 = (w/2,-dep+o);
560
561 pickup pencircle scaled thinl;
562 draw z0--z1;
563
564 endchar;
565
566 beginchar("{",1.8pwid#,cap#+ss#,dep#); "The open curly bracket, {";
567
568 brackwid = 2thinl;
569 toth = h+d;
570 pickup pencircle xscaled brackwid yscaled (thinl);
571 top rt z0 = (w-ss,h);
572 bot rt z1 = (w-ss,-dep);
573 lft z2 = (ss,h-toth/2);
574 z3 = (3(x0-x2)/4,h-toth/4);
575 z4 = (3(x0-x2)/4,h-3toth/4);
576
577 path curlybrack;
578 curlybrack = z0{left}..{down}z3..{left}z2{right}..z4{down}..{right}z1;
579 draw curlybrack;
580
581 penlabels(0,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,100);
582 endchar;
583
584 beginchar("}",1.8pwid#,cap#+ss#,dep#); "The close curly bracket, }";
585 pickup pencircle xscaled brackwid yscaled (thinl);
586 draw curlybrack rotatedaround ((w/2,(h-dep)/2),180);
587 endchar;
588
589 beginchar(oct"237",4ex#/5,cap#,dep#); "The section symbol";
590
591 sh = 2toth/3-thinl+o;
592 z0 = (w-ss,h-sh/4);
593 z1 = (w/2,h+o);
594 z2 = z1 shifted (0,-thinl);
595 z3 = (ss,h-sh/4);
596 z4 = z3 shifted (thinl,0);
597 z5 = (w-ss,h-3sh/4);
598 z6 = z5 shifted (-thinl,0);
599 z7 = (w/2,h-sh);
600 z8 = z7 shifted (0,-thinl);
601 z9 = (w/2,h-sh/2+curvl/2);
602 z10 = z9 shifted (0,-curvl);
603 z11 = z0 shifted (-thinl,0);
604 z12 = 0.5[z0,z11] shifted (0,-o);
605 z13 = (ss,h-3sh/4);
606 z14 = z13 shifted (thinl,0);
607 z15 = 0.5[z13,z14] shifted (0,hair/2);
608
609 path halfsect;
610 halfsect =
611 z0{up}..{left}z1{left}..{down}z3{down}..z10..{down}z6{down}..{left}z7{left}..{up}z14..z15..{down}z13{down}..{right}z8{right}..{up}z5{up}..z9..{up}z4{up}..{right}z2{right}..{down}z11..z12..cycle;
612 fill halfsect;
613 fill halfsect shifted (0,-sh/2);
614
615 penlabels(0,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,100);
616 endchar;
617
618 beginchar(oct"277",5em#/6+2ss#,cap#,0); "The British pound sign";
619
620 z0 = (3w/4,h+o);
621 z1 = z0 shifted (0,-thinl);
622 z2 = (w-ss-hair,4h/5);
623 z3 = z2 shifted (-thinl,0);
624 z4 = 0.5[z2,z3] shifted (0,-hair/2);
625 z5 = (0.5w,4h/5);
626 z6 = z5 shifted (-thickl,0);
627 z7 = (w/2+thickl/2,h/4);
628 z8 = z7 shifted (-thickl,0);
629 z9 = (x8-thickl,-hair/4);
630 z10 = z9 shifted (0,thinl);
631 z12 = (ss,h/5);
632 z13 = z12 shifted (thickl,0);
633 z14 = 0.5[z8,z7] shifted (0,-thinl);
634 z15 = z14 shifted (0,1.3thinl);
635 z16 = (3w/4,-hair/4);
636 z17 = z16 shifted (0,thinl);
637 z18 = (w-ss-hair,userw);
638 z19 = z18 shifted (0,thinl);
639 z20 = 0.5[z18,z19] shifted (hair,0);
640
641 z21 = (2ss,0.6h);
642 z22 = (w-2ss,0.6h);
643
644 fill
645 z2{up}..{left}z0{left}..z6..z8..{left}z10{left}..{up}z13{up}..z14..{right}z16{right}..z18..z20..z19{dir
646 200}..{left}z17{left}..z15..z12..z9..z7..z5..{right}z1{right}..{down}z3..z4..cycle;
647
648 pickup pencircle scaled thinl;
649
650 draw z21--z22;
651
652 penlabels(0,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,100);
653 endchar;
654
655 beginchar(oct"100",em#,cap#,0); "The at sign, @";
656
657 z0 = (w/4-o,h/2);
658 z1 = (3w/4-o,h/2);
659 z2 = (w/2-o,3h/4);
660 z3 = (w/2-o,h/4);
661 z4 = z2 shifted (0,-thinl);
662 z5 = z3 shifted (0,thinl);
663 z6 = z0 shifted (thickl,0);
664 z7 = z1 shifted (-0.8thickl,0);
665 z8 = (x7,y5+2thinl);
666 z9 = (x1,y5+2thinl);
667 z10 = (x7,y3+2thinl);
668 z11 = (x1,y3+2thinl);
669 z12 = z11 shifted (thinl,-thinl);
670 z13 = z12 shifted (0,-thinl);
671 z14 = (w-o,h/2);
672 z15 = z14 shifted (-thinl,0);
673 z16 = (w/2,h);
674 z17 = z16 shifted (0,-thinl);
675 z18 = (o,h/2);
676 z19 = z18 shifted (thinl,0);
677 z20 = (w/2,0);
678 z21 = z20 shifted (0,thinl);
679 z22 = z12 shifted (thickl,-thickl);
680 z23 = z22 shifted (0,-thinl);
681 z24 = 0.5[z22,z23] shifted (o,0);
682 z25 = (x7,y2-thinl/2);
683 z26 = (x1,y2-thinl/2);
684
685 fill z0..z2..z1..z3..cycle;
686 unfill z6..z4..z7..z5..cycle;
687 fill
688 z26--z1--z11..z12..{up}z15{up}..{left}z17{left}..{down}z19{down}..{right}z21{right}..z22{dir
689 30}..z24..z23{dir -150}..{left}z20{left}..{up}z18{up}..{right}z16{right}..{down}z14{down}..{left}z13{left}..z10--z7--z25--cycle;
690
691 penlabels(0,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,100);
692 endchar;