Debian Codegraph @

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

raw
1 % +AMDG This document was begun on 6 Aug 11EX, the Feast of
2 % the Transfiguration of Our Lord Jesus Christ, and the
3 % commemorations of St Xystus, PM, and Felicissimus and
4 % Agapitus, MM, and it is humbly dedicated to them and to
5 % the Immaculate Heart of Mary for their prayers, and to the
6 % Sacred Heart of Jesus for His mercy.
7
8 picture six;
9
10 beginchar("1",0.65digwid#+2ss#,ex#,0); "The digit 1";
11 italcorr(ex#*slant);
12
13 z0 = (w/2-thickstroke/2,lserhl);
14 z1 = z0 shifted (thickstroke,0);
15 z10 = (w/2-thickstroke/2,h-2userh);
16 z11 = z10 shifted (thickstroke,0);
17 z12 = z11 shifted (0,2userh+o);
18 z13 = z12 shifted (-thickstroke,0);
19 z14 = z10 shifted (-lserwl-o,0);
20 z15 = z14 shifted (0,thinl);
21
22 llserif(0,2,3,4,5)(1);
23 lrserif(1,6,7,8,9)(1);
24
25 fill
26 z0..z2..z3--z4--z8--z7..z6..z1--z12--z13{down}..{left}z15--z14--z10--z0--cycle;
27
28 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,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);
29 endchar;
30
31 beginchar("2",0.75digwid#+2ss#,ex#,0); "The digit 2";
32 italcorr(ex#*slant);
33
34 z0 = (w/2,h+o);
35 z1 = z0 shifted (0,-thinl);
36 z2 = (ss,3h/4);
37 z3 = z2 shifted (bulbsh,-bulbsh);
38 z4 = z3 shifted (bulbsh,bulbsh);
39 z5 = z4 shifted (-bulbsh,bulbsh);
40 z6 = (w-ss,3h/4);
41 z7 = z6 shifted (-curvl,0);
42 z8 = (ss,thickl);
43 z9 = z8 shifted (1.5thinl,0);
44 z10 = (ss,0);
45 z11 = (w-ss,0);
46 z12 = z11 shifted (0,thickl);
47 z13 = z12 shifted (0,thinl);
48 z14 = z13 shifted (-thinl/2,0);
49 z15 = z12 shifted (-thinl/2,0);
50
51 fill
52 z5{right}..{down}z4{down}..{left}z3{left}..{up}z2{up}..{right}z0{right}..{down}z6{down}..{down}z9--z15--z14--z13--z11--z10--z8{up}..{up}z7{up}..{left}z1{left}..{dir
53 -120}cycle;
54
55 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,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);
56 endchar;
57
58 beginchar("3",0.75digwid#+2ss#,ex#,0); "The digit 3";
59 italcorr(ex#*slant);
60
61 z0 = (w/2,h+o);
62 z1 = (w/2,0-o);
63 z2 = (ss,.75h);
64 z3 = (ss,.25h);
65 z4 = z0 shifted (0,-thinstroke);
66 z5 = z1 shifted (0,thinstroke);
67 z6 = z8 shifted (-curvwid,0);
68 z7 = z9 shifted (-curvwid,0);
69 z8 = (w-ss,3h/4);
70 z9 = (w-ss,h/4);
71 z10 = (w/2-2thinstroke,h/2+thinstroke/2);
72 z11 = z10 shifted (0,-thinstroke);
73 z20 = z10 shifted (1.5thickstroke,-thinstroke/2);
74 z21 = z9 shifted (-o/4,0);
75 z22 = z10 shifted (1.5thickl,0);
76 z23 = z11 shifted (1.5thickl,0);
77
78 ulftbulb(2,12,13,14,15);
79 ulftbulb(3,16,17,18,19);
80
81 fill
82 z2{up}..{right}z0{right}..{down}z8{down}..z20..{left}z11--z10{right}..z20..{down}z9{down}..{left}z1{left}..{up}z3{up}..{right}z16{right}..{down}z17{down}..{left}z18{dir
83 -60}..{right}z5{right}..{up}z7{up}..{left}z11--z10{right}..{up}z6{up}..{left}z4{left}..{dir
84 -120}z12{right}..{down}z13{down}..{left}z14{left}..{up}cycle;
85
86 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,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);
87 endchar;
88
89 beginchar("4",0.75digwid#+2ss#,ex#,0); "The digit 4";
90 italcorr(ex#*slant);
91
92 z0 = (w-ss-lserwl,h+2o);
93 z1 = (x0,2h/5);
94 y2 = y1; x2 = ss;
95 z3 = z0 shifted (0,-thinstroke);
96 z4 = z2 shifted (thinstroke,0);
97 z6 = z1 shifted (-thickstroke,0);
98 z7 = z0 shifted (-thickstroke,0);
99 z5 = zca[z3,z4];
100 z5 = zcb[z6,z7];
101 z8 = z2 shifted (0,-thinstroke);
102 z9 = z4 shifted (0,-thinstroke);
103 z10 = z6 shifted (0,-thinstroke);
104 z11 = z1 shifted (0,-thinstroke);
105 z12 = z1 shifted (lserwl,0);
106 z13 = z11 shifted (lserwl,0);
107 x14 = x10; y14 = lserhl;
108 z15 = z14 shifted (thickstroke,0);
109
110 llserif(14,16,17,18,19)(1);
111 lrserif(15,20,21,22,23)(1);
112
113 fill
114 z14..z16..z17--z18--z22--z21..z20..z15--z11--z13--z12--z1--z0--z2--z8--z10--cycle;
115 unfill z4--z6--z5--z4--cycle;
116
117 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,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);
118 endchar;
119
120 beginchar("5",0.75digwid#+2ss#,ex#,0); "The digit 5";
121 italcorr(ex#*slant);
122
123 z0 = (w-ss-bulbsh,h+o);
124 z1 = (ss+bulbsh,h+o);
125 z2 = z0 shifted (0,-thickstroke);
126 z3 = z1 shifted (0,-thickstroke);
127 z4 = (w/2,0);
128 z5 = z4 shifted (0,thinstroke);
129 z6 = z3 shifted (thinstroke,0);
130 z7 = (ss+0.6bulbsh,0.55h);
131 z19 = z7 shifted (thinstroke,0);
132 z8 = (w-ss,2h/3);
133 z9 = z7 shifted (thinstroke,thinstroke);
134 z10 = (w-ss-thickstroke,h/3);
135 z11 = (ss,h/3);
136 z16 = z10 shifted (thickstroke,0);
137 z17 = (w/2,2h/3);
138 z18 = z17 shifted (0,-thinstroke);
139 z29 = z2 shifted (0,-thinl);
140 z20 = z29 shifted (-thinl/2,0);
141 z21 = z20 shifted (0,thinl);
142
143 ulftbulb(11,12,13,14,15);
144
145 fill
146 z6--z21--z20--z29--z2--z0--z1--z7--z19..{right}z18{right}..{down}z10{down}..{left}z5{left}..{up}z14{right}..{up}z13..z12..z11{down}..{right}z4{right}..z16{up}..{left}z17{left}..z9--z6--cycle;
147
148 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,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);
149 endchar;
150
151 beginchar("7",0.65digwid#+2ss#,ex#,0); "The digit 7";
152 italcorr(ex#*slant);
153
154 z0 = (ss,h+o);
155 z1 = z0 shifted (0,-thickstroke);
156 z2 = (w-ss,h+o);
157 z3 = z2 shifted (0,-thickstroke);
158 z4 = (w/4,0);
159 z5 = z4 shifted (thickstroke,0);
160 z6 = z3 shifted (-1.8thinstroke,0);
161 z7 = (w/3,0.6h);
162 z8 = z7 shifted (1.2thinstroke,0);
163 z9 = z1 shifted (0,-0.7userh);
164 z10 = z9 shifted (0.5thinstroke,0);
165 z11 = z10 shifted (0,0.7userh);
166
167 fill z11--z10--z9--z0--z2--z3..z8..z5--z4..z7..z6--cycle;
168
169 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,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);
170 endchar;
171
172 beginchar("8",0.75digwid#+2ss#,ex#,0); "The digit 8";
173 italcorr(ex#*slant);
174
175 z0 = (w/2,h+o);
176 z1 = (w/2,0-o);
177 z2 = (ss+bulbsh/2,3h/4);
178 z3 = (ss,h/4);
179 z4 = (w-ss-bulbsh/2,3h/4);
180 z5 = (w-ss,h/4);
181 z6 = z0 shifted (0,-thinstroke);
182 z7 = z1 shifted (0,thinstroke);
183 z8 = z2 shifted (0.8curvwid,0);
184 z9 = z3 shifted (curvwid,0);
185 z10 = z5 shifted (-curvwid,0);
186 z11 = z4 shifted (-0.8curvwid,0);
187 z12 = (w/2,h/2+thinstroke);
188 z13 = z12 shifted (0,-thinstroke);
189
190 pickup pencircle scaled 1;
191
192 fill z0..z4..z13--z12..z5..z1..z3..z12--z13..z2..cycle;
193 unfill z8..z6..z11..z12..cycle;
194 unfill z7..z10..z13..z9..cycle;
195
196 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,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);
197 endchar;
198
199 beginchar("0",0.75digwid#+2ss#,ex#,0); "The digit 0";
200 italcorr(ex#*slant);
201
202 z0 = (w/2,h+o);
203 z1 = (w/2,-o);
204 z2 = (w-ss,h/2);
205 z3 = (ss,h/2);
206 z4 = z0 shifted (0,-thinstroke);
207 z5 = z1 shifted (0,thinstroke);
208 z6 = z2 shifted (-curvwid,0);
209 z7 = z3 shifted (curvwid,0);
210
211 fill z0{right}..{down}z2{down}..{left}z1{left}..{up}z3{up}..{right}cycle;
212 unfill z4..z6..z5..z7..cycle;
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,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);
215 endchar;
216
217 beginchar("6",0.75digwid#+2ss#,ex#,0); "The digit 6";
218 italcorr(ex#*slant);
219
220 penpos0(thinl,90);
221 z0r = (2w/3,h+o);
222 penpos1(2thinl,180);
223 z1r = (ss+thinl,2h/3);
224 penpos2(thickl,180);
225 z2r = (ss,ex/4);
226 penpos3(thinl,-90);
227 z3r = (w/2,0-o);
228 penpos4(thickl,0);
229 z4r = (w-ss,ex/4);
230 penpos5(thinl,90);
231 z5l = (w/2,ex/2+o);
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;
240 penstroke z0e..z1e..z2e;
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.75digwid#+2ss#,ex#,0); "The digit 9";
246 italcorr(ex#*slant);
247
248 penpos0(thinl,90);
249 z0l = (w/3,0-o);
250 penpos1(2thinl,180);
251 z1l = (w-ss-thinl,h/3);
252 penpos2(thickl,180);
253 z2l = (w-ss,h-ex/4);
254 penpos3(thinl,90);
255 z3r = (w/2,h-ex/2-o);
256 penpos4(thickl,0);
257 z4l = (ss,h-ex/4);
258 penpos5(thinl,-90);
259 z5l = (w/2,h+o);
260
261 penstroke z5e..z2e..z3e..z4e..cycle;
262 penstroke z0e..z1e..z2e;
263
264 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);
265 endchar;