Debian Codegraph @

texmf-dist/fonts/source/public/bookhands/rustdig.mf

raw
1 %%
2 %% This is file `rustdig.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% rustic.dtx (with options: `dig')
8 %%
9 %% Copyright 1999 Peter R. Wilson
10 %%
11 %% This program is provided under the terms of the
12 %% LaTeX Project Public License distributed from CTAN
13 %% archives in directory macros/latex/base/lppl.txt.
14 %%
15 %% Author: Peter Wilson (CUA)
16 %% now at: [email protected]
17 %%
18
19 cmchar "Rustic digit 1";
20 beginchar("1", 2u#+fig_width#, fig_height#, 0);
21 adjust_fit(0,0);
22 pcshiftx := u;
23 pickup quill;
24 x1=x2=w/2;
25 y1=h; y2=0;
26 %%ductus:=true;
27 if ductus:
28 pickup stylus;
29 fi
30 draw_footstem(1,2); % stem and foot
31 draw_hserif(1,2,srad); % serif
32 ductus:=false;
33 penlabels(1,2,3,4,100);
34 endchar; % end "1"
35
36 cmchar "Rustic digit 2";
37 beginchar("2", 2u#+fig_width#, fig_height#, 0);
38 adjust_fit(0,0);
39 pcshiftx := u;
40 pickup quill;
41 lft x1=pcshiftx; top y1=h-2thin;
42 x2=1/2w; top y2= h;
43 rt x3=w-pcshiftx; y3=3/4h;
44 x5=pcshiftx+extra_fhjut; bot y5=0;
45 x6=w-pcshiftx-extra_fhjut; y6=y5;
46 %%ductus:=true;
47 if ductus:
48 pickup stylus;
49 fi
50 draw z1..z2{right}..z3{down}..{-pdir}z5; % curve
51 draw_squiggle(5,6,wiggle,srad); % foot
52 ductus:=false;
53 penlabels(1,2,3,4,5,6,100);
54 endchar; % end "2"
55
56 cmchar "Rustic digit 3";
57 beginchar("3", 2u#+fig_width#, fig_height#, 0);
58 adjust_fit(0,0);
59 pcshiftx := u;
60 pickup quill;
61 lft x3=pcshiftx; x10=x3;
62 rt x5=w-pcshiftx; x8=x5-3thin;
63 x4=0.5[x3,x5];
64 x9=0.5[x10,x8];
65 lft x6=pcshiftx+extra_fhjut; x7=x6;
66 bot y3=thin; top y10=h-2thin;
67 y6=0.5[y3,y10]; y7=y6;
68 bot y4=-thin; top y9=h+thin;
69 y5=0.5[y3,y6];
70 y8=11/12[y7,y10];
71 %%ductus:=true;
72 if ductus:
73 pickup stylus;
74 fi
75 %%draw_rusticstem(1,2); % the stem
76 draw z3..z4{right}..z5{up}...{-pdir}z6; % bottom bowl
77 draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl
78 ductus:=false;
79 penlabels(1,2,3,4,5,6,7,8,9,10,100);
80 endchar; % end "3"
81
82 cmchar "Rustic digit 4";
83 beginchar("4", 2u#+fig_width#, fig_height#, 0);
84 adjust_fit(0,0);
85 pcshiftx := u;
86 pickup quill;
87 x1=x2=w-pcshiftx-footjut-extra_fhjut;
88 y1=h; y2=0;
89 x3=pcshiftx+extra_fhjut; y3=0.33h;
90 x4=w-pcshiftx-extra_fhjut; y4=y3;
91 x5=lft x3; y5=bot y3+thin;
92 %%ductus:=true;
93 if ductus:
94 pickup stylus;
95 fi
96 draw_footstem(1,2); % stem and foot
97 %%draw_hserif(1,2,srad); % serif
98 draw_squiggle(3,4,wiggle,srad); % squiggle
99 pickup stylus;
100 draw z5{pdir}..z1; % thin diagonal
101 ductus:=false;
102 penlabels(1,2,3,4,100);
103 endchar; % end "4"
104
105 cmchar "Rustic digit 5";
106 beginchar("5", 2u#+fig_width#, fig_height#, 0);
107 adjust_fit(0,0);
108 pcshiftx := u;
109 pickup quill;
110 lft x7=pcshiftx+extra_fhjut; bot y7=0;
111 rt x1=w-pcshiftx-extra_fhjut; top y1=h;
112 lft x2=pcshiftx+extra_fhjut; y2=y1;
113
114 x3=x2; y3=0.5h;
115 x4=0.5[x1,x3]; y4=0.5[y3,y5];
116 rt x5=w-pcshiftx; y5=0.3h;
117 x6=0.75w; bot y6=0;
118 %%ductus:=true;
119 if ductus:
120 pickup stylus;
121 fi
122 draw_squiggle(2,1,wiggle,srad); % top squiggle
123 draw z3{pdir}..z5{down}..{-pdir}z6; % curve
124 draw_squiggle(7,6,wiggle,srad); % base
125 pickup stylus;
126 draw z2--z3; % vertical
127 ductus:=false;
128 penlabels(1,2,3,4,5,6,7,100);
129 endchar; % end "5"
130
131 cmchar "Rustic digit 6";
132 beginchar("6", 2u#+fig_width#, fig_height#, 0);
133 adjust_fit(0,0);
134 pcshiftx := u;
135 pickup quill;
136 rt x1=w-pcshiftx; top y1=h-2thin;
137 x2=1/2w; top y2= h;
138 lft x3=pcshiftx; y3=1/2h;
139 x4=x2; bot y4=0;
140 rt x5=w-pcshiftx; y5=1/4h;
141 lft x6=rt x3; bot y6=y3;
142 %%ductus:=true;
143 if ductus:
144 pickup stylus;
145 fi
146 draw z1..z2{left}..z3{down}..z4{right}..z5{up}..{-pdir}z6;
147 ductus:=false;
148 penlabels(1,2,3,4,5,6,100);
149 endchar; % end "6"
150
151 cmchar "Rustic digit 7";
152 beginchar("7", 2u#+fig_width#, fig_height#, 0);
153 adjust_fit(0,0);
154 pcshiftx := u;
155 pickup quill;
156 x1=pcshiftx+extra_fhjut;
157 x2=w-pcshiftx-extra_fhjut;
158 top y1=top y2=h;
159 rt x4=w-pcshiftx-3thin; bot y4=0;
160 x3=0.5[x2,x4]-2thin; y3=0.5[y2,y4];
161 %%ductus:=true;
162 if ductus:
163 pickup stylus;
164 fi
165 draw_squiggle(1,2,wiggle,srad);
166 draw z2..z3..z4;
167 ductus:=false;
168 penlabels(1,2,3,4,5,6,100);
169 endchar; % end "7"
170
171 cmchar "Rustic digit 8";
172 beginchar("8", 2u#+fig_width#, fig_height#, 0);
173 adjust_fit(0,0);
174 pcshiftx := u;
175 pickup quill;
176 lft x1=pcshiftx-o; rt x3=w-pcshiftx; y1=y3=3/4h;
177 x2=x4=w/2; top y2=h+o; bot y4=-o;
178 x5=x2; y5=h/2;
179 x11=x1+o; x13=x3+o; y11=y13=1/4h;
180 %%ductus:=true;
181 if ductus:
182 pickup stylus;
183 fi
184 draw z1..z2..z3..z5..z11..z4..z13..z5..cycle;
185 ductus:=false;
186 penlabels(1,2,3,4,5,11,13,100);
187 endchar; % end "8"
188
189 cmchar "Rustic digit 9";
190 beginchar("9", 2u#+fig_width#, fig_height#, 0);
191 adjust_fit(0,0);
192 pcshiftx := u;
193 pickup quill;
194 lft x1=pcshiftx; bot y1=2thin;
195 x2=1/2w; bot y2= 0;
196 rt x3=w-pcshiftx; y3=1/2h;
197 x4=x2; top y4=h;
198 lft x5=pcshiftx; y5=3/4h;
199 rt x6=lft x3; top y6=y3;
200 %%ductus:=true;
201 if ductus:
202 pickup stylus;
203 fi
204 draw z1..z2{right}..z3{up}..z4{left}..z5{down}..{pdir}z6;
205 ductus:=false;
206 penlabels(1,2,3,4,5,6,100);
207 endchar; % end "9"
208
209 cmchar "Rustic digit 0";
210 beginchar("0", 2u#+fig_width#, fig_height#, 0);
211 adjust_fit(0,0);
212 pcshiftx := u;
213 pickup quill;
214 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
215 x2=x4=w/2; top y2=h+o; bot y4=-o;
216 %%ductus:=true;
217 if ductus:
218 pickup stylus;
219 fi
220 draw z1..z2..z3..z4..cycle;
221 ductus:=false;
222 penlabels(1,2,3,4,100);
223 endchar; % end "0"
224