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