Debian Codegraph @

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