Debian Codegraph @

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

raw
1 %%
2 %% This is file `egothl.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% egothic.dtx (with options: `min')
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 "EGOTH letter a";
20 beginchar("a", 2sb#+hstretch*(9/16x_height#+jut#),
21 x_height#, 0);
22 adjust_fit(0,0);
23 pcshiftx := sb;
24 numeric n[];
25 path pth[];
26 pair pr[];
27 pickup quill;
28 n1 := w - 2pcshiftx -jut; % effective letter width
29 rt x1 = w-pcshiftx-jut; top y1=h;
30 x2 = x1; bot y2=0;
31 z16 = 1/6[z2,z1];
32 rt x6 = x16; y6=y16;
33 lft x4 = pcshiftx; y4 = 1/2h;
34 pth1 := z1--z2;
35 pr1 := direction 1 of pth1;
36 z20 = z2 shifted -10pr1;
37
38 z11 = point 3/13 of pth1; z15 = point 10/13 of pth1;
39 lft x13 = pcshiftx; y13=1/4h;
40 n2 := y13 - bot y13;
41 z23 = (x13, y13+n2);
42 z33 = (x13, y13-n2);
43 %%ductus:=true;
44 if ductus:
45 pickup stylus;
46 else:
47 % draw stem
48 draw pth1;
49 draw_roundserif(1,2,srad);
50 draw_roundserif(2,1,srad);
51 % draw bowl
52 %% draw z1{-pdir}..z4{down}..z6{pdir};
53 draw z11{-pdir}..z23{down}..z33..z15{pdir};
54 fi
55 ductus:=false;
56 penlabels(1,2,3,4,5,6,7,8,11,12,13,14,15,100);
57 endchar; % end "a"
58
59 cmchar "EGOTH letter b";
60 beginchar("b", 2sb#+hstretch*(11/16x_height#+jut#),
61 asc_height#, 0);
62 adjust_fit(0,0);
63 numeric n[];
64 path pth[];
65 pcshiftx := sb;
66 pickup quill;
67 n1:=w-2pcshiftx; % actual letter width
68 n2:=h/ascratio; % top of bowl
69 %%ductus:=true;
70 lft x1 = pcshiftx+jut; top y1=h;
71 x3 = x1; y3=2/8n2;
72 rt x5 = w-pcshiftx; y5=y3;
73 x4 = 1/2[x3,x5]; bot y4=0;
74 x6=1/2[x4,x5]; top y6=n2;
75 pth1 := z1..z3{down}..z4{right}.. z5{up};
76 z98=(0,3/4n2); z99=(w,y98);
77 pth2 := z98--z99;
78 z7=(x1,6/8n2);
79 if ductus:
80 pickup stylus;
81 fi
82 draw z1--z3{down}..z4{right}..z5{up}..z6;
83 draw z6--z7;
84 draw_flatserif(1,3,srad);
85 ductus:=false;
86 penlabels(1,2,3,4,5,6,7,8,9,100);
87 endchar; % end "b"
88
89 cmchar "EGOTH letter c";
90 beginchar("c", 2sb#+hstretch*(9/16x_height#),
91 x_height#, 0);
92 adjust_fit(0,0);
93 numeric n[];
94 pcshiftx := sb;
95 pickup quill;
96 n1:=w-2pcshiftx; % actual letter width
97 n2:=6/5w-2pcshiftx; % width of full bowl
98 x1=pcshiftx + 1/2n1; top y1 = h;
99 lft x2 = pcshiftx; y2 = 1/2h;
100 x3 = x1; bot y3 = 0;
101 rt x4 = w-pcshiftx; y4 = 1/4h;
102 x24 = x4; y24 = 3/4h;
103 %%ductus:=true;
104 if ductus:
105 pickup stylus;
106 fi
107 draw z24--z1{left}...z2{down}..z3{right}..z4{pdir};
108 ductus:=false;
109 penlabels(1,2,3,4,5,6,14,16,17,18,100);
110 endchar; % end "c"
111
112 cmchar "EGOTH letter d";
113 beginchar("d", 2sb#+hstretch*(11/16x_height#+jut#),
114 asc_height#, 0);
115 adjust_fit(0,0);
116 numeric n[];
117 path pth[];
118 pcshiftx := sb;
119 pickup quill;
120 n1 = h/ascratio; % x-height
121 rt x1=w-pcshiftx-jut; top y1=h;
122 x2 = x1; bot y2=0;
123 x3 = x1; y3 = 1/4n1;
124 lft x5 = pcshiftx; y5=6/8n1;
125 x4 = 3/8[x3,x5]; bot y4 = 0;
126 x6=1/2[x4,x5]; top y6 = n1;
127 x7=x3; top y7=n1;
128 rt x8 = w-pcshiftx; y8=n1;
129 if ductus:
130 pickup stylus;
131 fi
132 draw z1--z2;
133 draw_flatserif(1,2,srad);
134 draw_roundserif(2,1,srad);
135 draw z3..z4{left}..z5{up}..z6;
136 draw z6..z7..z8;
137 ductus:=false;
138 penlabels(0,1,2,3,4,5,6,7,8,100);
139 endchar; % end "d"
140
141 cmchar "EGOTH letter e";
142 beginchar("e", sb#+hstretch*(15/16x_height#),
143 x_height#, 0);
144 adjust_fit(0,0);
145 pcshiftx := sb;
146 numeric n[];
147 path pth[];
148 pickup quill;
149 n1 := w-pcshiftx; % actual letter width
150 n2 := 6/8n1; % width of bowl
151 x1 = pcshiftx + 5/8n2; top y1=h;
152 lft x2 = pcshiftx; y2 = 1/2h;
153 x3 = pcshiftx + 1/2n2; bot y3 = 0;
154 rt x4 = pcshiftx + n2; y4 = 1/4h;
155 %%z98=(0,3/8h); z99=(w,y98);
156 z98=(0,2/8h); z99=(w,y98);
157 pth1 := z98--z99;
158 pth2 := z1{left}..z2{down}..z3{right};
159 z7 = pth1 intersectionpoint pth2;
160 rt x9 = w-pcshiftx; y9 = 3/4h;
161 z8=1/2[z7,z9];
162
163 z70 = z7 shifted 10pdir;
164 z17 = whatever[z7,z70];
165 %%x17 = w-pcshiftx;
166 top y17 = h;
167
168 rt x27=w-pcshiftx; top y27=h;
169 pth3 := z7--z27; % diagonal
170 pth4 := z1--z9;
171
172 z34 = pth3 intersectionpoint pth4;
173 pth5 := z34--z1{left}...z2{down}..z3{right}..z4{pdir}; % bowl
174 %%ductus:=true;
175 if ductus:
176 pickup stylus;
177 fi
178 %%draw z7{pdir}..z1{left}..z2{down}..z3{right}..z4{pdir};
179 %%draw z7{pdir}..z8{right}..z9{pdir};
180 %%draw z7--z17;
181 draw pth5; % bowl
182 draw pth3; % diagonal
183 ductus:=false;
184 penlabels(1,2,3,4,5,6,7,8,9,17,27,34,70,100);
185 endchar; % end "e"
186
187 cmchar "EGOTH letter f";
188 beginchar("f", 2sb#+hstretch*(9/16x_height#+jut#),
189 (asc_height#), 0);
190 adjust_fit(0,0);
191 numeric n[];
192 pcshiftx := sb;
193 pickup quill;
194 n1 := h/ascratio; % x-height
195 %% stem
196 lft x1=lft x2=pcshiftx+jut; top y1=h; bot y2=0;
197 %% flick
198 x4=x2; y4 = 1/2n1;
199 %%rt x6=w-pcshiftx; y6 = 2/3h;
200 %%x5 = 2/3[x4,x6]; top y5=h;
201 x6 = x1; y6=y1; rt x8 = w-pcshiftx; y8=h;
202 %% bar
203 z14=1/2[z4,z1];
204 rt x16 = w -pcshiftx; bot y16 = y14;
205 %%ductus:=true;
206 if ductus:
207 pickup stylus;
208 fi
209 draw_tstem(1,2,srad); % stem
210 draw_flatserif(1,2,srad);
211 draw_roundserif(2,1,srad);
212 draw z6{right}..z8{pdir}; % top
213 draw z14{right}..z16{pdir}; % bar
214 ductus:=false;
215 ductus:=false;
216 penlabels(1,2,3,4,5,6,7,8,14,15,16,100);
217 endchar; % end "f"
218
219 cmchar "EGOTH letter g";
220 beginchar("g", 2sb#+hstretch*(12/16x_height#+2jut#),
221 x_height#, desc_depth#);
222 adjust_fit(0,0);
223 path pth[];
224 pair vec[];
225 numeric n[];
226 pcshiftx := sb;
227 pickup quill;
228 n1 := 4/5w - 2pcshiftx; % width of top o
229 %% S shape
230 x1 = x3 = x5 = 1/2w;
231 top y1 = h; bot y5 = -d; y3 = 1/2[y1,y5];
232 lft x2 = pcshiftx + jut; rt x4 = w - pcshiftx - jut;
233 y2 = 1/2[y1,y3]; y4 = 1/2[y3,y5];
234 %% bow
235 z12 = (x4,y2);
236 lft x16 = pcshiftx; bot y16=-d;
237 pth2 := z16...z12{up}...z1;
238 n2 := top y5;
239 pth3 := (0, n2)--(w, n2);
240 z6 = pth3 intersectionpoint pth2;
241 %% top flick
242 z11=z1;
243 rt x13 = w-pcshiftx; y13 = h;
244 %%ductus:=true;
245 if ductus:
246 pickup stylus;
247 fi
248 draw z1..z2{down}..z3..z4{down}..z5{left}..z6; % S
249 draw pth2; % bow
250 draw z11{right}..z13{pdir}; % flick
251 ductus:=false;
252 penlabels(1,2,3,4,5,6,7,8,9,11,12,13,31,32,33,34,35,36,100);
253 endchar; % end "g"
254
255 cmchar "EGOTH letter h";
256 beginchar("h", 2sb#+hstretch*(11/16x_height#+jut#),
257 asc_height#, 0);
258 adjust_fit(0,0);
259 pcshiftx := sb;
260 pickup quill;
261 numeric n[];
262 %% stem
263 lft x1=lft x2=pcshiftx+jut;
264 top y1=h; bot y2=0;
265 %% bowl
266 z3=1/2[z2,z1];
267 rt x5 = w-pcshiftx; y5=y3;
268 x4=9/16[x3,x5]; top y4 = h/ascratio;
269 %%lft x6=x4; bot y6=0;
270 x6=9/16[x4,x5];
271 bot y6=0;
272 %%ductus:=true;
273 if ductus:
274 pickup stylus;
275 fi
276 draw_tstem(1,2,srad); % stem
277 draw_flatserif(1,2,srad);
278 draw_roundserif(2,1,srad);
279 draw z3--z4{right}...z5{down}...z6{-pdir};
280
281 ductus:=false;
282 penlabels(1,2,3,4,5,6,100);
283 endchar; % end "h"
284
285 cmchar "EGOTH letter i";
286 beginchar("i", 2sb#+hstretch*(thick#+2jut#),
287 x_height#, 0);
288 adjust_fit(0,0);
289 pcshiftx := sb;
290 pickup quill;
291 lft x1=lft x2=pcshiftx+jut;
292 top y1=h; bot y2=0;
293 %%ductus:=true;
294 draw_tstem(1,2,srad);
295 draw_flatserif(1,2,srad);
296 draw_roundserif(2,1,srad);
297 ductus:=false;
298 penlabels(1,2,100);
299 endchar; % end "i"
300
301 cmchar "EGOTH letter j";
302 beginchar("j", sb#+hstretch*(3/8x_height#),
303 x_height#, desc_depth#);
304 adjust_fit(0,0);
305 pcshiftx := sb;
306 numeric n[];
307 pickup quill;
308 %% stem
309 rt x1 = w-pcshiftx; top y1 = h;
310 x2=x1; y2=-1/2d;
311 %% bottom hook
312 lft x3 = 0; bot y3 = -d;
313 %%ductus:=true;
314 if ductus:
315 pickup stylus;
316 fi
317 draw z1--z2; % stem
318 draw_flatserif(1,2,srad);
319 draw z2{down}..z3{-pdir}; % hook
320 ductus:=false;
321 penlabels(1,2,3,100);
322 endchar; % end "j"
323
324 cmchar "EGOTH letter k";
325 beginchar("k", 2sb#+hstretch*(13/16x_height#+jut#),
326 asc_height#, 0);
327 adjust_fit(0,0);
328 pcshiftx := sb;
329 path pth[];
330 numeric n[];
331 pickup quill;
332 %% stem
333 n1 = h/ascratio; % x-height
334 lft x1=lft x2=pcshiftx+jut;
335 y1=h; bot y2=0;
336 %% top arm
337 %%z3=(x1,1/2n1);
338 x3 = x1; top y3 = 1/2n1;
339 rt x5=5/8[x1,w-pcshiftx]; top y5=n1;
340 x4=1/2[x3,x5]; top y4=n1;
341 pth1 := z3{pdir}..z5{up};
342 %% lower arm
343 pth2 := (rt x1,0)--(rt x1,h);
344 z13 = pth1 intersectionpoint pth2;
345 pickup threequarterquill;
346 lft x14 = x13; bot y14 = y13;
347 rt x7=w-pcshiftx; bot y7=0;
348 pickup quill;
349 %%ductus:=true;
350 if ductus:
351 pickup stylus;
352 fi
353 draw_tstem(1,2,srad); % stem
354 draw_flatserif(1,2,srad);
355 draw_roundserif(2,1,srad);
356 draw pth1; % upper arm
357 pickup threequarterquill;
358 %%draw z14{down}..z7{-ppdir}; % lower arm
359 %%draw z14{down}..z7; % lower arm
360 draw z14{-ppdir}..z7{right}; % lower arm
361 pickup quill;
362 ductus:=false;
363 penlabels(1,2,3,4,5,6,7,8,9,13,14,100);
364 endchar; % end "k"
365
366 cmchar "EGOTH letter l";
367 beginchar("l", 2sb#+hstretch*(thick#+2jut#),
368 asc_height#, 0);
369 adjust_fit(0,0);
370 pcshiftx := sb;
371 pickup quill;
372 lft x1=pcshiftx+jut; top y1=h;
373 x2=x1; bot y2 =0;
374 %%ductus:=true;
375 if ductus:
376 pickup stylus;
377 fi
378 draw_tstem(1,2,srad);
379 draw_flatserif(1,2,srad);
380 draw_roundserif(2,1,srad);
381 ductus:=false;
382 penlabels(1,2,3,4,100);
383 endchar; % end "l"
384
385 cmchar "EGOTH letter m";
386 beginchar("m", 2sb#+hstretch*(15/16x_height#+2jut#), % 12/16 too narrow, 14 a bit
387 x_height#, 0);
388 adjust_fit(0,0);
389 pcshiftx := sb;
390 numeric n[];
391 path pth[];
392 pickup quill;
393 %% left stem
394 lft x1=pcshiftx+jut; top y1=h;
395 x2=x1; bot y2=0;
396 %% start of bowl
397 x13=x1; y13=3/4h;
398 %% bottom of right and middle stems
399 rt x6 = w -pcshiftx - jut; y6=y2;
400 z4 = 1/2[z2,z6];
401 %% top of middle and right stems
402 x3=x4; y3=y1;
403 x5=x6; y5=y13;
404 %% top of bowls
405 x14=2/3[x13,x3]; top y14 = h;
406 x33=x4; y33=y13;
407 x34=2/3[x33,x5]; y34 = y14;
408 %%ductus:=true;
409 if ductus:
410 pickup stylus;
411 fi
412 draw_tstem(1,2,srad); % left half
413 draw_flatserif(1,2,srad);
414 draw_roundserif(2,1,srad);
415 draw z13--z14{right}..z33{down}--z4;
416 draw_roundserif(4,3,srad);
417 draw z33--z34{right}..z5{down}--z6;
418 draw_roundserif(6,5,srad);
419 ductus:=false;
420 penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100);
421 endchar; % end "m"
422
423 cmchar "EGOTH letter n";
424 beginchar("n", 2sb#+hstretch*(9/16x_height#+2jut#),
425 x_height#, 0);
426 adjust_fit(0,0);
427 pcshiftx := sb;
428 pickup quill;
429 %% left stem
430 lft x1=pcshiftx+jut; top y1=h;
431 x2=x1; bot y2=0;
432 x13=x1; y13=3/4h;
433 %% right stem
434 rt x4 = w-pcshiftx-jut; y4=y2;
435 x3 = x4; y3 = y13;
436 x14 = 2/3[x13,x3]; top y14 = h;
437 %%ductus:=true;
438 if ductus:
439 pickup stylus;
440 fi
441 draw_tstem(1,2,srad); % left stem
442 draw_flatserif(1,2,srad);
443 draw_roundserif(2,1,srad);
444 draw z13--z14{right}..z3{down}--z4;
445 draw_roundserif(4,3,srad);
446 ductus:=false;
447 penlabels(1,2,3,4,5,6,13,14,100);
448 endchar; % end "n"
449
450 cmchar "EGOTH letter o";
451 beginchar("o", 2sb#+hstretch*(3/4x_height#),
452 x_height#, 0);
453 adjust_fit(0,0);
454 pcshiftx := sb;
455 pickup quill;
456 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
457 x2=x4=w/2; top y2=h+o; bot y4=-o;
458 draw z1..z2..z3..z4..cycle;
459 z5=(pcshiftx,-o);
460 obowl(5, w-2pcshiftx, h+2o);
461 %%ductus:=true;
462 if ductus:
463 pickup stylus;
464 draw obfirst; draw obsecond; draw obouter; draw obinner;
465 else:
466 %% fill obouter; unfill obinner;
467 fi
468 ductus:=false;
469 penlabels(1,2,3,4,5,100);
470 endchar; % end "o"
471
472 cmchar "EGOTH letter p";
473 beginchar("p", 2sb#+hstretch*(11/16x_height#+jut#),
474 x_height#, desc_depth#);
475 adjust_fit(0,0);
476 pcshiftx := sb;
477 numeric n[];
478 pickup quill;
479 %% stem
480 lft x1=lft x2=pcshiftx+jut;
481 top y1=h; bot y2=-d;
482 %% bowl % from "d"
483 z3=3/4[(x1,0),z1];
484 rt x5 = w-pcshiftx; y5=1/2h;
485 x4=1/2[x3,x5]; top y4 = h;
486 x6=x4; bot y6=0;
487 z7=1/4[(x1,0),z1];
488
489 %%ductus:=true;
490 if ductus:
491 pickup stylus;
492 fi
493 draw_tstem(1,2,srad); % stem
494 draw_flatserif(1,2,srad);
495 draw_roundserif(2,1,srad)
496 draw z3--z4; draw z4..z5{down}..z6{left}..z7;
497 ductus:=false;
498 penlabels(1,2,3,4,5,6,7,8,100);
499 endchar; % end "p"
500
501 cmchar "EGOTH letter q";
502 beginchar("q", 2sb#+hstretch*(3/4x_height#+jut#),
503 x_height#, desc_depth#);
504 adjust_fit(0,0);
505 pcshiftx := sb;
506 numeric n[];
507 pickup quill;
508 %% right stem
509 rt x1=w-pcshiftx-jut; top y1=h;
510 x2=x1; bot y2=-d;
511 %% bowl
512 z3=1/4[(x1,0),z1];
513 lft x5=pcshiftx; y5=1/2h;
514 x4=1/2[x3,x5]; bot y4=0;
515 x6=x4; top y6=h;
516 %%z7=3/4[(x1,0),z1];
517 z7=z1;
518 %%ductus:=true;
519 if ductus:
520 pickup stylus;
521 fi
522 draw_tstem(1,2,srad);
523 %%draw_flatserif(1,2,srad);
524 draw_roundserif(2,1,srad);
525 draw z3{-pdir}..z4{left}..z5{up}..z6{right}..z7{pdir};
526 ductus:=false;
527 penlabels(0,1,2,3,4,5,6,7,8,100);
528 endchar; % end "q"
529
530 cmchar "EGOTH letter r";
531 beginchar("r", 2sb#+hstretch*(13/16x_height#+jut#),
532 x_height#, 0);
533 adjust_fit(0,0);
534 pcshiftx := sb;
535 numeric n[];
536 pickup quill;
537 %% stem
538 lft x1=lft x2=pcshiftx+jut;
539 top y1=h; bot y2=0;
540 %% bowl
541 z3=3/4[z2,z1];
542 rt x5 = w-pcshiftx; y5=y3;
543 x4=1/2[x3,x5]; top y4 = h;
544 %%ductus:=true;
545 if ductus:
546 pickup stylus;
547 fi
548 draw_tstem(1,2,srad); % stem
549 draw_flatserif(1,2,srad);
550 draw_roundserif(2,1,srad);
551 draw z3{pdir}..z4{right}..z5{pdir};
552 ductus:=false;
553 penlabels(1,2,3,4,5,6,7,8,9,100);
554 endchar; % end "r"
555
556 cmchar "EGOTH letter s";
557 beginchar("s", 2sb#+hstretch*(11/16x_height#+jut#),
558 5/6asc_height#, 0);
559 adjust_fit(0,0);
560 numeric n[];
561 pcshiftx := sb;
562 pickup quill;
563 n1 := (6/5h)/ascratio; % x-height
564 %% stem
565 lft x1=lft x2=pcshiftx+jut; top y1=n1; bot y2=0;
566 %% flick
567 x4=x2; y4 = 1/2n1;
568 rt x6=w-pcshiftx; top y6 = h;
569 x5 = 1/2[x4,x6];
570 y5 = y6;
571 %%ductus:=true;
572 if ductus:
573 pickup stylus;
574 fi
575 draw_tstem(1,2,srad); % stem
576 draw_flatserif(1,2,srad);
577 draw_roundserif(2,1,srad);
578 %%draw z4--z5--z6;
579 draw z1--z5--z6;
580 ductus:=false;
581 penlabels(1,2,3,4,5,6,7,11,17,20,26,27,28,100);
582 endchar; % end "s"
583
584 cmchar "EGOTH letter t";
585 beginchar("t", 2sb#+hstretch*(15/16x_height#),
586 x_height#, 0);
587 adjust_fit(0,0);
588 pcshiftx := sb;
589 numeric n[];
590 pickup quill;
591 %% bar
592 top y3=h; n3 := h - top y3;
593 lft x1 = pcshiftx; rt x2=w-pcshiftx;
594 %%top y1 = y3-n3; bot y2=y3+n3;
595 y1 = y3-n3; y2=y3;
596 n1 := w; % width of bowl
597 n2 := h; % height of bowl
598 x3=1/2[x1,x2];
599 lft x4 = pcshiftx + 1/8n1; y4 = 1/2h;
600 x5=x3; bot y5 = 0;
601 rt x6 = pcshiftx + 3/4n1; top y6 = 1/4h;
602 %%ductus:=true;
603 if ductus:
604 pickup stylus;
605 fi
606 draw z1{pdir}..z3..z2{pdir}; % bar
607 draw z3..z4{down}..z5{right}..z6{pdir};
608 ductus:=false;
609 penlabels(1,2,3,4,5,6,11,12,100);
610 endchar; % end "t"
611
612 cmchar "EGOTH letter u";
613 beginchar("u", 2sb#+hstretch*(9/16x_height#+2jut#),
614 x_height#, 0);
615 adjust_fit(0,0);
616 pcshiftx := sb;
617 numeric n[];
618 pickup quill;
619 %% left stem
620 lft x1 = pcshiftx + jut; top y1 = h;
621 x13=x1; y13=1/3h;
622 rt x3=w-pcshiftx-jut; y3=y1;
623 x4=x3; bot y4=0;
624 z33=1/4[z4,z3]; % start of bowl
625 x14=1/3[x1,x3]; bot y14=0;
626 %%ductus:=true;
627 if ductus:
628 pickup stylus;
629 fi
630 %%draw z1--z13{down}...z14{right}...z33{pdir};
631 draw z1--z13--z14{right}...z33{pdir};
632 draw_flatserif(1,13,srad);
633 draw_tstem(3,4,srad); % right stem
634 draw_flatserif(3,4,srad);
635 draw_roundserif(4,3,srad);
636 ductus:=false;
637 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100);
638 endchar; % end "u"
639
640 cmchar "EGOTH letter v";
641 beginchar("v", 2sb#+hstretch*(11/16x_height#+jut#), % 13/16 too wide
642 x_height#, 0);
643 adjust_fit(0,0);
644 pcshiftx := sb;
645 pickup quill;
646 %% left stem
647 lft x1 = pcshiftx + jut; top y1 = h;
648 %% right stem
649 rt x5=w-pcshiftx; top y5 = h;
650 bot y3 = 0;
651 x3 = 1/2[x1,x5];
652 z51 = (x1,0); z55=(x5,0);
653 %%ductus:=true;
654 if ductus:
655 pickup stylus;
656 fi
657 draw z1{down}..z3; % left stem
658 draw_flatserif(1,51,srad);
659 draw z5{down}..z3; % right stem
660 draw_flatserif(5,55,srad);
661 ductus:=false;
662 penlabels(1,2,3,4,5,11,13,14,23,26,100);
663 endchar; % end "v"
664
665 cmchar "EGOTH letter w";
666 beginchar("w", 2sb#+hstretch*(15/16x_height#+2jut#),
667 x_height#, 0);
668 adjust_fit(0,0);
669 pcshiftx := sb;
670 pickup quill;
671 %% left stem
672 lft x1 = pcshiftx + jut; top y1 = h;
673 x13=x1; y13=1/3h;
674 rt x5=w-pcshiftx-jut; y5=y1;
675 x6=x5; bot y6=0;
676 z53=1/4[z6,z5]; % start of bowl
677 z3 = 1/2[z1,z5];
678 z33=(x3,y13);
679 x14=1/3[x1,x3]; bot y14=0;
680 x34=1/3[x3,x5]; y34=y14;
681 %%ductus:=true;
682 if ductus:
683 pickup stylus;
684 fi
685 draw z1--z13--z14{right}...z33{pdir}; % left
686 draw_flatserif(1,13,srad);
687 draw z3--z33--z34{right}...z53{pdir}; % middle
688 draw_flatserif(3,33,srad);
689 draw_tstem(5,6,srad); % right stem
690 draw_flatserif(5,6,srad);
691 draw_roundserif(6,5,srad);
692 ductus:=false;
693 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100);
694 endchar; % end "w"
695
696 cmchar "EGOTH letter x";
697 beginchar("x", 2sb#+hstretch*(15/16x_height#),
698 x_height#, desc_depth#);
699 adjust_fit(0,0);
700 path pth[];
701 numeric n[];
702 pcshiftx := sb;
703 pickup quill;
704 n1 := w-2pcshiftx; % total width
705 n2 := thick; % triangle side
706 %% diag top left to bottom right
707 lft x1=pcshiftx+jut; top y1=h;
708 rt x2=w-pcshiftx-jut; bot y2=0;
709 z251 = 7/16[z1,z2];
710 %%z252 = 9/16[z1,z2];
711 z252 = z251;
712 %% diag middle to top right
713 x60 = w-pcshiftx;
714 top y50 = h;
715 x50 = 1/2[x251,x60];
716 top y60 = y50;
717 %% diag bottom left to middle
718 x10 = -1/3w; bot y10=-d;
719 %%ductus:=true;
720 if ductus:
721 pickup stylus;
722 fi
723 draw z1--z2; % top left to bottom right
724 draw_flatserif(1,2,srad); draw_roundserif(2,1,srad);
725 draw z251...z50{right}...z60; % middle to top right
726 draw z10{right}..z252; % bottom left to middle
727 ductus:=false;
728 penlabels(1,2,3,4,5,6,7,8,10,25,251,252,40,50,150,60,160,100);
729 endchar; % end "x"
730
731 cmchar "EGOTH letter y";
732 beginchar("y", 2sb#+hstretch*(11/16x_height#+jut#),
733 x_height#, desc_depth#);
734 adjust_fit(0,0);
735 pcshiftx := sb;
736 path pth[];
737 numeric n[];
738 pickup quill;
739 %% left stem top
740 lft x1 = pcshiftx + jut; top y1 = h;
741 bot y3 = 0;
742 %% right stem
743 rt x5=w-pcshiftx; top y5 = h;
744 lft x9=-1/2w; bot y9 = -d;
745 pth1 := z9{right}..z5{up};
746 pth2 := (0,y3)--(w,y3);
747 z99 = pth1 intersectionpoint pth2;
748 x3 = x99;
749 z51 = (x1,0); z55=(x5,0);
750 %%ductus:=true;
751 if ductus:
752 pickup stylus;
753 fi
754 draw z1{down}..z3; % left stem
755 draw_flatserif(1,51,srad);
756 draw pth1; % right stem
757 draw_flatserif(5,55,srad);
758 ductus:=false;
759 penlabels(1,2,3,4,5,6,7,8,9,10,100);
760 endchar; % end "y"
761
762 cmchar "EGOTH letter z";
763 beginchar("z", 2sb#+hstretch*(15/16x_height#),
764 x_height#, 0);
765 adjust_fit(0,0);
766 numeric n[];
767 path pth[];
768 pcshiftx := sb;
769 pickup quill;
770 %% top bar ends
771 top y12 = h;
772 n1 := h - y12;
773 lft x1 = pcshiftx; rt x2 = w-pcshiftx;
774 %%y1 = y12-n1; y2=y12+n1;
775 y1 = y12-n1; y2=y12;
776 x12 = 1/2[x1,x2];
777 pth1 := z1{pdir}..z12{right}..z2{pdir};
778 %% bottom bar ends
779 bot y34 = 0;
780 x3=x1; x4=x2;
781 %%y3=y34-n1; y4=y34+n1;
782 y3=y34-n1; y4=y34;
783 x34 = 1/2[x3,x4];
784 pth2 := z3{pdir}..z34{right}..z4{pdir};
785 %% diagonal
786 z5=z3;
787 pth3 := z5--(3/4w,h+jut);
788 z6 = pth3 intersectionpoint pth1;
789 %%ductus:=true;
790 if ductus:
791 pickup stylus;
792 fi
793 draw pth1; draw pth2; % bars
794 draw z5--z6;
795 ductus:=false;
796 penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100);
797 endchar; % end "z"
798