Debian Codegraph @

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

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