| 1 |
def n_foot(suffix $) = |
| 2 |
w':=7.806u; penpos$.1(hair,90); penpos$.2(hair,0); |
| 3 |
penpos$.3(hair,-90); |
| 4 |
y$.1=y$.3=0.5foot; y$.2=-apex_o; |
| 5 |
x$.1=x$l-1/20w'; x$.3=x$r+1/20w'; |
| 6 |
x$.2=x$; |
| 7 |
filldraw z$.2r{dir75}..z$.3r{dir15}-- |
| 8 |
z$.3l{dir165}..z$r{up}--z$l{down}.. |
| 9 |
z$.1r{dir195}--z$.1l{dir-15}..z$.2l{dir-65} |
| 10 |
--z$.2r & cycle; |
| 11 |
enddef; |
| 12 |
|
| 13 |
def e_umlaut(suffix $) = |
| 14 |
penpos$.1(2u,45); z$.1=z$; |
| 15 |
pickup pensquare yscaled 0.5hair xscaled 0.3[hair,stem] rotated 30; |
| 16 |
z$.2=z$.1r; z$.3=z$.1l; rt x$.4=rt x$.2; top y$.4=y$; |
| 17 |
draw z$.3--z$.2..z$.3..z$.4; |
| 18 |
enddef; |
| 19 |
|
| 20 |
def pointpoint = |
| 21 |
penpos1(0.23570*(x_height+2apex_o),45); |
| 22 |
penpos2(0.23570*(x_height+2apex_o),45); |
| 23 |
penpos3(0.23570*(x_height+2apex_o),45); |
| 24 |
penpos4(0.23570*(x_height+2apex_o),45); |
| 25 |
penpos5(0.23570*(x_height+2apex_o),45); |
| 26 |
penpos6(0.23570*(x_height+2apex_o),45); |
| 27 |
x1l=x3l=x5l=0.5w; |
| 28 |
z2r=z3l; z4r=z5l; |
| 29 |
z2-z1=whatever*dir135; |
| 30 |
z4-z3=whatever*dir135; |
| 31 |
z6-z5=whatever*dir135; |
| 32 |
y1l=-apex_o; y6r=x_height+apex_o; |
| 33 |
penstroke z1e--z2e; |
| 34 |
enddef; |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
def old_e_umlaut(suffix $) = |
| 40 |
numeric ww; |
| 41 |
ww:=2u; penpos$.1(hair,147); |
| 42 |
penpos$.2(1.5hair,90); penpos$.3(2.5hair,0); |
| 43 |
penpos$.4(1.2hair,-90); |
| 44 |
penpos$.5(hair,-147); |
| 45 |
penpos$.6(hair,-57); penpos$.7(hair,-57); |
| 46 |
z$.1=z$+(0.4ww,-0.2ww); |
| 47 |
z$.2l=z$-(0.111ww,0.556ww); |
| 48 |
z$.3l=z$-(0.5ww,apex_o); |
| 49 |
z$.4l=(x$,y$+0.556ww); |
| 50 |
z$.6-z$=whatever*dir33; x$.6r=x$+0.5ww; |
| 51 |
z$.5l=z$.6l; z$.7=whatever[z$,z$.6]; |
| 52 |
x$.7=x$.3; |
| 53 |
penstroke z$.1e..z$.2e{left}..z$.3e{up} |
| 54 |
..z$.4e{right}..z$.5e; |
| 55 |
penstroke z$.7e--z$.6e |
| 56 |
enddef; |
| 57 |
|
| 58 |
def umlaut (suffix $) = |
| 59 |
y0=0; 0.5[x0,x0']=x$-2u; |
| 60 |
z0'=z0+(2.5u,0); |
| 61 |
penpos60(hair,145); |
| 62 |
z60=(x0+stem,1.090x_height); |
| 63 |
z61=(x0+1.522stem,1.387x_height); |
| 64 |
z62=(x0+1.956stem,1.324x_height); |
| 65 |
z60'=(x0'+stem,1.090x_height); |
| 66 |
z61'=(x0'+1.522stem,1.387x_height); |
| 67 |
z62'=(x0'+1.956stem,1.324x_height); |
| 68 |
filldraw z60l{dir34}..z62{up}..z61{left} |
| 69 |
..z60r{dir259}--z60l & cycle; |
| 70 |
penpos60'(hair,145); |
| 71 |
filldraw z60'l{dir34}..z62'{up}..z61'{left} |
| 72 |
..z60'r{dir259}--z60'l & cycle |
| 73 |
enddef; |