| 1 |
|
| 2 |
.cmchar "The gothic letter a"; |
| 3 |
.beginchar("a",6.278u#,x_height#,0); |
| 4 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#-0.3u#); |
| 5 |
z0=(0,0); ygoth_a(0); .endchar; |
| 6 |
|
| 7 |
.cmchar "The gothic letter b"; |
| 8 |
.beginchar("b",6.111u#,1.431x_height#,0); |
| 9 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 10 |
penpos1(stem,0); penpos2(stem,0); |
| 11 |
penpos3(stem,0); penpos4(stem,0); |
| 12 |
penpos8(stem,60); penpos9(stem,60); |
| 13 |
z1=(0.243w,foot); z2=(x1,0.888h); |
| 14 |
z9l=z1l-(2apex_o,0); |
| 15 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 16 |
z8l=z7; z3r-z7=whatever*dir30; |
| 17 |
x3r=w-apex_o; |
| 18 |
z4r=(x3r,0.833x_height); |
| 19 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 20 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 21 |
penstroke z1e--z2e; penstroke z8e--z9e; |
| 22 |
penstroke z3e--z4e; |
| 23 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 24 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 25 |
penpos100(hair,angle(z3r-z7)-90); |
| 26 |
penpos101(hair,angle(z3r-z7)-90); |
| 27 |
z100r=z7; z101r=whatever[z7,z3r]; x101l=x3r; |
| 28 |
penstroke z100e--z101e; |
| 29 |
% |
| 30 |
% |
| 31 |
% |
| 32 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 33 |
z6=(0.821[x1r,x3l],x_height); |
| 34 |
z5r=(x101r,y4); |
| 35 |
penpos6'(hair,angle(z6-z17)-90); |
| 36 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 37 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 38 |
z5.1-z5l=whatever*(z6-z5r); |
| 39 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 40 |
& cycle; |
| 41 |
% |
| 42 |
% |
| 43 |
% |
| 44 |
z21=0.267[z2l,z2r]; z20=(x6,0.5[h,y2]); |
| 45 |
penpos20(3/4hair,-135); |
| 46 |
z22=(0.545[x21,x20],h-apex_o); |
| 47 |
z21'=(x1r,1/4[y21,y6]); |
| 48 |
filldraw z21..z22..{down}z20l & z20l--z20r |
| 49 |
& z20r{up}..z21'{down} & z21'--z2r--z21 & |
| 50 |
cycle; |
| 51 |
penpos18(hair,angle(z6-z17)); |
| 52 |
x18r=0;y18r=1/3[h,y21]; |
| 53 |
z21''=(x1l,0.5[y21,y6]); |
| 54 |
filldraw z21''{up}..{z18-z21}z18l & |
| 55 |
z18l--z18r--z21--z2l--z21'' & cycle; |
| 56 |
.endchar; |
| 57 |
|
| 58 |
.cmchar "The gothic letter c"; |
| 59 |
.beginchar("c",4.306u#,x_height#,0); |
| 60 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 61 |
z0=(0,0); ygoth_c(0); |
| 62 |
.endchar; |
| 63 |
|
| 64 |
.cmchar "The gothic letter d"; |
| 65 |
.beginchar("d",6.111u#,1.431x_height#,0); |
| 66 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 67 |
penpos1(stem,0); penpos2(stem,0); |
| 68 |
penpos3(stem,0); penpos4(stem,0); |
| 69 |
penpos8(stem,60); penpos9(stem,60); |
| 70 |
z1=(0.243w,foot); z2=(x1,0.888h); |
| 71 |
z9l=z1l-(apex_o,0); |
| 72 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 73 |
z8l=z7; z3r-z7=whatever*dir30; |
| 74 |
x3r=w-apex_o; |
| 75 |
z4r=(x3r,0.88x_height); %0.833 |
| 76 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 77 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 78 |
penstroke z8e--z9e; |
| 79 |
penstroke z3e--z4e; |
| 80 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 81 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 82 |
penpos100(hair,angle(z3r-z7)-90); |
| 83 |
penpos101(hair,angle(z3r-z7)-90); |
| 84 |
z100r=z7; z101r=whatever[z7,z3r]; x101l=x3r; |
| 85 |
penstroke z100e--z101e; |
| 86 |
% |
| 87 |
% |
| 88 |
% |
| 89 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 90 |
z6=(0.821[x1r,x3l],x_height); |
| 91 |
z5r=(x101r,y4); |
| 92 |
penpos6'(hair,angle(z6-z17)-90); |
| 93 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 94 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 95 |
z5.1-z5l=whatever*(z6-z5r); |
| 96 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 97 |
& cycle; |
| 98 |
% |
| 99 |
% |
| 100 |
% |
| 101 |
penpos2'(stem,0); z2'r=z17'; |
| 102 |
z31=whatever[z6,z5r]; x31=x1l; |
| 103 |
z30=whatever[z31,z5r]; |
| 104 |
z30-z2'l=whatever*(z2'r-z6'r); |
| 105 |
x34=0; z34=whatever[z5.1,z5l]; |
| 106 |
z32=(x31-0.5hair,y31+hair); |
| 107 |
z33=(2x32,y34); z35=whatever[z2'l,z30]; |
| 108 |
z35=whatever[z34,z5.1]; |
| 109 |
filldraw z2'r--z6'r--z6--z31--z34--z35 |
| 110 |
--z2'l--z2'r & cycle; |
| 111 |
filldraw z34{up}..z32 & z32..{down}z33 & |
| 112 |
z33--z34 & cycle; |
| 113 |
penstroke z1e--z2'e; |
| 114 |
% |
| 115 |
% |
| 116 |
% |
| 117 |
penpos150(1.2hair,angle(z5.1-z35)); |
| 118 |
z150l=z35; |
| 119 |
unfilldraw z2'r{up}..{z30-z35}z150r & z150r |
| 120 |
--z5.1--z2'r & cycle; |
| 121 |
unfilldraw z2'r{up}..{z30-z35}z150r & z150r |
| 122 |
--z5.1--z2'r & cycle; |
| 123 |
.endchar; |
| 124 |
|
| 125 |
.cmchar "The gothic letter e"; |
| 126 |
.beginchar("e",4.306u#,x_height#,0); |
| 127 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+.7u#); |
| 128 |
z0=(0,0); ygoth_e(0); |
| 129 |
.endchar; |
| 130 |
|
| 131 |
.cmchar "The gothic letter f"; |
| 132 |
.beginchar("f",4.389u#,11.944u#,0); |
| 133 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#-.2u#); |
| 134 |
z0=(hair,0); ygoth_s(0); |
| 135 |
penpos260(4/5stem,-90); penpos261(4/5stem,-90); |
| 136 |
y260r=y261r=0.732x_height; |
| 137 |
x260=x0+apex_o+stem; |
| 138 |
x261=x0+apex_o+2stem; |
| 139 |
penstroke z260e--z261e; |
| 140 |
.endchar; |
| 141 |
|
| 142 |
.cmchar "The gothic letter g"; |
| 143 |
.beginchar("g",7.556u#,x_height#,3u#); |
| 144 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#-0.3u#); |
| 145 |
penpos1(stem,0); penpos2(stem,0); |
| 146 |
penpos3(stem,0); penpos4(stem,0); |
| 147 |
x1l=x2l=apex_o; x3l=x4l=0.574w; |
| 148 |
penpos5(1.083stem,63); penpos6(1.083stem,63); |
| 149 |
penpos20(2hair,-51); penpos21(2hair,-45); |
| 150 |
penpos22(2hair,-28); |
| 151 |
y1=0.108x_height; %y2=0.788x_height; |
| 152 |
y3=0.235x_height; y4=0.843x_height; |
| 153 |
y5r=x_height; x5l=x2r; y2=y5l; |
| 154 |
z6r=(w,0.915x_height); y20l=y2; x20=x1l; |
| 155 |
z21r=z2r; z22l=whatever[z5r,z5l]; y22l=h+apex_o; |
| 156 |
penpos6'(1.083stem,63); |
| 157 |
z6'l=whatever[z5l,z6l]; x6'=x6-hair; |
| 158 |
penstroke z1e--z2e; penstroke z3e--z4e; |
| 159 |
penstroke z6'e--z5e; penstroke z20e..z21e..z22e; |
| 160 |
penpos6''(1.083stem,63); |
| 161 |
z6''=whatever[z6l,z6r]; z6''l=1/5[z6l,z6r]; |
| 162 |
penstroke z6'e{z6-z5}..z6''e; |
| 163 |
% |
| 164 |
% |
| 165 |
% |
| 166 |
penpos16(stem,65); z16l=(0,y1); |
| 167 |
penpos7(hair,-41); |
| 168 |
z7r=(x1l,-d); penpos8(hair,-41); z8l=z3l; |
| 169 |
z7'=whatever[z7l,z8l]; y7'=-d; |
| 170 |
filldraw z7'--z8l--z8r--z7r--z7' & cycle; |
| 171 |
z15'=whatever[z16l,(x1r,0)]; |
| 172 |
z15'=whatever[z7r,z8r]; z15-z16r= |
| 173 |
whatever*(z15'-z16l); z15=whatever[z7r,z8r]; |
| 174 |
filldraw z16l--z16r--z15--z15'--z16l & |
| 175 |
cycle; |
| 176 |
penpos9(stem,30); z9l=z3l; |
| 177 |
x12=x6r; z12-z9r=whatever*dir-60; |
| 178 |
penpos10(whatever,45); z10r=z12; |
| 179 |
z10l-z9l=whatever*(z12-z9r); |
| 180 |
z13''=whatever[z7l,z8l]; x13''=x1r; |
| 181 |
penpos11'(hair,-45); |
| 182 |
z11'r=z12; z11''=whatever[z9l,z10l]; |
| 183 |
z11''-z11'l=whatever*(z10l-z10r); |
| 184 |
penpos13'(stem,angle(z11''-z13'')+90); |
| 185 |
z13'r=z13''; z11-z13'l=whatever*(z11''-z13''); |
| 186 |
z11=whatever[z10l,z10r]; |
| 187 |
z13=whatever[z7l,z8l]; |
| 188 |
z13=whatever[z13'l,z11]; |
| 189 |
filldraw z13--z11--z12--z11'l--z11''-- |
| 190 |
z13'r--z13 & cycle; |
| 191 |
penstroke z10e--z9e; |
| 192 |
filldraw z7r{z15-z7r}..z13'l{z11-z13} |
| 193 |
& z13'l--z13--z7r & cycle; |
| 194 |
.endchar; |
| 195 |
|
| 196 |
.cmchar "The gothic letter h"; |
| 197 |
.beginchar("h",6.111u#,1.431x_height#,2.778u#); |
| 198 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+0.2u#); |
| 199 |
z0=(0,0); ygoth_h(0); |
| 200 |
.endchar; |
| 201 |
|
| 202 |
.cmchar "The gothic letter i"; |
| 203 |
.beginchar("i",2.889u#,1.431x_height#,0); |
| 204 |
.adjust_fit(cap_serif_fit#+0.6u#,cap_serif_fit#-.7u#); |
| 205 |
penpos1(stem,0); penpos2(stem,0); |
| 206 |
x1l=x2l=apex_o; y1=foot; y2=x_height-foot; |
| 207 |
podi(1); qeri(2); penstroke z1e--z2e; |
| 208 |
% |
| 209 |
% |
| 210 |
% |
| 211 |
z5.1=z2r+(2apex_o,0); |
| 212 |
penpos5.2(stem,40); z5.2r=z5.1; |
| 213 |
penpos5.3(stem,40); |
| 214 |
z5.2r-z5.3r=whatever*dir-50; |
| 215 |
y5.3r=y2+foot+apex_o; |
| 216 |
z3=z5.3r+(0,0.5hair); |
| 217 |
penpos4(0.8stem,0); y4=1.379x_height; |
| 218 |
x4r=x2r+hair; |
| 219 |
filldraw z3--z4l--z4r--z3 & cycle; |
| 220 |
.endchar; |
| 221 |
|
| 222 |
.cmchar "The gothic letter j"; |
| 223 |
.beginchar("j",2.889u#,1.431x_height#,2.778u#); |
| 224 |
.adjust_fit(cap_serif_fit#+0.6u#,cap_serif_fit#-.85u#); |
| 225 |
penpos1(stem,0); penpos2(stem,0); |
| 226 |
x1l=x2l=apex_o; y1=foot; y2=x_height-foot; |
| 227 |
qeri(2); penstroke z1e--z2e; |
| 228 |
% |
| 229 |
% |
| 230 |
% |
| 231 |
z5.1=z2r+(2apex_o,0); |
| 232 |
penpos5.2(stem,40); z5.2r=z5.1; |
| 233 |
penpos5.3(stem,40); |
| 234 |
z5.2r-z5.3r=whatever*dir-50; |
| 235 |
y5.3r=y2+foot+apex_o; |
| 236 |
z3=z5.3r+(0,0.5hair); |
| 237 |
penpos4(0.8stem,0); y4=1.379x_height; |
| 238 |
x4r=x2r+hair; |
| 239 |
filldraw z3--z4l--z4r--z3 & cycle; |
| 240 |
% |
| 241 |
% |
| 242 |
% |
| 243 |
z40=z1r+(apex_o,-0.5y1r); z41=(x1l-0.6hair,0); |
| 244 |
penpos42(hair,90); z42l=(x1l-1.733stem,-d); |
| 245 |
filldraw z1r{down}..z40 & z40{dir225}.. |
| 246 |
z42l{left} & z42l--z42r & z42r{right}.. |
| 247 |
z1l{up} & z1l--z1r & cycle; |
| 248 |
.endchar; |
| 249 |
|
| 250 |
.cmchar "The gothic letter k"; |
| 251 |
.beginchar("k",6.111u#,1.431x_height#,0); |
| 252 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+.4u#); |
| 253 |
z0=(0,0); ygoth_k(0); |
| 254 |
.endchar; |
| 255 |
|
| 256 |
.cmchar "The gothic letter l"; |
| 257 |
.beginchar("l",4.278u#,1.431x_height#,0); |
| 258 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#-u#); |
| 259 |
penpos301(stem,0); penpos302(stem,0); |
| 260 |
penpos303(stem,0); penpos304(stem,0); |
| 261 |
penpos308(stem,60); penpos309(stem,60); |
| 262 |
z301=(0.243w,foot); z302=(x301,0.888h); |
| 263 |
penstroke z301e--z302e; podi(301); |
| 264 |
% |
| 265 |
% |
| 266 |
% |
| 267 |
z321=0.267[z302l,z302r]; z320l=(w,0.5[h,y302]); |
| 268 |
penpos320(3/4hair,-135); |
| 269 |
z322=(0.7[x321,x320],h-apex_o); |
| 270 |
z321'=(x301r,1/4[y321,x_height]); |
| 271 |
penpos325(0.7hair,-90); z325l=z322; |
| 272 |
filldraw z321..z325l{right} & z325l--z325r & |
| 273 |
z325r{left}..z321'{down} & z321'--z302r--z321 & |
| 274 |
cycle; |
| 275 |
penpos318(hair,45); |
| 276 |
x318r=0;y318r=1/3[h,y321]; |
| 277 |
z321''=(x301l,0.5[y321,x_height]); |
| 278 |
filldraw z321''{up}..{z318-z321}z318l & |
| 279 |
z318l--z318r--z321--z302l--z321'' & cycle; |
| 280 |
.endchar; |
| 281 |
|
| 282 |
.cmchar "The gothic letter m"; |
| 283 |
.beginchar("m",9u#,x_height#,0); |
| 284 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 285 |
penpos1(stem,0); penpos2(stem,0); |
| 286 |
penpos3(stem,0); penpos4(stem,0); |
| 287 |
penpos5(stem,0); penpos6(stem,0); |
| 288 |
x1l=hair; |
| 289 |
x2=x1; x4l=x3l=x1r+1.233stem; |
| 290 |
x6l=x5l=x3r+1.233stem; |
| 291 |
y1=y3=y5=foot; y2=y4=y6=x_height-foot; |
| 292 |
penstroke z1e--z2e; penstroke z3e--z4e; |
| 293 |
penstroke z5e--z6e; |
| 294 |
podi(1); podi(3); podi(5); |
| 295 |
qeri(2); panwqeri(4); panwqeri(6); |
| 296 |
.endchar; |
| 297 |
|
| 298 |
.cmchar "The gothic letter n"; |
| 299 |
.beginchar("n",5.5u#,x_height#,0); |
| 300 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+.2u#); |
| 301 |
penpos1(stem,0); penpos2(stem,0); |
| 302 |
penpos3(stem,0); penpos4(stem,0); |
| 303 |
x1l=hair; |
| 304 |
x2=x1; x4l=x3l=x1r+1.233stem; |
| 305 |
y1=y3=foot; y2=y4=x_height-foot; |
| 306 |
penstroke z1e--z2e; penstroke z3e--z4e; |
| 307 |
podi(1); podi(3); |
| 308 |
qeri(2); panwqeri(4); |
| 309 |
.endchar; |
| 310 |
|
| 311 |
.cmchar "The gothic letter o"; |
| 312 |
.beginchar("o",6.111u#,x_height#,0); |
| 313 |
.adjust_fit(cap_serif_fit#-.4u#,cap_serif_fit#+0.2u#); |
| 314 |
z0=(0,0); ygoth_o(0); |
| 315 |
.endchar; |
| 316 |
|
| 317 |
.cmchar "The gothic letter p"; |
| 318 |
.beginchar("p",6.111u#,x_height#,0.431x_height#); |
| 319 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 320 |
penpos1(stem,0); penpos2(stem,0); |
| 321 |
penpos3(stem,0); penpos4(stem,0); |
| 322 |
penpos8(stem,60); penpos9(stem,60); |
| 323 |
z1=(0.243w,foot); z2=(x1,h-foot); |
| 324 |
qeri(2); z9l=z1l-(3apex_o,0); |
| 325 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 326 |
z8l=z7; z3r-z7=whatever*dir30; |
| 327 |
x3r=w-apex_o; |
| 328 |
z4r=(x3r,0.833x_height); |
| 329 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 330 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 331 |
penstroke z1e--z2e; penstroke z8e--z9e; |
| 332 |
penstroke z3e--z4e; |
| 333 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 334 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 335 |
penpos100(hair,angle(z3r-z7)-90); |
| 336 |
penpos101(hair,angle(z3r-z7)-90); |
| 337 |
z100r=z7; z101r=whatever[z7,z3r]; x101l=x3r; |
| 338 |
penstroke z100e--z101e; |
| 339 |
% |
| 340 |
% |
| 341 |
% |
| 342 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 343 |
z6=(0.821[x1r,x3l],x_height); |
| 344 |
z5r=(x101r,y4); |
| 345 |
penpos6'(hair,angle(z6-z17)-90); |
| 346 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 347 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 348 |
z5.1-z5l=whatever*(z6-z5r); |
| 349 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 350 |
& cycle; |
| 351 |
% |
| 352 |
% |
| 353 |
% |
| 354 |
penpos6.5(hair,angle(z6-z17)-90); |
| 355 |
z6.5l=whatever[z17,z6'l]; |
| 356 |
y6.5l=x_height+hair; |
| 357 |
penstroke z6'e--z6.5e; |
| 358 |
% |
| 359 |
% |
| 360 |
% |
| 361 |
penpos200(stem,0); z200=(x2,-0.271x_height); |
| 362 |
z21=0.267[z200l,z200r]; z20=(x6,0.5[-d,y200]); |
| 363 |
penpos20(3/4hair,-45); |
| 364 |
z22=(0.545[x21,x20],-d+apex_o); |
| 365 |
z21'=(x1r,1/4[y21,0]); |
| 366 |
filldraw z21..z22..{up}z20r & z20r--z20l |
| 367 |
& z20l{down}..z21'{up} & z21'--z200r--z21 & |
| 368 |
cycle; |
| 369 |
penpos18(hair,angle(z9-z8)); |
| 370 |
x18r=0;y18r=1/3[-d,y21]; |
| 371 |
z21''=(x1l,0.5[y21,0]); |
| 372 |
filldraw z21''{down}..{z18-z21}z18r & |
| 373 |
z18r--z18l--z21--z200l--z21'' & cycle; |
| 374 |
penstroke z200e--z1e; |
| 375 |
.endchar; |
| 376 |
|
| 377 |
.cmchar "The gothic letter q"; |
| 378 |
.beginchar("q",6.111u#,x_height#,0.431x_height#); |
| 379 |
.adjust_fit(cap_serif_fit#-.3u#,cap_serif_fit#); |
| 380 |
penpos1(stem,0); penpos2(stem,0); |
| 381 |
penpos3(stem,0); penpos4(stem,0); |
| 382 |
penpos8(stem,60); penpos9(stem,60); |
| 383 |
z1=(0.243w,foot); z2=(x1,0.888h); |
| 384 |
z9l=z1l-(apex_o,0); |
| 385 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 386 |
z8l=z7; z3r-z7=whatever*dir30; |
| 387 |
x3r=w-apex_o; |
| 388 |
z4r=(x3r,0.88x_height); %0.833 |
| 389 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 390 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 391 |
penstroke z8e--z9e; |
| 392 |
penstroke z3e--z4e; |
| 393 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 394 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 395 |
penpos100(hair,angle(z3r-z7)-90); |
| 396 |
penpos101(hair,angle(z3r-z7)-90); |
| 397 |
z100r=z7; z101r=whatever[z7,z3r]; x101r=x3r; |
| 398 |
penstroke z100e--z101e; |
| 399 |
% |
| 400 |
% |
| 401 |
% |
| 402 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 403 |
z6=(0.821[x1r,x3l],x_height); |
| 404 |
z5r=(x101r+hair,y4); |
| 405 |
penpos6'(hair,angle(z6-z17)-90); |
| 406 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 407 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 408 |
z5.1-z5l=whatever*(z6-z5r); |
| 409 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 410 |
& cycle; |
| 411 |
% |
| 412 |
% |
| 413 |
% |
| 414 |
penpos2'(stem,0); z2'r=z17'; |
| 415 |
z31=whatever[z6,z5r]; x31=x1l; |
| 416 |
z30=whatever[z31,z5r]; |
| 417 |
z30-z2'l=whatever*(z2'r-z6'r); |
| 418 |
x34=0; z34=whatever[z5.1,z5l]; |
| 419 |
z32=(x31-0.5hair,y31+hair); |
| 420 |
z33=(2x32,y34); z35=whatever[z2'l,z30]; |
| 421 |
z35=whatever[z34,z5.1]; |
| 422 |
penpos150(0.9hair,angle(z30-z2'l)-90); |
| 423 |
z150l=0.5[z2'l,z30]; |
| 424 |
filldraw z2'r--z6'r--z6--z30 |
| 425 |
& flex(z30,z150r,z2'l) & z2'l--z2'r & cycle; |
| 426 |
penstroke z1e--z2'e; |
| 427 |
% |
| 428 |
% |
| 429 |
% |
| 430 |
penpos200(stem,0); z200=(x3,-0.271x_height); |
| 431 |
z210=0.267[z200r,z200l]; z201=(x7,0.5[-d,y200]); |
| 432 |
penpos201(3/4hair,45); |
| 433 |
z220=(0.545[x201,x210],-d+apex_o); |
| 434 |
z210'=(x3l,1/4[y210,0]); |
| 435 |
filldraw z210..z220..{up}z201l & z201l--z201r |
| 436 |
& z201r{down}..z210'{up} & z210'--z200r--z210 & |
| 437 |
cycle; |
| 438 |
penpos180(hair,angle(z17-z6)); |
| 439 |
x180r=w; y180r=1/3[-d,y210]; |
| 440 |
z210''=(x3r,0.5[y210,0]); |
| 441 |
filldraw z210''{down}..{z180-z210}z180l & |
| 442 |
z180l--z180r--z210--z200r--z210'' & cycle; |
| 443 |
penstroke z200e--z3e; |
| 444 |
.endchar; |
| 445 |
|
| 446 |
.cmchar "The gothic letter r"; |
| 447 |
.beginchar("r",4.389u#,x_height#,0); |
| 448 |
.adjust_fit(2cap_serif_fit#+0.3u#,cap_serif_fit#); |
| 449 |
penpos1(stem,0); z1l=(apex_o,foot); |
| 450 |
z2'=(0.5w,-apex_o); z1'=z1l-(2apex_o,0); |
| 451 |
penpos2(stem,0); z2=(x1,0.804x_height); |
| 452 |
penpos3(stem,angle(z2'-z1')+90); |
| 453 |
z3l=z2'; |
| 454 |
penpos4(stem,angle(z2'-z1')+90); |
| 455 |
z4l=z1'; penstroke z1e--z2e; qeri(2); |
| 456 |
penstroke z3e--z4e; |
| 457 |
penpos15(hair,-60); z15r=z2'; |
| 458 |
z16-z15r=whatever*dir30; x16=w-apex_o; |
| 459 |
x16=x16'; z16'-z15l=whatever*(z16-z15r); |
| 460 |
z16''=whatever[z15,z16']; |
| 461 |
y16''=0.5[foot,y16']; |
| 462 |
filldraw z3r{z3-z4}...z16''---z16' & |
| 463 |
z16'--z16--z15r--z15l--z3r & cycle; |
| 464 |
% |
| 465 |
% |
| 466 |
% |
| 467 |
penpos10(hair,-60); z10r=(x1r,2/3x_height); |
| 468 |
penpos11(1.1stem,27); z11r=(w,0.739x_height); |
| 469 |
z12-z10l=whatever*dir60; y12=x_height+hair; |
| 470 |
z13-z11r=whatever*(z10l-z12); |
| 471 |
z14-z11l=whatever*(z12-z11r); |
| 472 |
z14-z10r=whatever*(z12-z10l); |
| 473 |
z13=whatever[z14,z11l]; |
| 474 |
filldraw z10l--z12--z11r--z13--z14--z10r-- |
| 475 |
z10l & cycle; |
| 476 |
z15'=whatever[z10l,z12]; x15'=x10r; |
| 477 |
unfilldraw z15'--(x15',x_height)--z12--z15' |
| 478 |
& cycle; |
| 479 |
.endchar; |
| 480 |
|
| 481 |
.cmchar "The gothic letter long s"; |
| 482 |
.beginchar("s",4.389u#,11.944u#,0); |
| 483 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 484 |
z0=(hair,0); ygoth_s(0); |
| 485 |
.endchar; |
| 486 |
|
| 487 |
.cmchar "The gothic letter short s"; |
| 488 |
.beginchar(oct"140",5.2u#,x_height#,0); |
| 489 |
.adjust_fit(cap_serif_fit#+.7u#,cap_serif_fit#+.3u#); |
| 490 |
penpos1(hair,-45); penpos2(hair,-45); |
| 491 |
z1r=(0,foot); z2l=(w,0.9h); |
| 492 |
penstroke z1e--z2e; |
| 493 |
% |
| 494 |
% panw meroc |
| 495 |
% |
| 496 |
penpos3(stem,angle(z2-z1)); z3=whatever[z1l,z2l]; |
| 497 |
penpos4(stem,angle(z2-z1)); |
| 498 |
z4-z3=whatever*(z1l-z1r); |
| 499 |
z4l=(-2apex_o,0.458h); |
| 500 |
penstroke z3e--z4e; |
| 501 |
y5=y4l; penpos5(stem,0); x5l=0; |
| 502 |
penpos6(stem,0); x6=x5; y6=h-foot; |
| 503 |
penstroke z5e--z6e; |
| 504 |
penpos7(stem,60); x7=0.5w; y7r=h; |
| 505 |
z7l-z9=whatever*dir147; |
| 506 |
z7r-z8=whatever*dir147; |
| 507 |
z9=whatever[z1l,z2l]; z8=whatever[z1l,z2l]; |
| 508 |
penpos10(hair,-66); z10l=whatever[z7l,z9]; |
| 509 |
x10l=x6r; penpos11(hair,-90); z11l=z6l; |
| 510 |
penpos12(hair,angle(z8-z7r)); z12l=z7r; |
| 511 |
filldraw z9--z7l--z7r--z8--z9 & cycle; |
| 512 |
penstroke z11e{z6r-z6l}..{z7r-z7l}z12e; |
| 513 |
z13=whatever[z7l,z7r]; y13=h+apex_o; |
| 514 |
z13'=0.3[z7r,z8]; |
| 515 |
filldraw z7r--z13 & z13..{z8-z12}z13' |
| 516 |
& z13'--z7r & cycle; |
| 517 |
penpos14(0.4stem,0); |
| 518 |
x14l=x2l; y14=h+hair; |
| 519 |
filldraw z2l{z2l-z1l}..z14l{dir110} & |
| 520 |
flex(z14l,z14+(0,apex_o),z14r) & |
| 521 |
z14r{down}..z2r{z1r-z2r} & z2r--z2l & cycle; |
| 522 |
z10'=whatever[z7l,z9]; x10'=0; |
| 523 |
z10''=(z10'--z9) intersectionpoint |
| 524 |
(z11{right}..z12{z7r-z7l}); |
| 525 |
filldraw z10''..z7r{z7r-z7l} & z7r--z7l-- |
| 526 |
z10'' & cycle; |
| 527 |
% |
| 528 |
% katw meroc |
| 529 |
% |
| 530 |
penpos20(stem,60); z20r=(w+2apex_o,0.542h); |
| 531 |
z21-z20r=whatever*(z12-z8); |
| 532 |
z22-z20l=whatever*(z12-z8); |
| 533 |
z21=whatever[z1r,z2r]; |
| 534 |
z22=whatever[z1r,z2r]; |
| 535 |
filldraw z20r--z21--z22--z20l--z20r & cycle; |
| 536 |
penpos23(stem,0); x23r=w; y23=y20r; |
| 537 |
penpos24(stem,0); x24=x23; y24=0.216h;%0.216h; |
| 538 |
penstroke z24e--z23e; |
| 539 |
penpos25(hair,-50); x25l=x24r; |
| 540 |
z25r-z24r=whatever*dir30; |
| 541 |
penpos26(hair,-50); z26r=whatever[z24r,z25r]; |
| 542 |
y26r=-apex_o; penstroke z26e--z25e; |
| 543 |
z31=whatever[z1r,z2r]; |
| 544 |
z31-z26r=whatever*dir140; |
| 545 |
penpos27(stem,50); z27l=z26r; |
| 546 |
z29-z27r=whatever*(z31-z27l); |
| 547 |
z29=whatever[z1r,z2r]; |
| 548 |
z28=whatever[z26r,z25r]; |
| 549 |
z28=whatever[z29,z27r]; |
| 550 |
filldraw z31--z26r--z28--z29--z31 & cycle; |
| 551 |
z32=whatever[z26,z25]; x32=x24l; |
| 552 |
filldraw z32--z24r--z24l--z32 & cycle; |
| 553 |
penpos30(0.6stem,45); x30r=x4l; |
| 554 |
y30r=-hair; |
| 555 |
filldraw z30r{dir135}..z1r{z2r-z1r} & |
| 556 |
z1r--z1l & z1l{z1r-z2r}..{dir290}z30l |
| 557 |
& z30l--z30r & cycle; |
| 558 |
.endchar; |
| 559 |
|
| 560 |
.cmchar "The gothic letter t"; |
| 561 |
.beginchar("t",4.389u#,1.242x_height#,0); |
| 562 |
.adjust_fit(2cap_serif_fit#,cap_serif_fit#-u#); |
| 563 |
z0=(0,0); ygoth_t(0); |
| 564 |
.endchar; |
| 565 |
|
| 566 |
.cmchar "The gothic letter u"; |
| 567 |
.beginchar("u",5.5u#,x_height#,0); |
| 568 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+.2u#); |
| 569 |
z0=(0,0); ligature:=false; |
| 570 |
ygoth_u(0); |
| 571 |
.endchar; |
| 572 |
|
| 573 |
.cmchar "The gothic letter v"; |
| 574 |
.beginchar("v",6.111u#,x_height#,0); |
| 575 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 576 |
penpos1(stem,0); penpos2(stem,0); |
| 577 |
penpos3(stem,0); penpos4(stem,0); |
| 578 |
penpos8(stem,60); penpos9(stem,60); |
| 579 |
z1=(0.243w,foot); z2=(x1,x_height-foot); |
| 580 |
z9l=z1l-(2apex_o,0); |
| 581 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 582 |
z8l=z7; z3r-z7=whatever*dir30; |
| 583 |
x3r=w-apex_o; |
| 584 |
z4r=(x3r,0.833x_height); |
| 585 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 586 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 587 |
penstroke z1e--z2e; penstroke z8e--z9e; |
| 588 |
penstroke z3e--z4e; |
| 589 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 590 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 591 |
penpos100(hair,angle(z3r-z7)-90); |
| 592 |
penpos101(hair,angle(z3r-z7)-90); |
| 593 |
z100r=z7; z101r=whatever[z7,z3r]; x101l=x3r; |
| 594 |
penstroke z100e--z101e; |
| 595 |
% |
| 596 |
% |
| 597 |
% |
| 598 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 599 |
z6=(0.821[x1r,x3l],x_height); |
| 600 |
z5r=(x101r,y4); |
| 601 |
penpos6'(hair,angle(z6-z17)-90); |
| 602 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 603 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 604 |
z5.1-z5l=whatever*(z6-z5r); |
| 605 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 606 |
& cycle; |
| 607 |
% |
| 608 |
% |
| 609 |
% |
| 610 |
penpos6.5(hair,angle(z6-z17)-90); |
| 611 |
z6.5l=whatever[z17,z6'l]; |
| 612 |
y6.5l=x_height+hair; |
| 613 |
penstroke z6'e--z6.5e; |
| 614 |
penpos202(hair,-45); x202l=x1l; |
| 615 |
y202l=1.333x_height; |
| 616 |
z203=(x1r,0.5[y2,x_height]); |
| 617 |
z204=(x1l,y2-0.5stem); |
| 618 |
penpos205(stem,45); x205=x1l; |
| 619 |
y205l=x_height-hair; |
| 620 |
penstroke z2e{up}..z205e{dir(angle(z205r-z205l)+90)} |
| 621 |
..z202e{dir45}; |
| 622 |
.endchar; |
| 623 |
|
| 624 |
.cmchar "The gothic letter w"; |
| 625 |
.beginchar("w",10.7u#,x_height#,0); |
| 626 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#-.8u#); |
| 627 |
w:=6.111u; |
| 628 |
penpos1(stem,0); penpos2(stem,0); |
| 629 |
penpos3(stem,0); penpos4(stem,0); |
| 630 |
penpos8(stem,60); penpos9(stem,60); |
| 631 |
z1=(0.243w,foot); z2=(x1,x_height-foot); |
| 632 |
z9l=z1l-(2apex_o,0); |
| 633 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 634 |
z8l=z7; z3r-z7=whatever*dir30; |
| 635 |
x3r=w-apex_o; |
| 636 |
z4r=(x3r,0.833x_height); |
| 637 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 638 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 639 |
penstroke z1e--z2e; penstroke z8e--z9e; |
| 640 |
penstroke z3e--z4e; |
| 641 |
filldraw z8r--z7'--z7--z8r & cycle; |
| 642 |
filldraw z7''--z3l--z3r--z7'' & cycle; |
| 643 |
penpos100(hair,angle(z3r-z7)-90); |
| 644 |
penpos101(hair,angle(z3r-z7)-90); |
| 645 |
z100r=z7; z101r=whatever[z7,z3r]; x101l=x3r; |
| 646 |
penstroke z100e--z101e; |
| 647 |
% |
| 648 |
% |
| 649 |
% |
| 650 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 651 |
z6=(0.821[x1r,x3l],x_height); |
| 652 |
z5r=(x101r,y4); |
| 653 |
penpos6'(hair,angle(z6-z17)-90); |
| 654 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 655 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 656 |
z5.1-z5l=whatever*(z6-z5r); |
| 657 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 658 |
& cycle; |
| 659 |
% |
| 660 |
% |
| 661 |
% |
| 662 |
transform metatopish; |
| 663 |
metatopish=identity |
| 664 |
shifted (x3-x1,0); |
| 665 |
addto currentpicture also currentpicture |
| 666 |
transformed metatopish; |
| 667 |
z201=whatever[z9r,z7']; |
| 668 |
z201=whatever[z100l,z101l]; |
| 669 |
z200=whatever[z100l,z101l]; |
| 670 |
x200=x3l; |
| 671 |
unfilldraw z200--z201--(x201,y9r)-- |
| 672 |
(x200,y9r)--z200 & cycle; |
| 673 |
% |
| 674 |
% |
| 675 |
% |
| 676 |
penpos6.5(hair,angle(z6-z17)-90); |
| 677 |
z6.5l=whatever[z17,z6'l]; |
| 678 |
y6.5l=x_height+hair; |
| 679 |
penstroke z6'e--z6.5e; |
| 680 |
penpos202(hair,-45); x202l=x1l; |
| 681 |
y202l=1.333x_height; |
| 682 |
z203=(x1r,0.5[y2,x_height]); |
| 683 |
z204=(x1l,y2-0.5stem); |
| 684 |
penpos205(stem,45); x205=x1l; |
| 685 |
y205l=x_height-hair; |
| 686 |
penstroke z2e{up}..z205e{dir(angle(z205r-z205l)+90)} |
| 687 |
..z202e{dir45}; |
| 688 |
.endchar; |
| 689 |
|
| 690 |
.cmchar "The gothic letter x"; |
| 691 |
.beginchar("x",4.389u#,x_height#,0); |
| 692 |
.adjust_fit(2cap_serif_fit#+.3u#,cap_serif_fit#); |
| 693 |
penpos1(stem,0); z1l=(apex_o,foot); |
| 694 |
z2'=(0.5w,-apex_o); z1'=z1l-(apex_o,0); |
| 695 |
penpos2(stem,0); z2=(x1,0.804x_height); |
| 696 |
penpos3(stem,angle(z2'-z1')+90); |
| 697 |
z3l=z2'; |
| 698 |
penpos4(stem,angle(z2'-z1')+90); |
| 699 |
z4l=z1'; penstroke z1e--z2e; qeri(2); |
| 700 |
penstroke z3e--z4e; |
| 701 |
penpos15(hair,-60); z15r=z2'; |
| 702 |
z16-z15r=whatever*dir30; x16=w-apex_o; |
| 703 |
x16=x16'; z16'-z15l=whatever*(z16-z15r); |
| 704 |
z16''=whatever[z15,z16']; |
| 705 |
y16''=0.5[foot,y16']; |
| 706 |
filldraw z3r{z3-z4}...z16''---z16' & |
| 707 |
z16'--z16--z15r--z15l--z3r & cycle; |
| 708 |
% |
| 709 |
% |
| 710 |
% |
| 711 |
penpos10(hair,-60); z10r=(x1r,2/3x_height); |
| 712 |
penpos11(1.1stem,27); z11r=(w,0.739x_height); |
| 713 |
z12-z10l=whatever*dir60; y12=x_height+hair; |
| 714 |
z13-z11r=whatever*(z10l-z12); |
| 715 |
z14-z11l=whatever*(z12-z11r); |
| 716 |
z14-z10r=whatever*(z12-z10l); |
| 717 |
z13=whatever[z14,z11l]; |
| 718 |
filldraw z10l--z12--z11r--z13--z14--z10r-- |
| 719 |
z10l & cycle; |
| 720 |
z15'=whatever[z10l,z12]; x15'=x10r; |
| 721 |
unfilldraw z15'--(x15',x_height)--z12--z15' |
| 722 |
& cycle; |
| 723 |
% |
| 724 |
% |
| 725 |
% |
| 726 |
penpos100(1.2hair,angle(z3r-z4r)); |
| 727 |
penpos101(hair,angle(z3r-z4r)); |
| 728 |
z100l=z4l; z100-z101=whatever*(z4r-z4l); |
| 729 |
y101=-.8stem; penstroke z101e--z100e; |
| 730 |
.endchar; |
| 731 |
|
| 732 |
.cmchar "The gothic letter y"; |
| 733 |
.beginchar("y",5.5u#,x_height#,3.056u#); |
| 734 |
.adjust_fit(cap_serif_fit#,cap_serif_fit#+.1u#); |
| 735 |
penpos1(stem,0); penpos2(stem,0); |
| 736 |
penpos3(stem,0); penpos4(stem,0); |
| 737 |
x1l=hair; |
| 738 |
x2=x1; x4l=x3l=x1r+1.233stem; |
| 739 |
y1=foot; y2=y4=x_height-foot; |
| 740 |
y3=0.242x_height; |
| 741 |
penstroke z1e--z2e; penstroke z3e--z4e; |
| 742 |
qeri(2); panwqeri(4); |
| 743 |
penpos101(hair,-70); penpos100(hair,-70); |
| 744 |
x101l=x4r; y101r=y3; |
| 745 |
z101-z100=whatever*dir18; |
| 746 |
x100r=x1r; |
| 747 |
penstroke z100e--z101e; |
| 748 |
z100.5=whatever[z100,z101]; x100.5=x4l; |
| 749 |
filldraw z100.5--z3l--z3r--z100.5 & cycle; |
| 750 |
penpos102(1.2hair,180); |
| 751 |
penpos103(hair,-90); penpos104(hair,0); |
| 752 |
z102=(x1l-0.1stem,-.5d); |
| 753 |
z104=(0.361[x1r,x3l],-0.611d); |
| 754 |
x103=0.522[x102,x104]; y103r=-d; |
| 755 |
filldraw z1l{down}..z102r..z103r..z104r{up} |
| 756 |
& z104r--z104l & z104l{down}..z103l..z102l |
| 757 |
..z100r{z101-z100} & z100r--z1r--z1l & |
| 758 |
cycle; |
| 759 |
penpos200(stem,0); z200r=z104r; |
| 760 |
filldraw z200r..z200l..z200r..cycle; |
| 761 |
.endchar; |
| 762 |
|
| 763 |
.cmchar "The gothic letter z"; |
| 764 |
.beginchar("z",4.306u#,x_height#,3.333u#); |
| 765 |
.adjust_fit(cap_serif_fit#+.2u#,cap_serif_fit#+.2u#); |
| 766 |
z0=(0,0); ygoth_z(0); |
| 767 |
.endchar; |
| 768 |
|