Debian Codegraph @

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

raw
1 % +AMDG This document was begun on 1X September 11EX, the
2 % feast of St. Thomas of Villanova, EC, and the
3 % commemoration of Ss. Maurice and Companions, MM, and it is
4 % humbly dedicated to them and to the Immaculate Heart of
5 % Mary for their prayers, and to the Sacred Heart of Jesus
6 % for His mercy.
7
8 beginchar("1",0.7digwid#+ss#,cap#,0); "Superior digit 1";
9 italcorr(ex#*slant);
10
11 z0 = (w/2-thickstroke/2,h);
12 z1 = z0 shifted (thickstroke,0);
13 z2 = (w/2-thickstroke/2,h/2+lserh);
14 z3 = z2 shifted (thickstroke,0);
15 lrserif(3,4,5,6,7)(1);
16 llserif(2,9,10,11,12)(1);
17 z13 = (x10,y0-thinstroke);
18 z14 = z13 shifted (0,-thinstroke);
19 z15 = (z14--(w,y14)) intersectionpoint (z0--z2);
20 y6 := y11 := h/2;
21
22 path supone; supone = z13{right}..z0--z1--z3..z4..z5--z6--
23 z11--z10..z9..z2--z15--z14--cycle;
24 fill supone shifted (0,-h/2);
25
26 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);
27 endchar;
28
29 beginchar("2",0.7digwid#+ss#,cap#,0); "Superior digit 2";
30 italcorr(ex#*slant);
31
32 z0 = (w/2,h);
33 z1 = z0 shifted (0,-thinstroke);
34 z2 = (w-ss/2,5h/6);
35 z3 = z2 shifted (-thickstroke,0);
36 z4 = (ss/2,5h/6);
37 ulftbulb(4,5,6,7,8);
38 z9 = (z5--z7) intersectionpoint (z6--z4) shifted
39 (thinstroke/2,thinstroke/2);
40 z10 = (ss/2,h/2);
41 z11 = z10 shifted (0,thickstroke/2);
42 z12 = (w-ss/2,y10);
43 z13 = (x12,y11+thinstroke);
44 z14 = z13 shifted (-thinstroke,0);
45 z15 = (x14,y11);
46 z16 = z11 shifted (thickstroke,0);
47
48 path suptwo; suptwo = z15--z14--z13--z12--z10--z11{dir 45}..
49 z3..z1{left}..{dir -135}z5{right}..z6..z7..z4..z0..z2..
50 {dir -135}z16--cycle;
51 fill suptwo shifted (0,-h/2);
52
53 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);
54 endchar;
55
56 beginchar("3",0.7digwid#+ss#,cap#,0); "Superior digit 3";
57 italcorr(ex#*slant);
58
59 z0 = (w/2,h);
60 z1 = z0 shifted (0,-thinstroke);
61 z2 = (w/2,h/2);
62 z3 = z2 shifted (0,thinstroke);
63 z4 = (w-ss/2,7h/8);
64 z5 = z4 shifted (-thickstroke,0);
65 z6 = (w-ss/2,5h/8);
66 z7 = z6 shifted (-thickstroke,0);
67 z8 = (ss/2,7h/8);
68 z9 = (ss/2,5h/8);
69 ulftbulb(8,10,11,12,13);
70 y10 := y10 - bulbsh/2;
71 z14 = z9 shifted (bulbsh,bulbsh);
72 z15 = z9 shifted (2bulbsh,0);
73 z16 = z9 shifted (bulbsh,-bulbsh);
74 y16 := y16 + bulbsh/2;
75 z17 = (x0-thinstroke,3h/4+thinstroke/2);
76 z18 = z17 shifted (0,-thinstroke);
77 z19 = 0.5[z17,z18] shifted (thickstroke,0);
78
79 path supthree; supthree = z8{up}..{right}z0{right}..
80 {down}z4{down}..{left}z19{right}..{down}z6{down}..
81 {left}z2{left}..{up}z9..z14..z15{down}..
82 {left}z16{dir -30}..z3..z7..{left}z18--z17{right}..
83 z5..z1..{dir -135}z10{right}..{down}z11..z12..cycle;
84 pickup pencircle scaled 2;
85 fill supthree shifted (0,-h/2);
86
87 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);
88 endchar;
89
90 beginchar("4",0.7digwid#+ss#,cap#,0); "Superior digit 4";
91 italcorr(ex#*slant);
92
93 z0 = (5w/6,h+o);
94 z1 = (x0,h/2+lserh);
95 z2 = z1 shifted (-thickstroke,0);
96 lrserif(1,3,4,5,6)(1);
97 llserif(2,7,8,9,10)(1);
98 y9 := y5 := h/2;
99 x8 := x9 := (x8 + lserw/2);
100 x4 := x5 := (x4 - lserw/2);
101 z11 = (x2,4h/6);
102 z12 = (ss/2,y11);
103 z13 = z11 shifted (0,thinstroke);
104 z14 = z12 shifted (thinstroke,0);
105 z15 = z0 shifted (0,-thinstroke);
106 z16 = (z14--z15) intersectionpoint (z13--(0,y13));
107 z17 = (z14--z15) intersectionpoint (z13--(x13,h));
108
109 pickup pencircle scaled 2;
110 path supfour; supfour = z0--z1{down}..{right}z4--z5--z9--
111 z8{right}..{up}z2--z11--z12--cycle;
112 path insidefour; insidefour = z16--z17--z13--cycle;
113 fill supfour shifted (0,-h/2);
114 unfill insidefour shifted (0,-h/2);
115
116 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);
117 endchar;
118
119 beginchar("5",0.7digwid#+ss#,cap#,0); "Superior digit 5";
120 italcorr(ex#*slant);
121
122 z0 = (7w/8,h);
123 z1 = (w/8,h);
124 z2 = z0 shifted (0,-3thinstroke);
125 z3 = z1 shifted (0,-4.5thinstroke);
126 z4 = z2 shifted (-thinstroke,0);
127 z5 = z4 shifted (0,thinstroke);
128 z6 = (w-ss/2,0.63h);
129 z7 = (w/2,h/2);
130 z8 = (ss/2,y6);
131 ulftbulb(8,9,10,11,12);
132 z13 = z7 shifted (0,thinstroke);
133 z14 = z6 shifted (-thickstroke,0);
134 z15 = z3 shifted (thinstroke,2.5thinstroke);
135 z16 = z3 shifted (thinstroke,thinstroke);
136
137 pickup pencircle scaled 2;
138 path supfive; supfive = z5--z4--z2--z0--z1--z3{right}..
139 z14..z13..{dir 150}z11{right}..z10..z9..z8..z7..z6..
140 {left}z16--z15--cycle;
141 fill supfive shifted (0,-h/2);
142
143 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);
144 endchar;
145
146 beginchar("7",0.7digwid#+ss#,cap#,0); "Superior digit 7";
147 italcorr(ex#*slant);
148
149 z0 = (ss/2,h);
150 z1 = (x0,y0-thickstroke-thinstroke);
151 z2 = z1 shifted (thinstroke,0);
152 z3 = z2 shifted (0,thinstroke);
153 z4 = (w-ss/2,y3);
154 z5 = (w-ss/2,h);
155 z6 = (w/2-thickstroke,h/2);
156 z7 = z6 shifted (thickstroke,0);
157 z8 = z4 shifted (-thinstroke,0);
158
159 path supsev; supsev = z6{up}..z8--z3--z2--z1--z0--z5--
160 z4..{down}z7--cycle;
161 fill supsev shifted (0,-h/2);
162
163 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);
164 endchar;
165
166 beginchar("8",0.7digwid#+ss#,cap#,0); "Superior digit 8";
167 italcorr(ex#*slant);
168
169 z0 = (w/2,h);
170 z1 = z0 shifted (0,-thinstroke);
171 z2 = (w/2,3h/4+thinstroke);
172 z3 = z2 shifted (0,-thinstroke);
173 z4 = (w/2,h/2);
174 z5 = z4 shifted (0,thinstroke);
175 z6 = (w-ss/2,7h/8);
176 z7 = z6 shifted (-thickstroke,0);
177 z8 = (ss/2,7h/8);
178 z9 = z8 shifted (thickstroke,0);
179 z10 = (w-ss/2,5h/8);
180 z11 = z10 shifted (-thickstroke,0);
181 z12 = (ss/2,5h/8);
182 z13 = z12 shifted (thickstroke,0);
183
184 path upperloop; upperloop = z0..z6..z3..z8..cycle;
185 path unupperloop; unupperloop = z1..z7..z2..z9..cycle;
186 path lowerloop; lowerloop = z2..z10..z4..z12..cycle;
187 path unlowerloop; unlowerloop = z3..z11..z5..z13..cycle;
188
189 fill upperloop shifted (0,-h/2);
190 fill lowerloop shifted (0,-h/2);
191 unfill unupperloop shifted (0,-h/2);
192 unfill unlowerloop shifted (0,-h/2);
193
194 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);
195 endchar;
196
197 beginchar("0",0.7digwid#+1.4ss#,cap#,0); "Superior digit 0";
198 italcorr(ex#*slant);
199
200 z0 = (w/2,h);
201 z1 = (0.7ss,3h/4);
202 z2 = (w/2,h/2);
203 z3 = (w-0.7ss,3h/4);
204 z4 = z0 shifted (0,-thinstroke);
205 z5 = z3 shifted (-thickstroke,0);
206 z6 = z2 shifted (0,thinstroke);
207 z7 = z1 shifted (thickstroke,0);
208
209 path supzero; supzero = z0..z3..z2..z1..cycle;
210 path unsupzero; unsupzero = z4..z5..z6..z7..cycle;
211 fill supzero shifted (0,-h/2);
212 unfill unsupzero shifted (0,-h/2);
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("6",0.7digwid#+ss#,cap#,0); "Superior digit 6";
218 italcorr(ex#*slant);
219
220 penpos0(thinl,90);
221 z0r = (2w/3,h);
222 penpos1(2thinl,180);
223 z1r = (ss+thinl,h/2+h/3);
224 penpos2(thickl,180);
225 z2r = (ss,5h/8);
226 penpos3(thinl,-90);
227 z3r = (w/2,h/2);
228 penpos4(thickl,0);
229 z4r = (w-ss,5h/8);
230 penpos5(thinl,90);
231 z5r = (w/2,0.8h);
232 penpos6(thinl,0);
233 z6l = z0l;
234 penpos7(thinl,-90);
235 z7l = z6l;
236 penpos8(thinl,180);
237 z8l = z7l;
238
239 penstroke (z5e..z2e..z3e..z4e..cycle) shifted (0,-h/2);
240 penstroke (z0e..z1e..z2e) shifted (0,-h/2);
241
242 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);
243 endchar;
244
245 beginchar("9",0.7digwid#+ss#,cap#,0); "Superior digit 9";
246 italcorr(ex#*slant);
247
248 penpos0(thinl,90);
249 z0r = (2w/3,h);
250 penpos1(2thinl,180);
251 z1r = (ss+thinl,h/2+h/3);
252 penpos2(thickl,180);
253 z2r = (ss,5h/8);
254 penpos3(thinl,-90);
255 z3r = (w/2,h/2);
256 penpos4(thickl,0);
257 z4r = (w-ss,5h/8);
258 penpos5(thinl,90);
259 z5r = (w/2,0.8h);
260 penpos6(thinl,0);
261 z6l = z0l;
262 penpos7(thinl,-90);
263 z7l = z6l;
264 penpos8(thinl,180);
265 z8l = z7l;
266
267 penstroke ((z5e..z2e..z3e..z4e..cycle) reflectedabout
268 ((0,3h/4),(w,3h/4))) shifted (0,-h/2);
269 penstroke ((z0e..z1e..z2e) reflectedabout
270 ((0,3h/4),(w,3h/4)) reflectedabout
271 ((w/2,h),(w/2,0))) shifted (0,-h/2);
272
273 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);
274 endchar;
275
276 beginchar("X",0.7digwid#+ss#,cap#,0); "Superior digit X";
277 italcorr(ex#*slant);
278
279 z0 = (w/2,h);
280 z1 = z0 shifted (0,-thinstroke);
281 z2 = (w-ss/2,5h/6);
282 z3 = z2 shifted (-thickstroke,0);
283 z4 = (ss/2,5h/6);
284 ulftbulb(4,5,6,7,8);
285 z9 = (z5--z7) intersectionpoint (z6--z4) shifted
286 (thinstroke/2,thinstroke/2);
287 z10 = (ss/2,h/2);
288 z11 = z10 shifted (0,thickstroke/2);
289 z12 = (w-ss/2,y10);
290 z13 = (x12,y11+thinstroke);
291 z14 = z13 shifted (-thinstroke,0);
292 z15 = (x14,y11);
293 z16 = z11 shifted (thickstroke,0);
294
295 path suptwo; suptwo = z15--z14--z13--z12--z10--z11{dir 45}..
296 z3..z1{left}..{dir -135}z5{right}..z6..z7..z4..z0..z2..
297 {dir -135}z16--cycle;
298 fill suptwo rotatedaround ((w/2,3h/4),180) shifted (0,-h/2);
299
300 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);
301 endchar;
302
303 beginchar("E",0.7digwid#+ss#,cap#,0); "Superior digit E";
304 italcorr(ex#*slant);
305
306 z0 = (w/2,h);
307 z1 = z0 shifted (0,-thinstroke);
308 z2 = (w/2,h/2);
309 z3 = z2 shifted (0,thinstroke);
310 z4 = (w-ss/2,7h/8);
311 z5 = z4 shifted (-thickstroke,0);
312 z6 = (w-ss/2,5h/8);
313 z7 = z6 shifted (-thickstroke,0);
314 z8 = (ss/2,7h/8);
315 z9 = (ss/2,5h/8);
316 ulftbulb(8,10,11,12,13);
317 y10 := y10 - bulbsh/2;
318 z14 = z9 shifted (bulbsh,bulbsh);
319 z15 = z9 shifted (2bulbsh,0);
320 z16 = z9 shifted (bulbsh,-bulbsh);
321 y16 := y16 + bulbsh/2;
322 z17 = (x0-thinstroke,3h/4+thinstroke/2);
323 z18 = z17 shifted (0,-thinstroke);
324 z19 = 0.5[z17,z18] shifted (thickstroke,0);
325
326 path supthree; supthree = z8{up}..{right}z0{right}..
327 {down}z4{down}..{left}z19{right}..{down}z6{down}..
328 {left}z2{left}..{up}z9..z14..z15{down}..
329 {left}z16{dir -30}..z3..z7..{left}z18--z17{right}..
330 z5..z1..{dir -135}z10{right}..{down}z11..z12..cycle;
331 pickup pencircle scaled 2;
332 fill supthree rotatedaround ((w/2,3h/4),180) shifted (0,-h/2);
333
334 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);
335 endchar;