Debian Codegraph @

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

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