Debian Codegraph @

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

raw
1 %%
2 %% This is file `tgothl.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% tgothic.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 "TGOTH letter a";
20 beginchar("a", 2sb#+hstretch*((3+widedmin+wided)*stem_width#),
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 %% left hand
29 lft x1 = pcshiftx + widedmin*stem_width; y1 = 1/2h;
30 x2 = x1; y2 = 0;
31 draw_downdiamondstem(1,2,wided,widedmin,diawd,diang);
32 %% right stem
33 rt x3 = w - pcshiftx - wided*stem_width; y3=h;
34 x4=x3; y4=0;
35 z34=1/2[z3,z4];
36 draw_updiamondstem(3,34,1.0,0.1,diawd,diang);
37 draw_downdiamondstem(34,4,wided,widedmin,diawd,diang);
38 %% swirl
39 x11=rt x1; y11 = top y1;
40 pickup stylus;
41 draw z3d--z3c..{-ppdir}z11;
42 ductus:=false;
43 penlabels(1,2,3,4,5,6,7,8,11,12,13,14,15,100);
44 endchar; % end "a"
45
46 cmchar "TGOTH letter b";
47 beginchar("b", 2sb#+hstretch*((3 + widedmin + narrowdmin)*stem_width#),
48 asc_height#, 0);
49 adjust_fit(0,0);
50 numeric n[];
51 numeric st; st := stem_width;
52 path pth[];
53 pcshiftx := sb;
54 pickup quill;
55 n1:=w-2pcshiftx; % actual letter width
56 n2:=h/ascratio; % top of bowl
57 %%ductus:=true;
58 lft x1 = pcshiftx + widedmin*st; y1=h;
59 x2 = x1; y2=0;
60 z3=1/2[z1,z2];
61 draw_upforkstem(1,3);
62 draw_downdiamondstem(3,2,1.0,widedmin,diawd,diang);
63 lft x6 = x2c; bot y6 = y2c;
64 x4 = x6; y4=n2;
65 draw_updiamondstem(4,6,narrowd,narrowdmin,diawd,diang);
66 x7 = x1; z7 = whatever[z4d,z4c];
67 pickup stylus;
68 draw z4d--z7;
69 ductus:=false;
70 penlabels(1,2,3,4,5,6,7,8,9,100);
71 endchar; % end "b"
72
73 cmchar "TGOTH letter c";
74 beginchar("c", 2sb#+hstretch*((3+wided)*stem_width#),
75 x_height#, 0);
76 adjust_fit(0,0);
77 numeric n[];
78 numeric st;
79 st := stem_width;
80 pcshiftx := sb;
81 pickup quill;
82 %% left
83 lft x1 = pcshiftx+wided*st; y1 = 3/4h;
84 x2 = x1; y2 = 0;
85 draw_downdiamondstem(1,2,wided,widedmin,diawd,diang);
86 %% top
87 lft x3 = rt x1; bot y3 = top y1;
88 rt x4 = w - pcshiftx;
89 z3 - z4 = -whatever*ppdir;
90 draw z3--z4;
91 z11-z2c = z2c - z2d;
92 pickup stylus;
93 draw z2d--z11;
94 ductus:=false;
95 penlabels(1,2,3,4,5,6,14,16,17,18,100);
96 endchar; % end "c"
97
98 cmchar "TGOTH letter d";
99 beginchar("d", 2sb#+hstretch*((3+widedmin+narrowdmin)*stem_width#),
100 asc_height#, 0);
101 adjust_fit(0,0);
102 numeric n[];
103 numeric st; st := stem_width;
104 path pth[];
105 pcshiftx := sb;
106 pickup quill;
107 n1 = h/ascratio; % x-height
108 %% left
109 n2 := st*(cosd diang);
110 lft x1 = pcshiftx + widedmin*st; top y1 = 12/16n1;
111 x2=x1; y2=0;
112 draw_downdiamondstem(1,2, 1.0, widedmin, diawd,diang);
113 %% right
114 rt x3 = w-pcshiftx-narrowdmin*st; y3=h;
115 x4 = x3; bot y4 = y2c;
116 draw_updiamondstem(3,4, 2.0, narrowdmin, diawd,diang);
117 x31 = lft x1; y31 = bot y1;
118 x32 = rt x1; y32 = top y1;
119 z33 = whatever[z31,z32] = whatever[z3e,z3c];
120 pickup stylus;
121 draw z31--z33;
122 ductus:=false;
123 penlabels(0,1,2,3,4,5,6,7,8,100);
124 endchar; % end "d"
125
126 cmchar "TGOTH letter e";
127 beginchar("e", 2sb#+hstretch*((3+wided)*stem_width#),
128 x_height#, 0);
129 adjust_fit(0,0);
130 pcshiftx := sb;
131 numeric n[];
132 numeric st;
133 st := stem_width;
134 path pth[];
135 pickup quill;
136 %% left
137 lft x1 = pcshiftx+wided*st; y1 = 3/4h;
138 x2 = x1; y2 = 0;
139 draw_downdiamondstem(1,2,wided,widedmin,diawd,diang);
140 %% top
141 lft x3 = rt x1; bot y3 = top y1;
142 rt x4 = w - pcshiftx;
143 z3 - z4 = -whatever*ppdir;
144 draw z3--z4;
145 x5 = x1;
146 z4-z5 = whatever*pdir;
147 pickup stylus;
148 draw z4--z5;
149 ductus:=false;
150 penlabels(1,2,3,4,5,6,7,8,9,17,27,34,70,100);
151 endchar; % end "e"
152
153 cmchar "TGOTH letter f";
154 beginchar("f", 2sb#+hstretch*((3+widedmin)*stem_width#),
155 (asc_height#), 0);
156 adjust_fit(0,0);
157 numeric n[];
158 numeric st; st := stem_width;
159 pcshiftx := sb;
160 pickup quill;
161 n1 := h/ascratio; % x-height
162 %% stem
163 lft x1=lft x2=pcshiftx+widedmin*st; y2=0; top y1 = h - (top y2 - bot y2);
164 draw_downdiamondstem(1,2,wided,widedmin,diawd,diang);
165 %% top bar
166 lft x3 = rt x1; rt x5 = w-pcshiftx; bot y3 = top y1; y5=y3;
167 draw z3--z5;
168 %% middle bar
169 lft x7 = pcshiftx; rt x9 = x5;
170 y7 = y9 = 10/16h;
171 draw z7--z9;
172 ductus:=false;
173 penlabels(1,2,3,4,5,6,7,8,9,14,15,16,100);
174 endchar; % end "f"
175
176 cmchar "TGOTH letter g";
177 beginchar("g", 2sb#+hstretch*((4)*stem_width#),
178 x_height#, desc_depth#);
179 adjust_fit(0,0);
180 path pth[];
181 pair vec[];
182 numeric n[];
183 numeric st; st := stem_width;
184 pcshiftx := sb;
185 pickup quill;
186 %% left
187 lft x1 = pcshiftx;
188 x2 = x1; bot y2 = 0; top y1 = h - (top y2 - bot y2);
189 draw z1--z2;
190 x3 = x4 = x1 + 2st; y4 = y2;
191 lft x13 = rt x1; bot y13 = top y1;
192 (z3-z13) = whatever*(dir -diang);
193 draw z13--z3--z4;
194 z34 = 1/2[z13,z3]; rt x37 = w-pcshiftx; top y37 = h;
195 draw z34{right}..{pdir}z37;
196 pickup stylus;
197 bot y5 = -d;
198 (z4-z5) = whatever*pdir;
199 draw z4--z5;
200 pickup quill;
201 %% bottom loop
202 z21 = z2;
203 lft x25 = x5; bot y25=-d;
204 x29 = 1/2[x3,x37];
205 (z29-z21) = whatever*(dir -diang);
206 x23 = x29; y23 = 1/2[y29,y25];
207 draw z21{dir - diang}..z23{down}..{left}z25;
208 ductus:=false;
209 penlabels(1,2,3,4,5,6,7,8,9,11,12,13,31,32,33,34,35,36,100);
210 endchar; % end "g"
211
212 cmchar "TGOTH letter h";
213 beginchar("h", 2sb#+hstretch*((3 + narrowd + narrowdmin)*stem_width#),
214 asc_height#, 0);
215 adjust_fit(0,0);
216 pcshiftx := sb;
217 pickup quill;
218 numeric n[];
219 n1 = h/ascratio;
220 %% stem
221 lft x1=lft x2=pcshiftx + narrowdmin*stem_width;
222 y1=h; y2=0;
223 z12 = 1/2[z1,z2];
224 draw_upforkstem(1,12);
225 draw_downdiamondstem(12,2,narrowd,narrowdmin,diawd,diang);
226 %% bowl
227 x3 = x1 + 2stem_width; x4 = x3;
228 y3 = n1; y4=0;
229 z34 = 1/2[z3,z4];
230 draw_updiamondstem(3,34,narrowd,narrowdmin,diawd,diang);
231 draw_downdiamondstem(34,4,narrowd,narrowdmin,diawd,diang);
232 x7 = x1; z7 = whatever[z3d,z3c];
233 pickup stylus;
234 draw z3d--z7;
235 penlabels(1,2,3,4,5,6,100);
236 endchar; % end "h"
237
238 cmchar "TGOTH letter i";
239 beginchar("i", 2sb#+hstretch*(2stem_width#),
240 x_height#, 0);
241 adjust_fit(0,0);
242 pcshiftx := sb;
243 pickup quill;
244 x1 = x2 = 1/2w; y1 = h; y2 = 0;
245 z12 = 1/2[z1,z2];
246 draw_updiamondstem(1,12,1/2,1/2,diawd,diang);
247 draw_downdiamondstem(12,2,1/2,1/2,diawd,diang);
248 x3= x1-thin; bot y3 = h + 1/2stem_width;
249 z4 = (x3+3thin,y3);
250 pickup halfquill;
251 draw z3--z4;
252 penlabels(1,2,100);
253 endchar; % end "i"
254
255 cmchar "TGOTH letter j";
256 beginchar("j", sb#+hstretch*(5/2stem_width#),
257 x_height#, desc_depth#);
258 adjust_fit(0,0);
259 pcshiftx := sb;
260 numeric n[];
261 pickup quill;
262 %% stem
263 rt x1 = w-pcshiftx - 1/2stem_width; y1 = h;
264 x2=x1; y2=-1/2d;
265 %% bottom hook
266 lft x3 = pcshiftx; bot y3 = -d;
267 draw_updiamondstem(1,2,narrowd,narrowdmin,diawd,diang);
268 draw z2{down}..z3{-pdir}; % hook
269 ductus:=false;
270 penlabels(1,2,3,100);
271 endchar; % end "j"
272
273 cmchar "TGOTH letter k";
274 beginchar("k", 2sb#+hstretch*((3 + narrowd + narrowdmin)*stem_width#),
275 asc_height#, 0);
276 adjust_fit(0,0);
277 pcshiftx := sb;
278 path pth[];
279 numeric n[];
280 numeric st; st := stem_width;
281 pickup quill;
282 %% stem
283 n1 = h/ascratio; % x-height
284 lft x1=lft x2=pcshiftx + narrowdmin*st;
285 y1=h; y2=0;
286 z12 = 1/2[z1,z2];
287 draw_upforkstem(1,12);
288 draw_downdiamondstem(12,2, narrowd, narrowdmin, diawd,diang);
289 %% right leg
290 x3 = x1 + 2st; y3 = 8/16n1;
291 x4 = x3; y4 = 0;
292 z34 = 1/2[z3,z4];
293 draw_downdiamondstem(34,4, narrowd, narrowdmin, diawd,diang);
294 draw z3--z34;
295 lft x5 = rt x1;
296 (z3-z5) = whatever*(dir -diang);
297 draw z5--z3;
298
299 %% top arm
300 x6 = 1/2[x3, rt x3];
301 (z6-z5) = whatever*(pdir);
302 rt x8 = lft x5; top y8 = bot y5+thick;
303 (z7-z8) = whatever*(z6-z5);
304 (z7-z6)=whatver*(z5-z3);
305 draw z6--z7;
306 pickup stylus;
307 draw z5--z6--z7--z8;
308
309 ductus:=false;
310 penlabels(1,2,3,4,5,6,7,8,9,13,14,100);
311 endchar; % end "k"
312
313 cmchar "TGOTH letter l";
314 beginchar("l", 2sb#+hstretch*((2 + widedmin)*stem_width#),
315 asc_height#, 0);
316 adjust_fit(0,0);
317 numeric st; st := stem_width;
318 pcshiftx := sb;
319 pickup quill;
320 lft x1=pcshiftx + widedmin*st; y1=h;
321 x2=x1; y2 =0;
322 z3 = 1/2[z1,z2];
323 %%ductus:=true;
324 if ductus:
325 pickup stylus;
326 fi
327 draw_upforkstem(1,3);
328 draw_downdiamondstem(3,2,1.0,widedmin,diawd,diang);
329 ductus:=false;
330 penlabels(1,2,3,4,100);
331 endchar; % end "l"
332
333 cmchar "TGOTH letter m";
334 beginchar("m", 2sb#+hstretch*((5+wided+narrowd)*stem_width#),
335 x_height#, 0);
336 adjust_fit(0,0);
337 pcshiftx := sb;
338 numeric n[];
339 path pth[];
340 pickup quill;
341 %% left stem
342 lft x1=pcshiftx+wided*stem_width; y1 = y3 = y5 = h;
343 x2=x1; y2=y4=y6=0;
344 z12=1/2[z1,z2];
345 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
346 draw_downdiamondstem(12,2,narrowd,narrowdmin,diawd,diang);
347 %% right stem
348 rt x5 = rt x6 = w-pcshiftx-narrowd*stem_width;
349 z56 = 1/2[z5,z6];
350 draw_updiamondstem(5,56,wided,widedmin,diawd,diang);
351 draw_downdiamondstem(56,6,narrowd,narrowdmin,diawd,diang);
352 %% middle stem
353 z3=1/2[z1,z5]; z4 = 1/2[z2,z6]; z34=1/2[z3,z4];
354 draw_updiamondstem(3,34,wided,widedmin,diawd,diang);
355 draw_downdiamondstem(34,4,narrowd,narrowdmin,diawd,diang);
356 ductus:=false;
357 penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100);
358 endchar; % end "m"
359
360 cmchar "TGOTH letter n";
361 beginchar("n", 2sb#+hstretch*((3+wided+narrowd)*stem_width#),
362 x_height#, 0);
363 adjust_fit(0,0);
364 pcshiftx := sb;
365 numeric n[];
366 pickup quill;
367 %% left stem
368 lft x1 = pcshiftx + wided*stem_width; y1 = h;
369 x2 = x1; y2 = 0;
370 z12 = 1/2[z1,z2];
371 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
372 draw_downdiamondstem(12,2,narrowd,narrowdmin,diawd,diang);
373 %% right stem
374 rt x3 = w-pcshiftx - narrowd*stem_width; y3=y1;
375 x4=x3;y4=y2;
376 z34=1/2[z3,z4];
377 draw_updiamondstem(3,34,wided,widedmin,diawd,diang);
378 draw_downdiamondstem(34,4,narrowd,narrowdmin,diawd,diang);
379 penlabels(1,2,3,4,5,6,13,14,100);
380 endchar; % end "n"
381
382 cmchar "TGOTH letter o";
383 beginchar("o", 2sb#+hstretch*((3 + narrowdmin + narrowdmin)*stem_width#),
384 x_height#, 0);
385 adjust_fit(0,0);
386 pcshiftx := sb;
387 numeric n[];
388 numeric st; st := stem_width;
389 pickup quill;
390 %% bottom left
391 lft x12 = pcshiftx + narrowdmin*st; y12 = 1/2h;
392 x2 = x12; y2 = 0;
393 draw_downdiamondstem(12,2, 1.0, narrowdmin, diawd,diang);
394 %% right
395 rt x3 = w - pcshiftx - narrowdmin*st; x4=x3;
396 y3 = h; bot y4 = y2c;
397 draw_updiamondstem(3,4, 1.0, narrowdmin, diawd,diang);
398 %% top left
399 x1 = x12; top y1 = y3c;
400 draw z1--z12;
401 ductus:=false;
402 penlabels(1,2,3,4,5,100);
403 endchar; % end "o"
404
405 cmchar "TGOTH letter p";
406 beginchar("p", 2sb#+hstretch*((3 + wided + widedmin)*stem_width#),
407 x_height#, desc_depth#);
408 adjust_fit(0,0);
409 pcshiftx := sb;
410 numeric n[];
411 numeric st; st := stem_width;
412 pickup quill;
413 %% stem
414 lft x1=lft x2=pcshiftx+wided*st;
415 y1=h; y2=-d;
416 z12 = 1/2[z1,z2];
417 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
418 draw_downforkstem(12,2);
419 %% bowl
420 x3 = x4 = x1 + 2st;
421 y3 = y1; bot y4 = 0;
422 draw_updiamondstem(3,4,wided,widedmin,diawd,diang);
423 lft x5 = pcshiftx; y5 = y4;
424 draw z5--z4;
425 ductus:=false;
426 penlabels(1,2,3,4,5,6,7,8,100);
427 endchar; % end "p"
428
429 cmchar "TGOTH letter q";
430 beginchar("q", 2sb#+hstretch*((3 + widedmin)*stem_width#),
431 x_height#, desc_depth#);
432 adjust_fit(0,0);
433 pcshiftx := sb;
434 numeric n[];
435 numeric st; st := stem_width;
436 pickup quill;
437 %% left/bottom of bowl
438 y99 = 0;
439 lft x1 = pcshiftx +widedmin*st; top y1 = h - (top y99 - bot y99);
440 x2 = x1; y2 = 0;
441 draw_downdiamondstem(1,2, 1.0, widedmin,diawd,diang);
442 %% rest
443 x3 = x1 + 2st; x4 = x3; y3 = y1; y4 = -d;
444 lft x5 = rt x1; bot y5 = top y1;
445 draw_downforkstem(3,4);
446 draw z5--z3;
447 ductus:=false;
448 penlabels(0,1,2,3,4,5,6,7,8,100);
449 endchar; % end "q"
450
451 cmchar "TGOTH letter r";
452 beginchar("r", 2sb#+hstretch*((3+wided)*stem_width#),
453 x_height#, 0);
454 adjust_fit(0,0);
455 pcshiftx := sb;
456 numeric n[];
457 numeric st; st := stem_width;
458 pickup quill;
459 %% stem
460 lft x1=lft x2=pcshiftx + wided*st;
461 y1=h; y2=0;
462 z12 = 1/2[z1,z2];
463 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
464 draw_downdiamondstem(12,2,wided,widedmin,diawd,diang);
465 %% bar
466 lft x3 = rt x1; rt x4 = w-pcshiftx; top y3 = top y4 = h;
467 draw z3--z4;
468 ductus:=false;
469 penlabels(1,2,3,4,5,6,7,8,9,100);
470 endchar; % end "r"
471
472 cmchar "TGOTH letter s";
473 beginchar("s", 2sb#+hstretch*((4)*stem_width#),
474 x_height#, 0);
475 adjust_fit(0,0);
476 numeric n[];
477 numeric st; st := stem_width;
478 pcshiftx := sb;
479 pickup stylus;
480 %% the diagonal
481 lft x2 = pcshiftx; bot y2 = 0;
482 rt x1 = w-pcshiftx; top y1 = h;
483 draw z1--z2;
484 pickup quill;
485 z211 = 13/32[z2,z1]; %% 10/32 too small, 16/32 too large
486 z213 = 24/32[z2,z1]; %% 26/32 too large
487 z212 = 1/2[z211,z213];
488 %% bottom bowl
489 lft x21 = x2; bot y21 = 0;
490 rt x22 = w - pcshiftx; bot y22 = 0;
491 x23 = x22; z24 = z212;
492 (z24-z23) = whatever*(dir (180-diang));
493 draw z21{pdir}..z22--z23--z24;
494 %% top bowl
495 z14 = z211; z11 = z213;
496 lft x12 = lft x13 = pcshiftx;
497 (z13-z14) = whatever*(dir (180-diang));
498 (z12-z11) = whatever*(dir (180-diang));
499 draw z11--z12--z13--z14;
500 ductus:=false;
501 penlabels(1,2,3,4,5,6,7,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,100);
502 endchar; % end "s"
503
504 cmchar "TGOTH letter t";
505 beginchar("t", 2sb#+hstretch*((2+1.0)*stem_width#),
506 asc_height#, 0);
507 adjust_fit(0,0);
508 pcshiftx := sb;
509 numeric n[];
510 numeric st; st := stem_width;
511 pickup quill;
512 %% bar
513 lft x3 = pcshiftx; top y1 = h;
514 top y3 = bot y1;
515 rt x4 = w-pcshiftx; y4=y3;
516 draw z3--z4;
517 %% stem
518 lft x1 = rt x3;
519 x2 = x1; y2 = 0;
520 draw_downdiamondstem(1,2,wided,widedmin,diawd,diang);
521 ductus:=false;
522 penlabels(1,2,3,4,5,6,11,12,100);
523 endchar; % end "t"
524
525 cmchar "TGOTH letter u";
526 beginchar("u", 2sb#+hstretch*((3+narrowd+wided)*stem_width#),
527 x_height#, 0);
528 adjust_fit(0,0);
529 pcshiftx := sb;
530 numeric n[];
531 pickup quill;
532 %% left stem
533 lft x1 = pcshiftx + narrowd*stem_width; y1 = h;
534 x2 = x1; y2 = 0;
535 z12 = 1/2[z1,z2];
536 draw_updiamondstem(1,12,narrowd,narrowdmin,diawd,diang);
537 draw_downdiamondstem(12,2,wided,widedmin,diawd,diang);
538 rt x3 = w - pcshiftx - wided*stem_width; y3=y1;
539 x4=x3;y4=y2;
540 z34=1/2[z3,z4];
541 draw_updiamondstem(3,34,narrowd,narrowdmin,diawd,diang);
542 draw_downdiamondstem(34,4,wided,widedmin,diawd,diang);
543 ductus:=false;
544 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100);
545 endchar; % end "u"
546
547 cmchar "TGOTH letter v";
548 beginchar("v", 2sb#+hstretch*((4 + narrowdmin)*stem_width#),
549 asc_height#, 0);
550 adjust_fit(0,0);
551 numeric n[]; numeric st;
552 pcshiftx := sb;
553 st := stem_width;
554 n1 := h/ascratio; % x-height
555 pickup quill;
556 %% bottom left stem
557 %% right and bottom left stems
558 rt x23 = w - pcshiftx - narrowdmin*st; y23 = n1; x24=x23;
559 x1 = x23 - 2st; y1 = 1/2n1;
560 x2 = x1; y2 = 0;
561 draw_downdiamondstem(1,2, 1.0, widedmin, diawd, diang);
562 bot y24 = y2c;
563 draw_updiamondstem(23, 24, narrowd, narrowdmin, diawd, diang);
564 %% curly bit
565 x11=x1; top y11 = h;
566 lft x12 = pcshiftx; y12 = 1/2[y11,y1];
567 draw z11{down}..z12{down}..{down}z1;
568 ductus:=false;
569 penlabels(1,2,3,4,5,11,13,14,23,26,100);
570 endchar; % end "v"
571
572 cmchar "TGOTH letter w";
573 beginchar("w", 2sb#+hstretch*((5+wided+narrowd)*stem_width#),
574 x_height#, 0);
575 adjust_fit(0,0);
576 pcshiftx := sb;
577 pickup quill;
578 %% left stem
579 lft x1 = pcshiftx + narrowd*stem_width; y1 = y3 = y5 = h;
580 x2 = x1; y2 = y4 = y6 = 0;
581 z12=1/2[z1,z2];
582 draw_updiamondstem(1,12, narrowd, narrowdmin, diawd, diang);
583 draw_downdiamondstem(12,2, wided, widedmin, diawd, diang);
584 %% right stem
585 rt x5 = w -pcshiftx-wided*stem_width; x6 = x5;
586 z56 = 1/2[z5,z6];
587 draw_updiamondstem(5,56, narrowd, narrowdmin, diawd, diang);
588 draw_downdiamondstem(56,6, wided, widedmin, diawd, diang);
589 %% middle stem
590 z3 = 1/2[z1,z5]; z4 = 1/2[z2,z6]; z34 = 1/2[z3,z4];
591 draw_updiamondstem(3,34, narrowd, narrowdmin, diawd, diang);
592 draw_downdiamondstem(34,4, wided, widedmin, diawd, diang);
593 ductus:=false;
594 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100);
595 endchar; % end "w"
596
597 cmchar "TGOTH letter x";
598 beginchar("x", 2sb#+hstretch*((4)*stem_width#),
599 x_height#, 0);
600 adjust_fit(0,0);
601 path pth[];
602 numeric n[];
603 numeric st; st := stem_width;
604 pcshiftx := sb;
605 pickup quill;
606 %% upright
607 x1 = 1/2w; y1 = h;
608 x2 = x1; y2 = 0;
609 z12 = 1/2[z1,z2];
610 draw_updiamondstem(1,12, 1.5, widedmin,diawd,2/3diang);
611 draw_downdiamondstem(12,2, 1.5, widedmin,diawd,2/3diang);
612 %% top right bar
613 lft x3 = rt x1; top y3 = h;
614 rt x4 = w - pcshiftx; y4=y3;
615 draw z3--z4;
616 %% middle bar
617 n1 := h-y3;
618 lft x5 = pcshiftx; rt x6 = w - pcshiftx;
619 y5 = 1/2h - n1; y6 = 1/2h;
620 z56 = 1/2[z5,z6];
621 draw z5{pdir}..z56..{pdir}z6;
622 %% bottom left
623 pickup stylus;
624 lft x11 = pcshiftx; bot y11 = 0;
625 draw z2e--z11;
626 ductus:=false;
627 penlabels(1,2,3,4,5,6,7,8,10,25,251,252,40,50,150,60,160,100);
628 endchar; % end "x"
629
630 cmchar "TGOTH letter y";
631 beginchar("y", 2sb#+hstretch*((3 + narrowd+ narrowdmin)*stem_width#),
632 x_height#, desc_depth#);
633 adjust_fit(0,0);
634 pcshiftx := sb;
635 path pth[];
636 numeric n[];
637 numeric st; st = stem_width;
638 pickup quill;
639 %% right side
640 rt x3 = w - pcshiftx - narrowdmin*st; y3 = h;
641 x33 = x3; y33 = 0;
642 %%draw_updiamondstem(3,4,narrowd,narrowdmin, diawd,diang);
643 %% left side
644 x1 = x3 - 2st; y1 = y3;
645 x2 = x1; y2 = 0;
646 n1 := top y2 - y2;
647 draw_updiamondstem(1,2,narrowd,narrowdmin, diawd,diang);
648 %% tail
649 x11 = rt x2; y11 = top y2;
650 x12 = lft x2; y12 = bot y2;
651 pickup stylus;
652 lft x14 = x1 - 2st; y14 = -d + n1;
653 x15 = x14+n1; bot y15 = -d;
654 z4 = whatever[z11,z12] = whatever[z3,z33];
655 x10=x4; bot y10 = y4;
656 draw z10--z11--z12..{down}z14..{-ppdir}z15;
657 pickup quill;
658 draw_updiamondstem(3,4,narrowd,narrowdmin, diawd,diang);
659 ductus:=false;
660 penlabels(1,2,3,4,5,6,7,8,9,10,11,12,14,15,33,100);
661 endchar; % end "y"
662
663 cmchar "TGOTH letter z";
664 beginchar("z", 2sb#+hstretch*(3stem_width#),
665 x_height#, 0);
666 adjust_fit(0,0);
667 numeric n[];
668 numeric st; st := stem_width;
669 path pth[];
670 pcshiftx := sb;
671 pickup quill;
672 %% top bar ends
673 top y12 = h;
674 n1 := h - y12;
675 lft x1 = pcshiftx; rt x2 = w-pcshiftx;
676 %%y1 = y12-n1; y2=y12+n1;
677 y1 = y12-n1/2; y2=y12;
678 x12 = 1/2[x1,x2];
679 pth1 := z1{pdir}..z12{right}..z2{pdir};
680 %% bottom bar ends
681 bot y34 = 0;
682 x3=x1; x4=x2;
683 %%y3=y34-n1; y4=y34+n1;
684 y3=y34-n1/2; y4=y34;
685 x34 = 1/2[x3,x4];
686 pth2 := z3{pdir}..z34{right}..z4{pdir};
687 %% centre bar
688 z5 = 1/2[z1,z3]; z6 = 1/2[z2,z4]; z56 = 1/2[z5,z6];
689 pth3 := z5{pdir}..z56{right}..z6{pdir};
690 draw pth1; draw pth2; draw pth3; % bars
691 draw z2--z3;
692 ductus:=false;
693 penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100);
694 endchar; % end "z"
695