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
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
|
%%
%% This is file `hminu.mf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% humanist.dtx (with options: `maj')
%%
%% Author: Peter Wilson (CUA) now at peter.r.wilson@boeing.com
%% (or pandgwilson@earthlink.net)
%% Copyright 2002, 2003 Peter R. Wilson
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any
%% later version.
%% The latest version of the license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2003/06/01 or later.
%%
%% This work has the LPPL maintenance status "author-maintained".
%%
%% This work consists of the files listed in the README file.
%%
cmchar "HMIN letter A";
beginchar("A", 2sb#+caprat*hstretch*(20/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pair pr[];
pickup quill;
x100 = 0;
n2 := rt x100 - lft x100;
n1 := w - 2pcshiftx - n2; % effective letter width
%% legs
x1 = pcshiftx + n1/2; top y1=h;
lft x2 = pcshiftx; bot y2 = 0;
rt x3 = pcshiftx + n1; y3=y2;
rt x4 = w-pcshiftx; y4=y3;
%% bar
z12=10/16[z1,z2]; z83=10/16[z1,z3];
z13 = (x83 - n2,y83);
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z1--z3; draw z12--z13; %% legs and bar
draw z3--z4; draw z2--(x2+n2,y2); draw (x1-n2,y1)--z1; %% serifs
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,11,12,13,14,15,100);
endchar; % end "A"
cmchar "HMIN letter B";
beginchar("B", 2sb#+caprat*hstretch*(14/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
numeric n[];
path pth[];
pcshiftx := sb;
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem
lft x1 = pcshiftx + n1; top y1 = h;
x2 = x1; bot y2 = 0;
z12 = 1/2[z1,z2];
%% bottom bowl
lft x21 = pcshiftx; bot y21 = 0;
z22=z2;
lft x27 = rt x12; y27 = y12;
rt x25 = w-pcshiftx; y25 = 1/2[y22,y27];
pth1 := z21--z22{right}..z25{up}..{left}z27;
%% top bowl
z32 = z27; z37 = z1;
x38 = x21; y38 = y37;
rt x35 = x25; y35 = 1/2[y32,y37];
pth2 := z38--z37{right}..z35{down}..{left}z27;
if ductus:
pickup stylus;
fi
draw z1--z2;
draw pth1; draw pth2;
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,100);
endchar; % end "B"
cmchar "HMIN letter C";
beginchar("C", 2sb#+caprat*hstretch*(16/18x_height#),
caprat*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 "HMIN letter D";
beginchar("D", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
numeric n[];
path pth[];
pcshiftx := sb;
pickup quill;
x100 = 0; n1 := rt x100 - lft x100;
%% stem
lft x1 = pcshiftx+n1; top y1=h;
x2 = x1; bot y2 = 0;
%% bowl
lft x3 = pcshiftx; y3=y1;
x7 = x3; y7=y2;
rt x5 = w-pcshiftx; y5 = 1/2[y3,y7];
pth1 := z3--z1{right}..{down}z5..{left}z2--z7;
if ductus:
pickup stylus;
fi
draw z1--z2; %% stem
draw pth1;
ductus:=false;
penlabels(0,1,2,3,4,5,6,7,8,100);
endchar; % end "D"
cmchar "HMIN letter E";
beginchar("E", sb#+caprat*hstretch*(14/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1 = rt x100 - lft x100;
%% stem
lft x1 = pcshiftx+n1; top y1 = h;
x2 = x1; bot y2=0;
%% bars
lft x3 = pcshiftx; y3 = y1; rt x4 = w-pcshiftx; y4=y3;
x5=x1; y5 = 1/2[y1,y2]; x6 = x4; y6 = y5;
x7 = x3; y7 = y2; x8 = x4; y8=y7;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; % stem
draw z3--z4; draw z5--z6; draw z7--z8;
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,17,70,100);
endchar; % end "E"
cmchar "HMIN letter F";
beginchar("F", 2sb#+caprat*hstretch*(14/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
numeric n[];
pcshiftx := sb;
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem
lft x1=lft x2=pcshiftx+n1; top y1=h; bot y2=0;
%% bars
lft x3 = pcshiftx; y3 = y1; rt x4 = w-pcshiftx; y4 = y3;
x5=x1; y5 = 1/2[y1,y2]; x6 = x4; y6 = y5;
%% serif
x211 = x2 - n1; y211 = y2;
x212 = x2 + n1; y212 = y2;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2;
draw z3--z4; draw z5--z6;
draw z211--z212;
ductus:=false;
penlabels(1,2,3,4,5,6,7,14,15,16,100);
endchar; % end "F"
cmchar "HMIN letter G";
beginchar("G", 2sb#+caprat*hstretch*(19/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
path pth[];
pair vec[];
numeric n[];
pcshiftx := sb;
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% bar
rt x52 = w - pcshiftx; y52 = 1/2h;
x51 = x52 - 2n1; y51 = y52;
z512 = 1/2[z51,z52];
%% bowl
lft x2 = pcshiftx; y2 = 1/2h;
x4 = x512; y4 = 1/4h;
x3 = x1 = 1/2[x2,x4]; bot y3 = 0; top y1 = h;
x24 = x512; y24 = 3/4h;
pth1 := z24..z1{left}..z2{down}..z3{right}..z4;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw pth1;
draw z4--z512; draw z51--z52;
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,11,12,13,31,32,33,34,35,36,100);
endchar; % end "G"
cmchar "HMIN letter H";
beginchar("H", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
pickup quill;
numeric n[];
x100 = 0;
n1 := rt x100 - lft x100;
%% stems
lft x1=lft x2=pcshiftx+n1;
top y1=h; bot y2=0;
rt x3 = w - pcshiftx - n1; x4 = x3; y3 = y1; y4 = y2;
%% bar
z12 = 1/2[z1,z2]; z34 = 1/2[z3,z4];
%% serifs
rt x111 = lft x1; y111 = y1; lft x112 = rt x1; y112 = y111; % TL
x211 = x111; x212 = x112; y211 = y212 = y2; % BL
rt x311 = lft x3; y311 = y3; lft x312 = rt x3; y312 = y311; % TR
x411 = x311; x412 = x4+n1; y411 = y412 = y4; % BR
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z3--z4; draw z12--z34;
draw (x1-n1,y1)--(x1+n1,y1); draw (x2-n1,y2)--(x2+n1,y2);
draw (x3-n1,y3)--(x3+n1,y3); draw (x4-n1,y4)--(x4+n1,y4);
ductus:=false;
penlabels(1,2,3,4,5,6,100);
endchar; % end "H"
cmchar "HMIN letter I";
beginchar("I", 2sb#+caprat*hstretch*(thick#+2jut#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
x1 = x2 = 1/2w;
top y1=h; bot y2=0;
%% serifs
rt x111 = lft x1; lft x112 = rt x1; y111 = y112 = y1;
x211 = x111; x212 = x112; y211 = y212 = y2;
%%ductus:=true;
draw z1--z2;
draw z111--z112; draw z211--z212;
ductus:=false;
penlabels(1,2,100);
endchar; % end "I"
cmchar "HMIN letter J";
beginchar("J", 2sb#+caprat*hstretch*(10/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
path pth[];
numeric n[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem serif
rt x112 = w - pcshiftx; top y112 = h;
x111 = x112 - n1; y111 = y112;
%% stem
z1 = 1/2[z111,z112];
x2 = x1; y2 = 1/4h;
%% hook
lft x4 = pcshiftx; y4 = 1/2y2;
x3 = 1/2[x2,x4]; bot y3 = 0;
pth1 := z2{down}..z3{left}..z4;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; % stem
draw z111--z112;
draw pth1;
ductus:=false;
penlabels(1,2,3,100);
endchar; % end "J"
cmchar "HMIN letter K";
beginchar("K", 2sb#+caprat*hstretch*(17/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
path pth[];
numeric n[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem
lft x1 = pcshiftx+n1; top y1 = h;
x2 = x1; bot y2 = 0;
z12 = 1/2[z1,z2];
%% top arm
x3 = rt x12; y3 = y12;
rt x5 = w - pcshiftx - n1; y5 = y1;
%%pth1 := z3{pdir}..{up}z5;
pth1 := z3--z5;
%% lower arm
z7 = z3;
rt x9 = w-pcshiftx; bot y9 = 0;
pth2 := z7{-ppdir}..{right}z9;
pickup quill;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw pth1; draw pth2;
draw (x1-n1,y1)--(x1+n1,y1);
draw (x2-n1,y2)--(x2+n1,y2);
draw (x5,y5)--(x5+n1,y5);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,13,14,100);
endchar; % end "K"
cmchar "HMIN letter L";
beginchar("L", 2sb#+caprat*hstretch*(12/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
pickup quill;
x100 = 0; n1 := rt x100 - lft x100;
lft x1=pcshiftx+n1; top y1=h;
x2=x1; bot y2 =0;
lft x3 = pcshiftx; rt x4 = w-pcshiftx; y3 = y4 = y2;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z3--z4;
draw (x1-n1,y1)--(x1+n1,y1);
ductus:=false;
penlabels(1,2,3,4,100);
endchar; % end "L"
cmchar "HMIN letter M";
beginchar("M", 2sb#+caprat*hstretch*(25/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% left stem
lft x1=pcshiftx+n1; top y1=h;
lft x2=pcshiftx; bot y2=0;
%% right stem
rt x4 = w - pcshiftx - n1; y4 = y2;
x3 = x4 - n1; y3 = y1;
%% the V
z24 = 1/2[z2,z4];
pth1 := z1{-ppdir}..{down}z24;
pth2 := z3{down}..{down}z24;
%% serifs
x111 = x1 - n1; y111 = y1; % TL
x212 = x2+n1; y212 = y2; % BL
x311 = x3-n1; y311 = y3; % TR
x412 = x4+n1; y412 = y4; % BR
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z3--z4; draw pth1; draw pth2;
draw z111--z1; draw z2--z212;
draw z311--z3; draw z4--z412;
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100);
endchar; % end "M"
cmchar "HMIN letter N";
beginchar("N", 2sb#+caprat*hstretch*(22/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
path pth[];
numeric n[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stems
lft x1=pcshiftx+n1; top y1=h; x2=x1; bot y2=0;
rt x3 = w - pcshiftx - n1; x4 = x3; y3 = y1; y4 = y2;
pth1 := z1{-ppdir}..{-ppdir}z4;
%% serifs
x111 = x1 - n1; x112 = x1 + n1; y111 = y112 = y1; % TL
x211 = x111; x212 = x112; y211 = y212 = y2; % BL
x311 = x3 - n1; x312 = x3 + n1; y311 = y312 = y3; % TR
x411 = x311; x412 = x312; y411 = y412 = y4; % BR
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z3--z4; draw pth1;
draw z111--z112; draw z211--z212;
draw z311--z312; draw z411--z412;
ductus:=false;
penlabels(1,2,3,4,5,6,13,14,100);
endchar; % end "N"
cmchar "HMIN letter O";
beginchar("O", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*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;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1..z2..z3..z4..cycle;
ductus:=false;
penlabels(1,2,3,4,5,100);
endchar; % end "O"
cmchar "HMIN letter P";
beginchar("P", 2sb#+caprat*hstretch*(14/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
path pth[];
numeric n[];
pickup quill;
x100 = 0;
n1:= rt x100 - lft x100;
%% stem
lft x1=lft x2=pcshiftx+n1;
top y1=h; bot y2=0;
z12 = 1/2[z1,z2];
%% bowl
z3 = (pcshiftx,y1);
x7 = x12; top y7 = y12;
rt x5 = w-pcshiftx; y5 = 1/2[y3,y7];
pth1 := z3--z1{right}..z5{down}..{left}z7;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw pth1;
draw (x2-n1,y2)--(x2+n1,y2);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,100);
endchar; % end "P"
cmchar "HMIN letter Q";
beginchar("Q", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
%% bowl
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
x2=x4=w/2; top y2=h+o; bot y4=-o;
pth1 := z1..z4..z3..z2..cycle;
%% tail
n1 := rt x1 - lft x1;
pth2 := z1..z2..z3..z4;
z5 = directionpoint pdir of pth1;
x7 = x3 + 2n1; top y7 = -n1;
pth3 := z5{-ppdir}..{pdir}z7;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw pth1;
draw pth3;
ductus:=false;
penlabels(0,1,2,3,4,5,6,7,8,100);
endchar; % end "Q"
cmchar "HMIN letter R";
beginchar("R", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1:= rt x100 - lft x100;
n2 := 14/18; %% P/R width ratio
%% stem
lft x1=lft x2=pcshiftx+n1;
top y1=h; bot y2=0;
z12 = 1/2[z1,z2];
%% bowl
z3 = (pcshiftx,y1);
x7 = x12; top y7 = y12;
rt x5 = w*n2 - pcshiftx; y5 = 1/2[y3,y7];
pth1 := z3--z1{right}..z5{down}..{left}z7;
%% leg
z21 = z7;
x23 = w-pcshiftx; bot y23 = 0;
pth2 := z21{-ppdir}..{right}z23;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw pth1; draw pth2;
draw (x2-n1,y2)--(x2+n1,y2);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,100);
endchar; % end "R"
cmchar "HMIN letter S";
beginchar("S", 2sb#+caprat*hstretch*(15/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
numeric n[];
path pth[];
pcshiftx := sb;
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
x1 = x3 = x5 = 1/2w;
top y1 = h; bot y5 = 0; y3 = 1/2[y1,y5];
lft x2 = pcshiftx; rt x4 = w-pcshiftx;
y2 = 1/2[y1,y3]; y4 = 1/2[y3,y5];
rt x101 = w-pcshiftx; top y101 = y1;
lft x102 = pcshiftx; bot y102 = y5;
pth1 := z101..z1..z2..z3..z4..z5..z102;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw pth1;
ductus:=false;
penlabels(1,2,3,4,5,6,7,11,17,20,26,27,28,100);
endchar; % end "S"
cmchar "HMIN letter T";
beginchar("T", 2sb#+caprat*hstretch*(16/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
pickup quill;
%% bar
lft x1 = pcshiftx; rt x2=w-pcshiftx;
top y1 = top y2 = h;
%% stem
z3 = 1/2[z1,z2];
x4 = x3; bot y4 = 0;
%% foot
n1 := rt x4 - lft x4;
rt x5 = lft x4; x6 = x4 + n1; y5 = y6 = y4;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; % bar
draw z3--z4; % stem
draw z5--z6; % foot
ductus:=false;
penlabels(1,2,3,4,5,6,11,12,100);
endchar; % end "T"
cmchar "HMIN letter U";
beginchar("U", 2sb#+caprat*hstretch*(20/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% left stem
lft x1 = pcshiftx + n1; top y1 = h;
x13=x1; y13=1/3h;
rt x3=w-pcshiftx-n1; y3=y1;
x4=x3; bot y4=0;
z33=1/4[z4,z3]; % start of bowl
x14=1/3[x1,x3]; bot y14=0;
pth1 := z1--z13{down}..z14{right}..{pdir}z33;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z3--z4; draw pth1;
draw (x1-n1,y1)--(x1+n1,y1);
draw (x3-n1,y3)--(x3+n1,y3);
draw (x4,y4)--(x4+n1,y4);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100);
endchar; % end "U"
cmchar "HMIN letter V";
beginchar("V", 2sb#+caprat*hstretch*(20/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem tops
lft x1 = pcshiftx + 2n1; top y1 = h;
rt x3 = w - pcshiftx - 2n1; top y3 = h;
%% bottom
x13 = 1/2[x1,x3]; bot y13 = 0;
pth1 := z1{-pdir}..{-ppdir}z13;
pth2 := z13{pdir}..z3;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw pth1; draw pth2;
draw (x1-2n1,y1)--(x1,y1);
draw (x3,y3)--(x3+2n1,y3);
ductus:=false;
penlabels(1,2,3,4,5,11,13,14,23,26,100);
endchar; % end "V"
cmchar "HMIN letter W";
beginchar("W", 2sb#+caprat*hstretch*(26/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
pcshiftx := sb;
numeric n[];
path pth[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% stem tops
lft x1 = pcshiftx + 2n1; top y1 = h;
rt x5 = w - pcshiftx - 2n1; top y5 = h;
z93 = 1/2[z1,z5];
x3 = rt x93; y3 = y93;
%% V bottoms
x13 = 1/2[x1,x3]; bot y13 = 0;
x35 = 1/2[x3,x5]; bot y35 = 0;
pth1 := z1{-pdir}..{-ppdir}z13;
%%pth2 := z13{pdir}..z3;
pth3 := z3{-pdir}..{-ppdir}z35;
z335 = directionpoint down of pth3;
%%pth2 := z13..{up}z3;
%%pth3 := z3{down}..z35;
pth2 := z13..{up}z335;
pth4 := z35{pdir}..z5;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw pth1; draw (x1-2n1,y1)--(x1,y1);
draw pth2;
draw (x3-n1,y3)--(x3,y3);
draw pth3;
draw pth4; draw (x5,y5)--(x5+2n1,y5);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100);
endchar; % end "W"
cmchar "HMIN letter X";
beginchar("X", 2sb#+caprat*hstretch*(18/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
path pth[];
numeric n[];
pcshiftx := sb;
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% diag top left to bottom right
lft x1=pcshiftx+n1; top y1 = h;
rt x2 = w - pcshiftx - n1; bot y2 = 0;
%% diag top right to bottom left
rt x3 = w - pcshiftx - n1; top y3 = h;
lft x4 = pcshiftx; bot y4 = 0;
pth1 := z4{pdir}..z3;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw pth1;
draw (x1-n1,y1)--(x1+n1,y1);
draw (x2-n1,y2)--(x2+n1,y2);
draw (x3-n1,y3)--(x3+n1,y3);
draw (x4,y4)--(x4+n1,y4);
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,10,25,251,252,40,50,150,60,160,100);
endchar; % end "X"
cmchar "HMIN letter Y";
beginchar("Y", 2sb#+caprat*hstretch*(15/18x_height#),
caprat*x_height#, desc_depth#);
adjust_fit(0,0);
pcshiftx := sb;
path pth[];
numeric n[];
pickup quill;
x100 = 0;
n1 := rt x100 - lft x100;
%% left stem top
lft x1 = pcshiftx + n1; top y1 = h;
%% upright
x5 = 1/2w; y5 = 1/2y1;
x6 = x5; bot y6 = 0;
%% right stem
rt x3=w-pcshiftx-n1; top y3 = h;
pth1 := z5{ppdir}..{pdir}z1; % left
pth2 := z5{pdir}..{left}z3; % right
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z5--z6; draw (x6-n1,y6)--(x6+n1,y6); % stem
draw pth1; draw (x1-n1,y1)--(x1,y1);
draw pth2;
ductus:=false;
penlabels(1,2,3,4,5,6,7,8,9,10,100);
endchar; % end "Y"
cmchar "HMIN letter Z";
beginchar("Z", 2sb#+caprat*hstretch*(14/18x_height#),
caprat*x_height#, 0);
adjust_fit(0,0);
numeric n[];
path pth[];
pcshiftx := sb;
pickup quill;
%% top bar ends
lft x1 = pcshiftx; rt x2 = w -pcshiftx; top y1 = top y2 = h;
%% bottom bar ends
lft x3 = pcshiftx; rt x4 = w -pcshiftx; bot y3 = bot y4 = 0;
%% middle bar
lft x5 = x1; rt x6 = x2; y5 = y6 = 1/2h;
%%ductus:=true;
if ductus:
pickup stylus;
fi
draw z1--z2; draw z3--z4; draw z5--z6;
draw z2--z3;
ductus:=false;
penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100);
endchar; % end "Z"
|