Debian Codegraph @

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

raw
1 %%
2 %% This is file `pgothl.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pgothic.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 "PGOTH 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; bot y4=0;
35 z34=1/2[z3,z4];
36 draw_updiamondstem(3,34,1.0,0.1,diawd,diang);
37 draw z34--z4; draw_flat_foot(4);
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 "PGOTH 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 "PGOTH 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 "PGOTH 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 "PGOTH 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 "PGOTH 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 z1--z2; draw_flat_foot(2);
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 "PGOTH 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 "PGOTH 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; bot y2=0;
223 z12 = 1/2[z1,z2];
224 draw_upforkstem(1,12);
225 draw z12--z2;
226 draw_flat_foot(2);
227 %% bowl
228 x3 = x1 + 2stem_width; x4 = x3;
229 y3 = n1; bot y4=0;
230 z34 = 1/2[z3,z4];
231 draw_updiamondstem(3,34,narrowd,narrowdmin,diawd,diang);
232 draw z34--z4; draw_flat_foot(4);
233 x7 = x1; z7 = whatever[z3d,z3c];
234 pickup stylus;
235 draw z3d--z7;
236 penlabels(1,2,3,4,5,6,100);
237 endchar; % end "h"
238
239 cmchar "PGOTH letter i";
240 beginchar("i", 2sb#+hstretch*(2stem_width#),
241 x_height#, 0);
242 adjust_fit(0,0);
243 pcshiftx := sb;
244 pickup quill;
245 x1 = x2 = 1/2w; y1 = h; bot y2 = 0;
246 z12 = 1/2[z1,z2];
247 draw_updiamondstem(1,12,1/2,1/2,diawd,diang);
248 draw z12--z2; draw_flat_foot(2);
249 x3= x1-thin; bot y3 = h + 1/2stem_width;
250 z4 = (x3+3thin,y3);
251 pickup halfquill;
252 draw z3--z4;
253 penlabels(1,2,100);
254 endchar; % end "i"
255
256 cmchar "PGOTH letter j";
257 beginchar("j", sb#+hstretch*(5/2stem_width#),
258 x_height#, desc_depth#);
259 adjust_fit(0,0);
260 pcshiftx := sb;
261 numeric n[];
262 pickup quill;
263 %% stem
264 rt x1 = w-pcshiftx - 1/2stem_width; y1 = h;
265 x2=x1; y2=-1/2d;
266 %% bottom hook
267 lft x3 = pcshiftx; bot y3 = -d;
268 draw_updiamondstem(1,2,narrowd,narrowdmin,diawd,diang);
269 draw z2{down}..z3{-pdir}; % hook
270 ductus:=false;
271 penlabels(1,2,3,100);
272 endchar; % end "j"
273
274 cmchar "PGOTH letter k";
275 beginchar("k", 2sb#+hstretch*((3 + narrowd + narrowdmin)*stem_width#),
276 asc_height#, 0);
277 adjust_fit(0,0);
278 pcshiftx := sb;
279 path pth[];
280 numeric n[];
281 numeric st; st := stem_width;
282 pickup quill;
283 %% stem
284 n1 = h/ascratio; % x-height
285 lft x1=lft x2=pcshiftx + narrowdmin*st;
286 y1=h; bot y2=0;
287 z12 = 1/2[z1,z2];
288 draw_upforkstem(1,12);
289 draw z12--z2; draw_flat_foot(2);
290 %% right leg
291 x3 = x1 + 2st; y3 = 8/16n1;
292 x4 = x3; bot y4 = 0;
293 z34 = 1/2[z3,z4];
294 draw z3--z4; draw_flat_foot(4);
295 draw z3--z34;
296 lft x5 = rt x1;
297 (z3-z5) = whatever*(dir -diang);
298 draw z5--z3;
299
300 %% top arm
301 x6 = 1/2[x3, rt x3];
302 (z6-z5) = whatever*(pdir);
303 rt x8 = lft x5; top y8 = bot y5+thick;
304 (z7-z8) = whatever*(z6-z5);
305 (z7-z6)=whatver*(z5-z3);
306 draw z6--z7;
307 pickup stylus;
308 draw z5--z6--z7--z8;
309
310 ductus:=false;
311 penlabels(1,2,3,4,5,6,7,8,9,13,14,100);
312 endchar; % end "k"
313
314 cmchar "PGOTH letter l";
315 beginchar("l", 2sb#+hstretch*((1 + widedmin)*stem_width#),
316 asc_height#, 0);
317 adjust_fit(0,0);
318 numeric st; st := stem_width;
319 pcshiftx := sb;
320 pickup quill;
321 x1 = 1/2w; y1=h;
322 x2=x1; bot y2 =0;
323 z3 = 1/2[z1,z2];
324 %%ductus:=true;
325 if ductus:
326 pickup stylus;
327 fi
328 draw_upforkstem(1,3);
329 draw z3--z2; draw_flat_foot(2);
330 ductus:=false;
331 penlabels(1,2,3,4,100);
332 endchar; % end "l"
333
334 cmchar "PGOTH letter m";
335 beginchar("m", 2sb#+hstretch*((5+wided+narrowd)*stem_width#),
336 x_height#, 0);
337 adjust_fit(0,0);
338 pcshiftx := sb;
339 numeric n[];
340 path pth[];
341 pickup quill;
342 %% left stem
343 lft x1=pcshiftx+wided*stem_width; y1 = y3 = y5 = h;
344 x2=x1; bot y2 = 0; y2 = y4 = y6;
345 z12=1/2[z1,z2];
346 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
347 draw z12--z2; draw_flat_foot(2);
348 %% right stem
349 rt x5 = rt x6 = w-pcshiftx-narrowd*stem_width;
350 z56 = 1/2[z5,z6];
351 draw_updiamondstem(5,56,wided,widedmin,diawd,diang);
352 draw z56--z6; draw_flat_foot(6);
353 %% middle stem
354 z3=1/2[z1,z5]; z4 = 1/2[z2,z6]; z34=1/2[z3,z4];
355 draw_updiamondstem(3,34,wided,widedmin,diawd,diang);
356 draw z34--z4; draw_flat_foot(4);
357 ductus:=false;
358 penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100);
359 endchar; % end "m"
360
361 cmchar "PGOTH letter n";
362 beginchar("n", 2sb#+hstretch*((3+wided+narrowd)*stem_width#),
363 x_height#, 0);
364 adjust_fit(0,0);
365 pcshiftx := sb;
366 numeric n[];
367 pickup quill;
368 %% left stem
369 lft x1 = pcshiftx + wided*stem_width; y1 = h;
370 x2 = x1; bot y2 = 0;
371 z12 = 1/2[z1,z2];
372 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
373 draw z12--z2; draw_flat_foot(2);
374 %% right stem
375 rt x3 = w-pcshiftx - narrowd*stem_width; y3=y1;
376 x4=x3;y4=y2;
377 z34=1/2[z3,z4];
378 draw_updiamondstem(3,34,wided,widedmin,diawd,diang);
379 draw z34--z4; draw_flat_foot(4);
380 penlabels(1,2,3,4,5,6,13,14,100);
381 endchar; % end "n"
382
383 cmchar "PGOTH letter o";
384 beginchar("o", 2sb#+hstretch*((3 + narrowdmin + narrowdmin)*stem_width#),
385 x_height#, 0);
386 adjust_fit(0,0);
387 pcshiftx := sb;
388 numeric n[];
389 numeric st; st := stem_width;
390 pickup quill;
391 %% bottom left
392 lft x12 = pcshiftx + narrowdmin*st; y12 = 1/2h;
393 x2 = x12; y2 = 0;
394 draw_downdiamondstem(12,2, 1.0, narrowdmin, diawd,diang);
395 %% right
396 rt x3 = w - pcshiftx - narrowdmin*st; x4=x3;
397 y3 = h; bot y4 = y2c;
398 draw_updiamondstem(3,4, 1.0, narrowdmin, diawd,diang);
399 %% top left
400 x1 = x12; top y1 = y3c;
401 draw z1--z12;
402 ductus:=false;
403 penlabels(1,2,3,4,5,100);
404 endchar; % end "o"
405
406 cmchar "PGOTH letter p";
407 beginchar("p", 2sb#+hstretch*((3 + wided + widedmin)*stem_width#),
408 x_height#, desc_depth#);
409 adjust_fit(0,0);
410 pcshiftx := sb;
411 numeric n[];
412 numeric st; st := stem_width;
413 pickup quill;
414 %% stem
415 lft x1=lft x2=pcshiftx+wided*st;
416 y1=h; y2=-d;
417 z12 = 1/2[z1,z2];
418 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
419 draw z12--z2;
420 %% bowl
421 x3 = x4 = x1 + 2st;
422 y3 = y1; bot y4 = 0;
423 draw_updiamondstem(3,4,wided,widedmin,diawd,diang);
424 lft x5 = pcshiftx; y5 = y4;
425 draw z5--z4;
426 ductus:=false;
427 penlabels(1,2,3,4,5,6,7,8,100);
428 endchar; % end "p"
429
430 cmchar "PGOTH letter q";
431 beginchar("q", 2sb#+hstretch*((3 + widedmin)*stem_width#),
432 x_height#, desc_depth#);
433 adjust_fit(0,0);
434 pcshiftx := sb;
435 numeric n[];
436 numeric st; st := stem_width;
437 pickup quill;
438 %% left/bottom of bowl
439 y99 = 0;
440 lft x1 = pcshiftx +widedmin*st; top y1 = h - (top y99 - bot y99);
441 x2 = x1; y2 = 0;
442 draw_downdiamondstem(1,2, 1.0, widedmin,diawd,diang);
443 %% rest
444 x3 = x1 + 2st; x4 = x3; y3 = y1; y4 = -d;
445 lft x5 = rt x1; bot y5 = top y1;
446 draw z3--z4;
447 draw z5--z3;
448 ductus:=false;
449 penlabels(0,1,2,3,4,5,6,7,8,100);
450 endchar; % end "q"
451
452 cmchar "PGOTH letter r";
453 beginchar("r", 2sb#+hstretch*((3+wided)*stem_width#),
454 x_height#, 0);
455 adjust_fit(0,0);
456 pcshiftx := sb;
457 numeric n[];
458 numeric st; st := stem_width;
459 pickup quill;
460 %% stem
461 lft x1=lft x2=pcshiftx + wided*st;
462 y1=h; bot y2=0;
463 z12 = 1/2[z1,z2];
464 draw_updiamondstem(1,12,wided,widedmin,diawd,diang);
465 draw z12--z2; draw_flat_foot(2);
466 %% bar
467 lft x3 = rt x1; rt x4 = w-pcshiftx; top y3 = top y4 = h;
468 draw z3--z4;
469 ductus:=false;
470 penlabels(1,2,3,4,5,6,7,8,9,100);
471 endchar; % end "r"
472
473 cmchar "PGOTH letter s";
474 beginchar("s", 2sb#+hstretch*((4)*stem_width#),
475 x_height#, 0);
476 adjust_fit(0,0);
477 numeric n[];
478 numeric st; st := stem_width;
479 pcshiftx := sb;
480 pickup stylus;
481 %% the diagonal
482 lft x2 = pcshiftx; bot y2 = 0;
483 rt x1 = w-pcshiftx; top y1 = h;
484 draw z1--z2;
485 pickup quill;
486 z211 = 13/32[z2,z1]; %% 10/32 too small, 16/32 too large
487 z213 = 24/32[z2,z1]; %% 26/32 too large
488 z212 = 1/2[z211,z213];
489 %% bottom bowl
490 lft x21 = x2; bot y21 = 0;
491 rt x22 = w - pcshiftx; bot y22 = 0;
492 x23 = x22; z24 = z212;
493 (z24-z23) = whatever*(dir (180-diang));
494 draw z21{pdir}..z22--z23--z24;
495 %% top bowl
496 z14 = z211; z11 = z213;
497 lft x12 = lft x13 = pcshiftx;
498 (z13-z14) = whatever*(dir (180-diang));
499 (z12-z11) = whatever*(dir (180-diang));
500 draw z11--z12--z13--z14;
501 ductus:=false;
502 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);
503 endchar; % end "s"
504
505 cmchar "PGOTH letter t";
506 beginchar("t", 2sb#+hstretch*((2+1.0)*stem_width#),
507 asc_height#, 0);
508 adjust_fit(0,0);
509 pcshiftx := sb;
510 numeric n[];
511 numeric st; st := stem_width;
512 pickup quill;
513 %% bar
514 lft x3 = pcshiftx; top y1 = h;
515 top y3 = bot y1;
516 rt x4 = w-pcshiftx; y4=y3;
517 draw z3--z4;
518 %% stem
519 lft x1 = rt x3;
520 x2 = x1;
521 bot y2 = 0;
522 draw z1--z2; draw_flat_foot(2);
523 ductus:=false;
524 penlabels(1,2,3,4,5,6,11,12,100);
525 endchar; % end "t"
526
527 cmchar "PGOTH letter u";
528 beginchar("u", 2sb#+hstretch*((3+narrowd+wided)*stem_width#),
529 x_height#, 0);
530 adjust_fit(0,0);
531 pcshiftx := sb;
532 numeric n[];
533 pickup quill;
534 %% left stem
535 lft x1 = pcshiftx + narrowd*stem_width; y1 = h;
536 x2 = x1; y2 = 0;
537 z12 = 1/2[z1,z2];
538 draw_updiamondstem(1,12,narrowd,narrowdmin,diawd,diang);
539 draw_downdiamondstem(12,2,wided,widedmin,diawd,diang);
540 rt x3 = w - pcshiftx - wided*stem_width; y3=y1;
541 x4=x3;
542 bot y4 = 0;
543 z34=1/2[z3,z4];
544 draw_updiamondstem(3,34,narrowd,narrowdmin,diawd,diang);
545 draw z34--z4; draw_flat_foot(4);
546 ductus:=false;
547 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100);
548 endchar; % end "u"
549
550 cmchar "PGOTH letter v";
551 beginchar("v", 2sb#+hstretch*((4 + narrowdmin)*stem_width#),
552 asc_height#, 0);
553 adjust_fit(0,0);
554 numeric n[]; numeric st;
555 pcshiftx := sb;
556 st := stem_width;
557 n1 := h/ascratio; % x-height
558 pickup quill;
559 %% bottom left stem
560 %% right and bottom left stems
561 rt x23 = w - pcshiftx - narrowdmin*st; y23 = n1; x24=x23;
562 x1 = x23 - 2st; y1 = 1/2n1;
563 x2 = x1; y2 = 0;
564 draw_downdiamondstem(1,2, 1.0, widedmin, diawd, diang);
565 bot y24 = y2c;
566 draw_updiamondstem(23, 24, narrowd, narrowdmin, diawd, diang);
567 %% curly bit
568 x11 = x1; y11 = n1;
569 draw_updiamondstem(11,1,narrowd,narrowdmin,diawd,diang);
570 ductus:=false;
571 penlabels(1,2,3,4,5,11,13,14,23,26,100);
572 endchar; % end "v"
573
574 cmchar "PGOTH letter w";
575 beginchar("w", 2sb#+hstretch*((5+wided+narrowd)*stem_width#),
576 x_height#, 0);
577 adjust_fit(0,0);
578 pcshiftx := sb;
579 pickup quill;
580 %% left stem
581 lft x1 = pcshiftx + narrowd*stem_width; y1 = y3 = y5 = h;
582 x2 = x1; y2 = y4 = 0; bot y6 = 0;
583 z12=1/2[z1,z2];
584 draw_updiamondstem(1,12, narrowd, narrowdmin, diawd, diang);
585 draw_downdiamondstem(12,2, wided, widedmin, diawd, diang);
586 %% right stem
587 rt x5 = w -pcshiftx-wided*stem_width; x6 = x5;
588 z56 = 1/2[z5,z6];
589 draw_updiamondstem(5,56, narrowd, narrowdmin, diawd, diang);
590 draw z56--z6;
591 %% middle stem
592 z3 = 1/2[z1,z5];
593 x4 = 1/2[x2,x6];
594 z34 = 1/2[z3,z4];
595 draw_updiamondstem(3,34, narrowd, narrowdmin, diawd, diang);
596 draw_downdiamondstem(34,4, wided, widedmin, diawd, diang);
597 ductus:=false;
598 penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100);
599 endchar; % end "w"
600
601 cmchar "PGOTH letter x";
602 beginchar("x", 2sb#+hstretch*((4)*stem_width#),
603 x_height#, 0);
604 adjust_fit(0,0);
605 path pth[];
606 numeric n[];
607 numeric st; st := stem_width;
608 pcshiftx := sb;
609 pickup quill;
610 %% upright
611 x1 = 1/2w; y1 = h;
612 x2 = x1; y2 = 0;
613 z12 = 1/2[z1,z2];
614 draw_updiamondstem(1,12, 1.5, widedmin,diawd,2/3diang);
615 draw_downdiamondstem(12,2, 1.5, widedmin,diawd,2/3diang);
616 %% top right bar
617 lft x3 = rt x1; top y3 = h;
618 rt x4 = w - pcshiftx; y4=y3;
619 draw z3--z4;
620 %% middle bar
621 n1 := h-y3;
622 lft x5 = pcshiftx; rt x6 = w - pcshiftx;
623 y5 = 1/2h - n1; y6 = 1/2h;
624 z56 = 1/2[z5,z6];
625 draw z5{pdir}..z56..{pdir}z6;
626 %% bottom left
627 pickup stylus;
628 lft x11 = pcshiftx; bot y11 = 0;
629 draw z2e--z11;
630 ductus:=false;
631 penlabels(1,2,3,4,5,6,7,8,10,25,251,252,40,50,150,60,160,100);
632 endchar; % end "x"
633
634 cmchar "PGOTH letter y";
635 beginchar("y", 2sb#+hstretch*((3 + narrowd+ narrowdmin)*stem_width#),
636 x_height#, desc_depth#);
637 adjust_fit(0,0);
638 pcshiftx := sb;
639 path pth[];
640 numeric n[];
641 numeric st; st = stem_width;
642 pickup quill;
643 %% right side
644 rt x3 = w - pcshiftx - narrowdmin*st; y3 = h;
645 x33 = x3; y33 = 0;
646 %%draw_updiamondstem(3,4,narrowd,narrowdmin, diawd,diang);
647 %% left side
648 x1 = x3 - 2st; y1 = y3;
649 x2 = x1; y2 = 0;
650 n1 := top y2 - y2;
651 draw_updiamondstem(1,2,narrowd,narrowdmin, diawd,diang);
652 %% tail
653 x11 = rt x2; y11 = top y2;
654 x12 = lft x2; y12 = bot y2;
655 pickup stylus;
656 lft x14 = x1 - 2st; y14 = -d + n1;
657 x15 = x14+n1; bot y15 = -d;
658 z4 = whatever[z11,z12] = whatever[z3,z33];
659 x10=x4; bot y10 = y4;
660 draw z10--z11--z12..{down}z14..{-ppdir}z15;
661 pickup quill;
662 draw_updiamondstem(3,4,narrowd,narrowdmin, diawd,diang);
663 ductus:=false;
664 penlabels(1,2,3,4,5,6,7,8,9,10,11,12,14,15,33,100);
665 endchar; % end "y"
666
667 cmchar "PGOTH letter z";
668 beginchar("z", 2sb#+hstretch*(3stem_width#),
669 x_height#, 0);
670 adjust_fit(0,0);
671 numeric n[];
672 numeric st; st := stem_width;
673 path pth[];
674 pcshiftx := sb;
675 pickup quill;
676 %% top bar ends
677 top y12 = h;
678 n1 := h - y12;
679 lft x1 = pcshiftx; rt x2 = w-pcshiftx;
680 %%y1 = y12-n1; y2=y12+n1;
681 y1 = y12-n1/2; y2=y12;
682 x12 = 1/2[x1,x2];
683 pth1 := z1{pdir}..z12{right}..z2{pdir};
684 %% bottom bar ends
685 bot y34 = 0;
686 x3=x1; x4=x2;
687 %%y3=y34-n1; y4=y34+n1;
688 y3=y34-n1/2; y4=y34;
689 x34 = 1/2[x3,x4];
690 pth2 := z3{pdir}..z34{right}..z4{pdir};
691 %% centre bar
692 z5 = 1/2[z1,z3]; z6 = 1/2[z2,z4]; z56 = 1/2[z5,z6];
693 pth3 := z5{pdir}..z56{right}..z6{pdir};
694 draw pth1; draw pth2; draw pth3; % bars
695 draw z2--z3;
696 ductus:=false;
697 penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100);
698 endchar; % end "z"
699