Debian Codegraph @

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

raw
1 % +AMDG This document was begun on 11 June 11EX, the feast
2 % of St. Anthony of Padua, C, and it is humbly dedicated to
3 % him and to the Immaculate Heart of Mary for their prayers,
4 % and to the Sacred Heart of Jesus for His mercy.
5
6 def topbotbars =
7 penpos50(thinl,90);
8 z50r = (0,h);
9 penpos51(thinl,90);
10 z51r = (w,h);
11 penpos52(thinl,90);
12 z52l = (0,0);
13 penpos53(thinl,90);
14 z53l = (w,0);
15 penstroke z50e--z51e; penstroke z52e--z53e;
16 enddef;
17
18 beginchar(oct"100",thickstroke#+2lserw#+2ss#+2hair#,cap#,0);
19 "Roman numeral I";
20
21 topbotbars;
22 z1 = (ss+hair+lserw,lserh);
23 z2 = z1 shifted (thickstroke,0);
24 z3 = (ss+hair+userw,h-userh);
25 z4 = z3 shifted (thickstroke,0);
26 lrserif(2,9,10,11,25)(1);
27 llserif(1,12,13,14,26)(1);
28 urserif(4,15,16,17,27)(1);
29 ulserif(3,18,19,20,28)(1);
30
31 path romone; romone = z14--z11--z10..z9..z2--z4..z15..z16--z17--z20--z19..
32 z18..z3--z1..z12..z13--z14--cycle;
33 fill romone shifted (-ss/2,0);
34
35 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);
36 endchar;
37
38 beginchar(oct"101",5em#/6+2ss#,cap#,0);
39 "Roman numeral V";
40
41 z1=(ss+userw,h-userh);
42 z2=z1+(slantwid,0);
43 z3=z1-(0,2h/3);
44 z4=z3+(thickstroke,0);
45 z5=((5em/6)-ss-userw,h-userh);
46 z6=z5-(thinstroke,0);
47 z7=z5-(0,2h/3);
48 z8=z7-(thinstroke,0);
49 z9=((5em/6)/2,0);
50 z30=0.25[z9,z5];
51 z10=z30 shifted (-0.7thinstroke,1.3thinstroke);
52
53 ulserif(1,11,12,13,14)(1);
54 urserif(2,15,16,17,18)(1);
55 ulserif(6,19,20,21,22)(1);
56 urserif(5,23,24,25,26)(1);
57
58 path romfive; romfive = z9--z5..z23..z24--z25--z21--z20..z19..z6--z10--z2..z15..z16--z17--z13--z12--z11..z1--z9--cycle;
59
60 topbotbars;
61 fill romfive shifted (ss/2,0);
62
63 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);
64 endchar;
65
66 beginchar(oct"102",5em#/6+2ss#,cap#,0); "Roman numeral X";
67
68 z0 = (w/2,h/2);
69 z1 = (ss+userw,h-userh);
70 z2 = (w-ss-userw,h-userh);
71 z3 = (ss+lserw,lserh);
72 z4 = (w-ss-lserw,lserh);
73 z5 = z1 shifted (slantwid,0);
74 z6 = z4 shifted (-slantwid,0);
75 z7 = z2 shifted (-thinstroke,0);
76 z8 = z3 shifted (thinstroke,0);
77 z41 = aa[z1,z6];
78 z41 = ab[z7,z3];
79 z42 = ac[z5,z4];
80 z42 = ad[z7,z3];
81 z43 = ae[z8,z2];
82 z43 = af[z6,z1];
83 z44 = ag[z8,z2];
84 z44 = ah[z5,z4];
85
86 ulserif(1,9,10,11,12)(1);
87 urserif(5,13,14,15,16)(1);
88 ulserif(7,17,18,19,20)(1);
89 urserif(2,21,22,23,24)(1);
90 llserif(3,25,26,27,28)(1);
91 lrserif(8,29,30,31,32)(1);
92 llserif(6,33,34,35,36)(1);
93 lrserif(4,37,38,39,40)(1);
94
95 topbotbars;
96 fill z1--z41--z3..z25..z26--z27--z31--z30..z29..z8--z43--z6..z33..z34--z35--z39--z38..z37..z4--z44--z2..z21..z22--z23--z19--z18..z17..z7--z42--z5..z13..z14--z15--z11--z10..z9..z1--cycle;
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);
99 endchar;
100
101 beginchar(oct"103",5em#/6+2ss#,cap#,0); "Roman numeral L";
102
103 z1 = (ss+lserw,lserh);
104 z2 = (x1+thickstroke,thinstroke);
105 z3 = (ss+userw,h-userh);
106 z4 = z3 shifted (thickstroke,0);
107 z5=(x4,thinstroke+thinl);
108 z6=(w-ss-ssslant,thinl);
109 z30=z6+(-thickstroke,thinstroke);
110 upsideserif(6,7,29);
111
112 llserif(1,12,13,14,26)(1);
113 urserif(4,15,16,17,27)(1);
114 ulserif(3,18,19,20,28)(1);
115
116 fill z5--z4..z16..z16--z17--z20--z19..z18..z3--z1..z12..z13--z14--z6--z7..z29..z30--z5--cycle;
117
118 topbotbars;
119
120 penlabels(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);
121 endchar;
122
123 beginchar(oct"104",5em#/6+2ss#,cap#,0); "Roman numeral C";
124
125 z1=(w-ss-hair-userh,h-userh);
126 z2=z1-(0,thickstroke);
127 z3=(w-ss-hair-userh,userh);
128 z4=z3+(0,thickstroke+o);
129 z5=(w/2,h);
130 z6=z5-(0,thinstroke);
131 z7=(w/2,0);
132 z8=z7+(0,thinstroke);
133 z9=(ss,h/2+o);
134 z10=z9+(curvwid,0);
135 ctsideserif(1,11,12,13,14,2)(1);
136 ctsideserif(4,15,16,17,18,3)(2);
137
138 pickup cappen;
139 path cbody; cbody=z3..{left}z7{left}..{up}z9{up}..{right}z5{right}..z1;
140 path cinbody; cinbody=z2..z6..z10..z8..z4;
141
142 fill cinbody & botserif & cbody & topserif & cycle;
143
144 topbotbars;
145
146 penlabels(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);
147 endchar;
148
149 beginchar(oct"105",em#+2ss#,cap#,0); "Roman numeral D";
150
151 z1 = (ss+lserw,lserh);
152 z2 = z1 shifted (thickstroke,0);
153 z3 = (ss+userw,h-userh);
154 z4 = z3 shifted (thickstroke,0);
155 z13 = (x4,h);
156 z14 = (x4,h-thinstroke);
157 z15 = (w-ss,h/2);
158 z16 = z15-(curvwid,0);
159 z17 = (x2,0);
160 z18 = z17+(0,thinstroke);
161 z19 = (w/2,h);
162 z20 = z19-(0,thinstroke);
163 z21 = (w/2,0);
164 z22 = z21+(0,thinstroke);
165 llserif(1,5,6,7,8)(1);
166 ulserif(3,9,10,11,12)(1);
167
168 topbotbars;
169 fill z17{right}..{right}z21..z15..{left}z19{left}..{left}z13--z11--z10..z9..z3--z1..z5..z6--z7--z17--cycle;
170 unfill z18{right}..{right}z22..z16..{left}z20{left}..{left}z14--z18--cycle;
171
172 penlabels(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);
173 endchar;
174
175 beginchar(oct"106",em#+2ss#,cap#,0); "Roman numeral M";
176
177 z1 = (ss+lserw,lserh);
178 z2 = z1 shifted (thinstroke,0);
179 z3 = (ss+userw,h-userh);
180 z4 = z3 shifted (thinstroke,0);
181 z5 = (w/2-thickstroke/3,0);
182 z6 = (w-ss-lserw,lserh);
183 z7 = z6 shifted (-thickstroke,0);
184 z8 = (w-ss-userw,h-userh);
185 z9 = z8 shifted (-thickstroke,0);
186 z14 = z13 shifted (-2thickstroke/3,0);
187 z23 = 0.22[z5,z9];
188 z28 = 0.1[z23,z29];
189 z29=z27+(2curvwid/3,0);
190
191 urserif(8,10,11,12,13)(1);
192 lrserif(6,15,16,17,18)(1);
193 llserif(7,19,20,21,22)(1);
194 ulserif(3,24,25,26,27)(1);
195 llserif(1,30,31,32,33)(2);
196 lrserif(2,34,35,36,37)(2);
197
198 fill z5--z9--z7..z19..z20--z21--z17--z16..z15..z6--z8..z10..z11--z12--z14--z28--z29--z26--z25..z24..z3--z1..z30..z31--z32--z36--z35..z34..z2--z4--z5--cycle;
199
200 topbotbars;
201
202 penlabels(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);
203 endchar;