| 1 |
.cmchar "The gothic point"; |
| 2 |
.beginchar(".",5u#,1.431x_height#,0); |
| 3 |
.adjust_fit(0,0); |
| 4 |
z1=(0.5w,-apex_o+0.707stem); |
| 5 |
ygoth_dot(1); |
| 6 |
.endchar; |
| 7 |
|
| 8 |
.cmchar "The gothic colon"; |
| 9 |
.beginchar(":",5u#,1.431x_height#,0); |
| 10 |
.adjust_fit(0,0); |
| 11 |
z1=(0.5w,-apex_o+0.707stem); |
| 12 |
ygoth_dot(1); |
| 13 |
z2=(0.5w,x_height+apex_o-0.707stem); |
| 14 |
ygoth_dot(2) |
| 15 |
.endchar; |
| 16 |
|
| 17 |
.cmchar "The gothic semicolon"; |
| 18 |
.beginchar(";",5u#,1.431x_height#,0); |
| 19 |
.adjust_fit(0,0); |
| 20 |
z1=(0.5w,-apex_o+0.707stem); |
| 21 |
ygoth_dot(1); |
| 22 |
z2=(0.5w,x_height+apex_o-0.707stem); |
| 23 |
ygoth_dot(2) |
| 24 |
penpos3(hair,-90); penpos4(stem,45); |
| 25 |
z3l=(0.5w-0.707stem,-stem); |
| 26 |
z4l=(0.5w,-apex_o); |
| 27 |
penstroke z3e..z4e{up}; |
| 28 |
.endchar; |
| 29 |
|
| 30 |
.cmchar "The gothic comma"; |
| 31 |
.beginchar(",",5u#,1.431x_height#,0); |
| 32 |
.adjust_fit(0,0); |
| 33 |
z2=(0.5w,-apex_o+0.707stem); |
| 34 |
ygoth_dot(2) |
| 35 |
penpos3(hair,-90); penpos4(stem,45); |
| 36 |
z3l=(0.5w-0.707stem,-stem); |
| 37 |
z4l=(0.5w,-apex_o); |
| 38 |
penstroke z3e..z4e{up}; |
| 39 |
.endchar; |
| 40 |
|
| 41 |
.cmchar "The gothic exclamation point"; |
| 42 |
.beginchar("!",5u#,1.431x_height#,0); |
| 43 |
.adjust_fit(0,0); |
| 44 |
z1=(0.5w,-apex_o+0.707stem); |
| 45 |
ygoth_dot(1); |
| 46 |
z2=(0.5w,cap_height+apex_o-0.707stem); |
| 47 |
ygoth_dot(2); |
| 48 |
penpos3(1.414stem,0); penpos4(hair,0); |
| 49 |
x3=x4=0.5w; y3=y2; y4=y1+1.414stem; |
| 50 |
penstroke z4e--z3e; |
| 51 |
.endchar; |
| 52 |
|
| 53 |
.cmchar "The gothic question mark"; |
| 54 |
.beginchar("?",7.591u#,1.431x_height#,0); |
| 55 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 56 |
penpos1(hair,25); z1=(0.171w,0.514h); |
| 57 |
z1'=(0.293w,0.88h); z2=(0.5w,cap_height+apex_o); |
| 58 |
penpos4(cap_stem,0); |
| 59 |
z4l=(0.673w,0.676h);%x_height); |
| 60 |
penpos5(hair,0); penpos6(hair,-15); |
| 61 |
z7=(0.38w,0.077h); z3=(x2,0.82h); |
| 62 |
z8=(0.624w,0.225h); z6=(0,0); |
| 63 |
z5=(0.5w,-apex_o+2.121stem); |
| 64 |
penpos9(1.15cap_stem,-128); |
| 65 |
x9l=w; y9r=-apex_o; |
| 66 |
z10=(0.5w,-apex_o+0.707stem); |
| 67 |
ygoth_dot(10); |
| 68 |
penpos50(0.5cap_stem,-45); penpos51(cap_stem,45); |
| 69 |
z50l=z2; z51r=z2; |
| 70 |
penstroke z1e{dir115}...z50e{dir45}; |
| 71 |
penstroke z5e{up}..z4e{up}..z51e{dir135}; |
| 72 |
.endchar; |
| 73 |
|
| 74 |
.cmchar "Left parenthesis"; |
| 75 |
.beginchar("(",7u#,body_height#,paren_depth#); |
| 76 |
italcorr body_height#*slant-.5u#; |
| 77 |
.adjust_fit(0,0); pickup fine.nib; |
| 78 |
pos1(vair,0); pos2(.75[hair,stem],0); pos3(vair,0); |
| 79 |
rt x1r=rt x3r=hround(w-u); lft x2l=hround(x1-4u if monospace: +4/3u fi); |
| 80 |
top y1=h; y2=.5[y1,y3]=math_axis; |
| 81 |
filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e |
| 82 |
...{3(x3e-x2e),y3-y2}z3e; % arc |
| 83 |
penlabels(1,2,3); .endchar; |
| 84 |
|
| 85 |
.cmchar "Right parenthesis"; |
| 86 |
.beginchar(")",7u#,body_height#,paren_depth#); |
| 87 |
italcorr math_axis#*slant-.5u#; |
| 88 |
.adjust_fit(0,0); pickup fine.nib; |
| 89 |
pos1(vair,0); pos2(.75[hair,stem],0); pos3(vair,0); |
| 90 |
lft x1l=lft x3l=hround u; rt x2r=hround(x1+4u if monospace: -4/3u fi); |
| 91 |
top y1=h; y2=.5[y1,y3]=math_axis; |
| 92 |
filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e |
| 93 |
...{3(x3e-x2e),y3-y2}z3e; % arc |
| 94 |
penlabels(1,2,3); .endchar; |
| 95 |
|
| 96 |
.cmchar "Opening Gaensefuesschen"; |
| 97 |
.beginchar(oct"137",7u#+max(2u#,dot_size#),asc_height#,0); |
| 98 |
italcorr asc_height#*slant+dot_size#-4.1u#; |
| 99 |
.adjust_fit(0,0); |
| 100 |
x2+.5dot_size=hround(w-.6u); y2-.5dot_size=0; |
| 101 |
x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; |
| 102 |
comma(1,a,dot_size,.25u,comma_depth); % left dot and tail |
| 103 |
comma(2,b,dot_size,.25u,comma_depth); % right dot and tail |
| 104 |
penlabels(1,2); .endchar; |
| 105 |
|
| 106 |
|
| 107 |
.cmchar "Closing Gaensefuesschen"; |
| 108 |
.beginchar(oct"042",7u#+max(2u#,dot_size#),asc_height#,0); |
| 109 |
italcorr asc_height#*slant-.1u#; |
| 110 |
.adjust_fit(0,0); |
| 111 |
x1-.5dot_size=hround .6u; |
| 112 |
y1+.5dot_size=h-comma_depth; |
| 113 |
x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; |
| 114 |
ammoc(1,a,dot_size,.25u,comma_depth); % left dot and tail |
| 115 |
ammoc(2,b,dot_size,.25u,comma_depth); % right dot and tail |
| 116 |
penlabels(1,2); |
| 117 |
.endchar; |
| 118 |
|
| 119 |
.cmchar "The gothic apostrophe"; |
| 120 |
.beginchar("'",2hair#+stem#,1.431x_height#,0); |
| 121 |
.adjust_fit(0,0); |
| 122 |
penpos1(0.5stem,0); |
| 123 |
penpos2(stem,0); |
| 124 |
z1l=(hair,h-foot-0.707stem); z2l=(x1l,h); |
| 125 |
penstroke z1e--z2e; |
| 126 |
.endchar; |
| 127 |
|
| 128 |
.cmchar "The gothic hyphen"; |
| 129 |
.beginchar("-",2u#,1.431x_height#,0); |
| 130 |
.adjust_fit(cap_serif_fit#+0.3u#,cap_serif_fit#); |
| 131 |
penpos1(stem,-90); penpos2(stem,-90); |
| 132 |
penpos3(stem,-90); penpos4(stem,-90); |
| 133 |
x1=x2=0; x3=x4=w; z3-z1=whatever*dir40; |
| 134 |
z4-z2=whatever*dir40; |
| 135 |
0.5[y2,y3]=.5x_height; y1-y2=2.5stem; |
| 136 |
penstroke z1e--z3e; penstroke z2e--z4e; |
| 137 |
.endchar; |
| 138 |
|
| 139 |
|
| 140 |
.cmchar "Closing quotes"; |
| 141 |
.beginchar(oct"042",7u#+max(2u#,dot_size#),asc_height#,0); |
| 142 |
italcorr asc_height#*slant+dot_size#-4.1u#; |
| 143 |
.adjust_fit(0,0); |
| 144 |
x1-.5dot_size=hround .6u; y2+.5dot_size=h; |
| 145 |
x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; |
| 146 |
comma(1,a,dot_size,.25u,comma_depth); % left dot and tail |
| 147 |
comma(2,b,dot_size,.25u,comma_depth); % right dot and tail |
| 148 |
penlabels(1,2); .endchar; |
| 149 |
|
| 150 |
.cmchar "Opening quotes"; |
| 151 |
.beginchar(oct"137",7u#+max(2u#,dot_size#),asc_height#,0); |
| 152 |
italcorr asc_height#*slant-.1u#; |
| 153 |
.adjust_fit(0,0); |
| 154 |
x2+.5dot_size=hround(w-.6u); y1+.5dot_size=h-comma_depth; |
| 155 |
x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; |
| 156 |
ammoc(1,a,dot_size,.25u,comma_depth); % left dot and tail |
| 157 |
ammoc(2,b,dot_size,.25u,comma_depth); % right dot and tail |
| 158 |
penlabels(1,2); .endchar; |
| 159 |
|
| 160 |
.cmchar "En dash"; |
| 161 |
.beginchar(oct"173",9u#,x_height#,0); |
| 162 |
italcorr .61803x_height#*slant+.5u#; |
| 163 |
.adjust_fit(0,0); |
| 164 |
pickup crisp.nib; pos1(vair,90); pos2(vair,90); |
| 165 |
top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; |
| 166 |
filldraw stroke z1e--z2e; % bar |
| 167 |
penlabels(1,2); .endchar; |
| 168 |
|
| 169 |
.cmchar "Em dash"; |
| 170 |
.beginchar(oct"174",18u#,x_height#,0); |
| 171 |
italcorr .61803x_height#*slant+.5u#; |
| 172 |
.adjust_fit(letter_fit#,letter_fit#); |
| 173 |
pickup crisp.nib; pos1(vair,90); pos2(vair,90); |
| 174 |
top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; |
| 175 |
filldraw stroke z1e--z2e; % bar |
| 176 |
penlabels(1,2); .endchar; |
| 177 |
|