Debian Codegraph @

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

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