Debian Codegraph @

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

raw
1 %%
2 %% This is file `uncldig.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% uncial.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 "Uncial digit 1";
20 beginchar("1", 2u#+fig_width#, fig_height#, 0);
21 adjust_fit(0,0);
22 pcshiftx := u;
23 y100 = h/2; x100 = pcshiftx+y100; % square center
24 pickup quill;
25 x1=x2=w/2;
26 y1=h; bot y2=0;
27 %%ductus:=true;
28 draw_tstem(1,2,srad);
29 ductus:=false;
30 proofpcbb(100, y100, y100);
31 penlabels(1,2,100);
32 endchar; % end "1"
33
34 cmchar "Uncial digit 2";
35 beginchar("2", 2u#+fig_width#, fig_height#, 0);
36 adjust_fit(0,0);
37 pcshiftx := u;
38 pickup quill;
39 lft x1=pcshiftx+o; top y1=h-2thin;
40 x2=1/2w; top y2= h+o;
41 rt x3=w-pcshiftx-o; y3=3/4h;
42 lft x5=pcshiftx; bot y5=0;
43 rt x6=w-pcshiftx; y6=y5;
44 %%ductus:=true;
45 if ductus:
46 pickup stylus;
47 fi
48 draw_wave(5,6,thin); % foot
49 draw z1..z2{right}..z3{down}..{-pdir}z5wl; % curve
50 ductus:=false;
51 penlabels(1,2,3,4,5,6,100);
52 endchar; % end "2"
53
54 cmchar "Uncial digit 3";
55 beginchar("3", 2u#+fig_width#, fig_height#, 0);
56 adjust_fit(0,0);
57 pcshiftx := u;
58 pickup quill;
59 lft x3=pcshiftx; x10=x3;
60 rt x5=w-pcshiftx; x8=x5-3thin;
61 x4=0.5[x3,x5];
62 x9=0.5[x10,x8];
63 lft x6=pcshiftx+3thin; x7=x6;
64 bot y3=thin; top y10=h-2thin;
65 y6=0.5[y3,y10]; y7=y6;
66 bot y4=-thin; top y9=h+thin;
67 y5=0.5[y3,y6];
68 y8=11/12[y7,y10];
69 %%ductus:=true;
70 if ductus:
71 pickup stylus;
72 fi
73 draw z3..z4{right}..z5{up}...{-pdir}z6; % bottom bowl
74 draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl
75 ductus:=false;
76 penlabels(1,2,3,4,5,6,7,8,9,10,100);
77 endchar; % end "3"
78
79 cmchar "Uncial digit 4";
80 beginchar("4", 2u#+fig_width#, fig_height#, 0);
81 adjust_fit(0,0);
82 pcshiftx := u;
83 pickup quill;
84 x1=x2=w-pcshiftx-jut;
85 y1=h; bot y2=0;
86 lft x3=pcshiftx; y3=0.33h;
87 rt x4=w-pcshiftx; y4=y3;
88 %%ductus:=true;
89 if ductus:
90 pickup stylus;
91 fi
92 draw_tstem(1,2,srad); % main stem
93 draw_wave(3,4,thin); % crossbar
94 draw z3wl--z1; % diagonal
95 ductus:=false;
96 penlabels(1,2,3,4,100);
97 endchar; % end "4"
98
99 cmchar "Uncial digit 5";
100 beginchar("5", 2u#+fig_width#, fig_height#, 0);
101 adjust_fit(0,0);
102 pcshiftx := u;
103 pickup quill;
104 rt x1=w-pcshiftx; top y1=h;
105 lft x2=pcshiftx; y2=y1;
106 x3=x2; y3=0.5h+thin;
107 x4=0.5[x1,x3]; y4=0.5[y3,y5];
108 rt x5=w-pcshiftx; y5=0.3h;
109 x6=w/2; bot y6=0;
110 lft x7=pcshiftx; bot y7=2thin;
111 %%ductus:=true;
112 if ductus:
113 pickup stylus;
114 fi
115 draw_wave(2,1,thin); % top squiggle
116 draw z3{pdir}..z5{down}..z6{left}..z7; % curve
117 draw z2wl--z3; % vertical
118 ductus:=false;
119 penlabels(1,2,3,4,5,6,7,100);
120 endchar; % end "5"
121
122 cmchar "Uncial digit 6";
123 beginchar("6", 2u#+fig_width#, fig_height#, 0);
124 adjust_fit(0,0);
125 pcshiftx := u;
126 pickup quill;
127 rt x1=w-pcshiftx; top y1=h-2thin;
128 x2=1/2w; top y2= h;
129 lft x3=pcshiftx; y3=1/2h;
130 x4=x2; bot y4=0;
131 rt x5=w-pcshiftx; y5=1/4h;
132 lft x6=rt x3; bot y6=y3;
133 %%ductus:=true;
134 if ductus:
135 pickup stylus;
136 fi
137 draw z1..z2{left}..z3{down}..z4{right}..z5{up}..{-pdir}z6;
138 ductus:=false;
139 penlabels(1,2,3,4,5,6,100);
140 endchar; % end "6"
141
142 cmchar "Uncial digit 7";
143 beginchar("7", 2u#+fig_width#, fig_height#, 0);
144 adjust_fit(0,0);
145 pcshiftx := u;
146 pickup quill;
147 lft x1=pcshiftx;
148 rt x2=w-pcshiftx;
149 top y1=top y2=h;
150 x4=w/2; bot y4=0;
151 x3=0.5[x2,x4]-3thin; y3=0.5[y2,y4];
152 %%ductus:=true;
153 if ductus:
154 pickup stylus;
155 fi
156 draw_wave(1,2,thin); % top bar
157 draw z1wr..z3..z4;
158 ductus:=false;
159 penlabels(1,2,3,4,5,6,100);
160 endchar; % end "7"
161
162 cmchar "Uncial digit 8";
163 beginchar("8", 2u#+fig_width#, fig_height#, 0);
164 adjust_fit(0,0);
165 pcshiftx := u;
166 numeric alpha; alpha:=1;
167 pickup quill;
168 lft x1=alpha*pcshiftx+o; rt x3=w-alpha*pcshiftx-o; y1=y3=3/4h;
169 x2=x4=w/2; top y2=h+o; bot y4=-o;
170 x5=x2; y5=h/2+2o;
171 lft x11=pcshiftx; rt x13=w-pcshiftx; y11=y13=1/4h;
172 %%ductus:=true;
173 if ductus:
174 pickup stylus;
175 fi
176 draw z1..z2..z3..z5..z11..z4..z13..z5..cycle;
177 ductus:=false;
178 penlabels(1,2,3,4,5,11,13,100);
179 endchar; % end "8"
180
181 cmchar "Uncial digit 9";
182 beginchar("9", 2u#+fig_width#, fig_height#, 0);
183 adjust_fit(0,0);
184 pcshiftx := u;
185 pickup quill;
186 lft x1=pcshiftx; bot y1=2thin;
187 x2=1/2w; bot y2= 0;
188 rt x3=w-pcshiftx; y3=1/2h;
189 x4=x2; top y4=h;
190 lft x5=pcshiftx; y5=3/4h;
191 rt x6=lft x3; top y6=y3;
192 %%ductus:=true;
193 if ductus:
194 pickup stylus;
195 fi
196 draw z1..z2{right}..z3{up}..z4{left}..z5{down}..{pdir}z6;
197 ductus:=false;
198 penlabels(1,2,3,4,5,6,100);
199 endchar; % end "9"
200
201 cmchar "Uncial digit 0";
202 beginchar("0", 2u#+fig_width#, fig_height#, 0);
203 adjust_fit(0,0);
204 pcshiftx := u;
205 y100 = h/2; x100 = pcshiftx+y100; % square center
206 pickup quill;
207 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
208 x2=x4=w/2; top y2=h+o; bot y4=-o;
209 %%ductus:=true;
210 if ductus:
211 pickup stylus;
212 fi
213 draw z1..z2..z3..z4..cycle;
214 ductus:=false;
215 proofpcbb(100, y100, y100);
216 penlabels(1,2,3,4,100);
217 endchar; % end "0"
218