Debian Codegraph @

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

raw
1 % +AMDG This document was begun on 9 June 11EX, the
2 % commemoration of Ss. Primus and Felicianus, M, and it is
3 % humbly dedicated to them and to the Immaculate Heart of
4 % Mary for their prayers, and to the Sacred Heart of Jesus
5 % for His mercy.
6
7 beginchar("1",0.6ex#+2ss#,ex#,0); "The digit 1";
8 italcorr(ex#*slant);
9
10 pickup pencircle scaled thinl;
11 penpos0(thickl,0);
12 z0 = (w/2,h);
13 penpos1(thinl,-90);
14 z1 = (w/2-2curlw,h-2curlh);
15 penpos2(thickl,0);
16 z2 = (w/2,0);
17
18 penstroke z1e{right}..{up}z0e;
19 penstroke z0e--z2e;
20
21
22 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);
23 endchar;
24
25 beginchar("2",digwid#+2ss#,cap#,0); "The digit 2";
26 italcorr(ex#*slant);
27
28 penpos0(thinl,90);
29 z0 = (w/2,5h/6);
30 penpos1(thinl,0);
31 z1 = (3w/5,3h/4);
32 penpos2(thinl,-90);
33 z2 = (w/2,3h/5);
34 penpos3(thinl,180);
35 z3 = (2w/5,(y0l+y2l)/2);
36 penpos4(thickl,180);
37 z4r = (ss,3h/4);
38 penpos5(thinl,90);
39 z5r = (w/2,h+o);
40 penpos6(thickl,0);
41 z6r = (w-ss,y4);
42 penpos8(0.7thickl,-45);
43 z8 = (w/2,2h/5);
44 penpos7(thinl,-90);
45 z7r = (ss,0-o);
46 penpos9(1.75thinl,-90);
47 z9r = (w/3,y7l);
48 penpos10(2thinl,-90);
49 z10r = (2w/3,0-o);
50 penpos11(thickl,-90);
51 z11r = (w-ss,y10);
52
53 penstroke z3e..z0e..z1e..z2e..z4e..z5e..z6e..z8e..z7e;
54 penstroke z7e..z9e..z10e..z11e;
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 beginchar("3",digwid#+2ss#,cap#,dep#); "The digit 3";
60 italcorr(ex#*slant);
61
62 penpos0(thickl,0);
63 z0l = (ss,3h/4-dep);
64 penpos1(thinl,-90);
65 z1l = (w/2,h+o-dep);
66 penpos2(thickl,180);
67 z2l = (w-ss,3h/4-dep);
68 penpos3(thinl,90);
69 z3 = (w/2,h/2-dep);
70 penpos4(thickl,0);
71 z4r = (w-ss,h/4-dep);
72 penpos5(thinl,-90);
73 z5r = (w/2,0-o-dep);
74 penpos6(thickl,180);
75 z6r = (ss,h/4-dep);
76 penpos7(1.5thinl,90);
77 z7 = z0 shifted (curlw,-curlh);
78 penpos8(thinl,180);
79 z8 = z7 shifted (curlw,curlh);
80 penpos9(thinl,-90);
81 z9 = z8 shifted (-curlw/2,curlh/2);
82 penpos10(1.5thinl,90);
83 z10 = z6 shifted (curlw,curlh);
84 penpos11(thinl,0);
85 z11 = z10 shifted (curlw,-curlh);
86 penpos12(thinl,-90);
87 z12 = z11 shifted (-curlw/2,-curlh/2);
88
89 penstroke z9e..z8e..z7e..z0e{up}..z1e..z2e..z3e;
90 penstroke z3e..z4e..z5e..{up}z6e..z10e..z11e..z12e;
91
92 picture three; three := currentpicture;
93 currentpicture := three;
94
95 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);
96 endchar;
97
98 beginchar("4",digwid#+2ss#,cap#,dep#); "The digit 4";
99 italcorr(ex#*slant);
100
101 penpos0(thickl,0);
102 z0r = (5w/6,h+o-dep);
103 penpos1(thickl,0);
104 z1r = (5w/6,0-dep);
105 penpos2(thickl,0);
106 z2r = (0.6w,h+o-dep);
107 penpos3(thickl,0);
108 z3l = (ss,h/3-dep);
109 penpos4(thinl,-45);
110 z4l = z3l;
111 penpos5(thinl,-45);
112 z5 = (w-ss,y4);
113 penpos6(thickl,0);
114 z6 = 0.25[z3,z2];
115 z8 = (x1,y3);
116 penpos7(thickl,0);
117 z7 = 0.15[z8,z0];
118 penpos9(0.75thickl,0);
119 z9 = 0.65[z3,z2];
120 penpos10(0.75thickl,0);
121 z10 = 0.5[z8,z0];
122 penpos11(0.5thickl,0);
123 z11 = 0.9[z3,z2];
124 penpos12(0.5thickl,0);
125 z12 = 0.8[z8,z0];
126 penpos13(thinl,0);
127 z13 = z2;
128 penpos14(thinl,0);
129 z14 = z0;
130
131 penstroke z3e--z6e--z9e--z11e--z13e;
132 penstroke z1e--z7e--z10e--z12e--z14e;
133 penstroke z4e--z5e;
134
135 picture four; four := currentpicture;
136 currentpicture := four;
137
138 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);
139 endchar;
140
141 beginchar("5",digwid#+2ss#,cap#,dep#); "The digit 5";
142 italcorr(ex#*slant);
143
144 penpos0(thickl,90);
145 z0r = (w-ss-thickl/2,h+o-dep);
146 penpos1(thickl,90);
147 z1r = (ss+thickl/2,h+o-dep);
148 penpos2(thickl,90);
149 z2 = (ss+thickl/3,h/2-dep);
150 penpos3(thickl,0);
151 z3r = (w-ss,h/3-dep);
152 penpos4(thinl,-90);
153 z4r = (w/2,0-o-dep);
154 penpos5(thickl,180);
155 z5r = (ss,h/5-dep);
156 penpos6(thinl,0);
157 z6l = z1l;
158 penpos7(thinl,0);
159 z7l = z2r;
160 penpos8(1.5thinl,90);
161 z8 = z5 shifted (curlw,curlh);
162 penpos9(thinl,0);
163 z9 = z8 shifted (curlw,-curlh);
164
165 penstroke z0e--z1e--z2e;
166 penstroke z6e--z7e;
167 penstroke z2e..z3e..z4e..z5e..z8e..z9e;
168
169 picture five; five := currentpicture;
170 currentpicture := five;% shifted (0,-dep);
171
172 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);
173 endchar;
174
175 beginchar("6",digwid#+2ss#,cap#,0); "The digit 6";
176 italcorr(ex#*slant);
177
178 penpos0(thinl,90);
179 z0r = (2w/3,h+o);
180 penpos1(2thinl,180);
181 z1r = (ss+thinl,2h/3);
182 penpos2(thickl,180);
183 z2r = (ss,ex/2);
184 penpos3(thinl,-90);
185 z3r = (w/2,0-o);
186 penpos4(thickl,0);
187 z4r = (w-ss,ex/2);
188 penpos5(thinl,90);
189 z5r = (w/2,ex+o);
190 penpos6(thinl,0);
191 z6l = z0l;
192 penpos7(thinl,-90);
193 z7l = z6l;
194 penpos8(thinl,180);
195 z8l = z7l;
196
197 penstroke z5e..z2e..z3e..z4e..cycle;
198 penstroke z0e..z1e..z2e;
199
200 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);
201 endchar;
202
203 beginchar("9",digwid#+3ss#,cap#,dep#); "The digit 9";
204 italcorr(ex#*slant);
205
206 penpos0(thinl,90);
207 z0l = (w/3,0-o-dep);
208 penpos1(2thinl,180);
209 z1l = (w-2ss-thinl,h/3-dep);
210 penpos2(thickl,180);
211 z2l = (w-2ss,h-ex/2-dep);
212 penpos3(thinl,90);
213 z3l = (w/2,h-ex-o-dep);
214 penpos4(thickl,0);
215 z4l = (ss,h-ex/2-dep);
216 penpos5(thinl,-90);
217 z5l = (w/2,h+o-dep);
218
219 penstroke z5e..z2e..z3e..z4e..cycle;
220 penstroke z0e..z1e..z2e;
221
222 picture nine; nine := currentpicture;
223 currentpicture := nine;
224
225 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);
226 endchar;
227
228 beginchar("7",digwid#+2ss#,cap#,dep#); "The digit 7";
229 italcorr(ex#*slant);
230
231 penpos0(thickl,90);
232 z0r = (ss,h+o-dep);
233 penpos1(thickl,90);
234 z1r = (w-ss,h+o-dep);
235 penpos2(1.5thinl,180);
236 z2 = (w/3,h/2-dep);
237 penpos3(thickl,180);
238 z3r = (w/3,0-dep);
239 penpos4(thinl,45);
240 z4 = (ss,h/2-dep);
241 penpos5(thinl,45);
242 z5 = 2[z4,z2] shifted (thickl,thickl);
243 penpos6(thinl,45);
244 z6 = z4 shifted (0,thickl);
245
246 penstroke z0e--z1e;
247 penstroke z1e..z2e..z3e;
248 penstroke z6e--z5e;
249
250 picture seven; seven := currentpicture;
251 currentpicture := seven;
252
253 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);
254 endchar;
255
256 beginchar("8",digwid#+2ss#,cap#,0); "The digit 8";
257 italcorr(ex#*slant);
258
259 penpos0(thinl,90);
260 z0r = (w/2,h+o);
261 penpos1(1.75thinl,0);
262 z1r = (w-ss,3h/4);
263 penpos2(1.75thinl,0);
264 z2l = (ss,h/4);
265 penpos3(thickl,180);
266 z3r = (ss,3h/4);
267 penpos4(thickl,180);
268 z4l = (w-ss,h/4);
269 penpos5(thinl,90);
270 z5l = (w/2,0-o);
271 penpos6(thinl,-45);
272 z6 = (w/2,h/2);
273 penpos7(thickl/2,-135);
274 z7 = z6;
275
276 penstroke
277 z0e{right}..{down}z1e{down}..z6e..{down}z2e{down}..{right}z5e{right}..{up}z4e{up}..z7e..{up}z3e{up}..{right}cycle;
278
279 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);
280 endchar;
281
282 beginchar("0",0.9digwid#+2ss#,ex#,0); "The digit 0";
283 italcorr(ex#*slant);
284
285 penpos0(thinl,90);
286 z0r = (w/2,h+o);
287 penpos1(thickl,0);
288 z1r = (w-ss,h/2);
289 penpos2(thinl,-90);
290 z2r = (w/2,0-o);
291 penpos3(thickl,180);
292 z3r = (ss,h/2);
293
294 penstroke z0e..z1e..z2e..z3e..cycle;
295
296 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);
297 endchar;