Debian Codegraph @

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

raw
1 % +AMDG This document was begun on 17 Feb 11EE, the day
2 % after the Comm. of St. Simeon, EM, and it is humbly
3 % dedicated to him and to the Immaculate Heart of Mary, for
4 % their prayers, and to the Sacred Heart of Jesus for His
5 % mercy.
6
7 beginchar("X",0.8exw#+2ss#,ex#,0); "old-style digit X";
8
9 z0 = (w/2,h+o);
10 z1 = z0 shifted (0,-thinl);
11 z2 = (ss+o,2h/3);
12 z3 = z2 shifted (bulbsh,bulbsh);
13 z4 = z3 shifted (bulbsh,-bulbsh);
14 z5 = z4 shifted (-bulbsh,-bulbsh);
15 z6 = (w-ss-o,2h/3);
16 z7 = z6 shifted (-thickl,0);
17 z8 = (ss,1.5thinl);
18 z9 = (x8,0);
19 z10 = (w-ss,0);
20 z11 = (w-ss,1.5thinl+thinl);
21 z12 = z11 shifted (-thinl/2,0);
22 z13 = z12 shifted (0,-thinl);
23 z14 = z8 shifted (thickl,0);
24
25 path two; two =
26 z14--z13--z12--z11--z10--z9--z8{dir
27 30}..{up}z7..{left}z1{left}..{dir
28 230}z3{right}..{down}z4{down}..{left}z5{left}..{up}z2{up}..{right}z0{right}..z6{down}..{dir
29 -160}cycle;
30 fill two rotatedaround ((w/2,h/2),180);
31
32 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);
33 endchar;
34
35 beginchar("E",0.9exw#+2ss#,ex#,dep#); "old-style digit E";
36
37 threeh = (ex+dep);
38 z0 = (w/2,h+o);
39 z1 = (w/2,0-dep);
40 z2 = (ss,.75threeh-dep);
41 z3 = (ss,.25threeh-dep);
42 z4 = z0 shifted (0,-thinstroke);
43 z5 = z1 shifted (0,thinstroke);
44 z6 = z8 shifted (-curvwid,0);
45 z7 = z9 shifted (-curvwid,0);
46 z8 = (w-ss,3threeh/4-dep);
47 z9 = (w-ss,threeh/4-dep);
48 z10 = (w/2-2thinstroke,threeh/2+thinstroke-dep);
49 z11 = z10 shifted (0,-thinstroke);
50 z20 = z10 shifted (1.5thickstroke,-thinstroke/2);
51 z21 = z9 shifted (-o/4,0);
52 z22 = z10 shifted (2thickl,0);
53 z23 = z11 shifted (2thickl,0);
54
55 ulftbulb(2,12,13,14,15);
56 ulftbulb(3,16,17,18,19);
57
58 path three; three =
59 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
60 -60}..{right}z5{right}..{up}z7{up}..{left}z11--z10{right}..{up}z6{up}..{left}z4{left}..{dir
61 -120}z12{right}..{down}z13{down}..{left}z14{left}..{up}cycle;
62
63 fill three rotatedaround ((w/2,(h-d)/2),180);
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,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);
66 endchar;
67
68 beginchar("x",digwid#+2ss#,cap#,0); "The digit X";
69 italcorr(ex#*slant);
70
71 z0 = (w/2,h+o);
72 z1 = z0 shifted (0,-thinl);
73 z2 = (ss,3h/4);
74 z3 = z2 shifted (bulbsh,-bulbsh);
75 z4 = z3 shifted (bulbsh,bulbsh);
76 z5 = z4 shifted (-bulbsh,bulbsh);
77 z6 = (w-ss,3h/4);
78 z7 = z6 shifted (-curvl,0);
79 z8 = (ss,thickl);
80 z9 = z8 shifted (1.5thinl,0);
81 z10 = (ss,0);
82 z11 = (w-ss,0);
83 z12 = z11 shifted (0,thickl);
84 z13 = z12 shifted (0,thinl);
85 z14 = z13 shifted (-thinl/2,0);
86 z15 = z12 shifted (-thinl/2,0);
87
88 path twopath; twopath =
89 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
90 -120}cycle;
91 fill twopath rotatedaround ((w/2,h/2),180);
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,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);
94 endchar;
95
96 beginchar("e",digwid#+2ss#,cap#,0); "The digit E";
97 italcorr(ex#*slant);
98
99 z0 = (w/2,h+o);
100 z1 = (w/2,0-o);
101 z2 = (ss,.75h);
102 z3 = (ss,.25h);
103 z4 = z0 shifted (0,-thinstroke);
104 z5 = z1 shifted (0,thinstroke);
105 z6 = z8 shifted (-curvwid,0);
106 z7 = z9 shifted (-curvwid,0);
107 z8 = (w-ss,3h/4);
108 z9 = (w-ss,h/4);
109 z10 = (w/2-2thinstroke,h/2+thinstroke);
110 z11 = z10 shifted (0,-thinstroke);
111 z20 = z10 shifted (1.5thickstroke,-thinstroke/2);
112 z21 = z9 shifted (-o/4,0);
113 z22 = z10 shifted (1.5thickl,0);
114 z23 = z11 shifted (1.5thickl,0);
115
116 ulftbulb(2,12,13,14,15);
117 ulftbulb(3,16,17,18,19);
118
119 path threepath;
120 threepath =
121 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
122 -60}..{right}z5{right}..{up}z7{up}..{left}z11--z10{right}..{up}z6{up}..{left}z4{left}..{dir
123 -120}z12{right}..{down}z13{down}..{left}z14{left}..{up}cycle;
124 fill threepath rotatedaround ((w/2,h/2),180);
125
126 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);
127 endchar;