| 1 |
def ygoth_a(suffix $) = |
| 2 |
w':=6.278u; penpos501(stem,0); |
| 3 |
z501=(x$+0.726w',foot); |
| 4 |
penpos502(stem,0); |
| 5 |
z502=(x501,0.732x_height); |
| 6 |
penstroke z501e--z502e; |
| 7 |
penpos511(stem,0); z511l=(x$+apex_o,y501); |
| 8 |
podi(511); |
| 9 |
if not ligature: podi(501); fi |
| 10 |
z512-z511l+(2apex_o,0)=whatever*dir-50; |
| 11 |
y512=-apex_o; penpos512'(hair,-50); |
| 12 |
z512'r=z512; z512.2-z512'l=whatever*(z501l-z512); |
| 13 |
x512.2=x501l; |
| 14 |
filldraw z512'r--z501l--z512.2--z512'l--z512'r & cycle; |
| 15 |
% |
| 16 |
% |
| 17 |
% |
| 18 |
penpos517(stem,0); z517=(x511,0.438x_height); |
| 19 |
penpos508(hair,-90); penpos509(hair,-90); |
| 20 |
z508r=z517r; z509r=(x501l,y508r); |
| 21 |
z510=whatever[z517l,z508l]; x510=x$; |
| 22 |
z510'=whatever[z510,z511]; x510'=x$+apex_o; |
| 23 |
filldraw z510--z508l--z508r--z510'--z510 & cycle; |
| 24 |
penstroke z508e--z509e; penstroke z511e--z517e; |
| 25 |
% |
| 26 |
% |
| 27 |
% |
| 28 |
penpos505(hair,125); z505=(x$+0.243w',0.830x_height); |
| 29 |
z504-z505r=whatever*dir35; y504=x_height+apex_o; |
| 30 |
penpos506(stem,40); z506r=z504; |
| 31 |
penpos503(stem,40); z503-z506=whatever*dir-30; |
| 32 |
x503=x501r; z506'=whatever[z506l,z503l]; |
| 33 |
x506'=x$+0.5w'; penpos507(hair,180); |
| 34 |
y507=0.5[x_height,y517]; penpos505'(hair,125); |
| 35 |
z505'r=whatever[z505r,z504]; y505'r=0.9x_height;%0.856h; |
| 36 |
x507=x$+0.12w'; penpos509'(hair,-90); |
| 37 |
z509'=0.5[z508,z509]; |
| 38 |
z503''=whatever[z503r,z506r]; x503''=x502r; |
| 39 |
if ligature: filldraw z503''--z504 & z504---z505'r...z507r...z509'r{right} |
| 40 |
& z509'r--z509'l & z509'l{left}...z507l...z505'l{z504-z505r}... |
| 41 |
z506'---(x502l,y503)---z503l--z503--z503'' & cycle; |
| 42 |
else: |
| 43 |
filldraw z503r--z504 & z504---z505'r...z507r...z509'r{right} |
| 44 |
& z509'r--z509'l & z509'l{left}...z507l...z505'l{z504-z505r}... |
| 45 |
z506'---(x502l,y503)---z503l--z503r & cycle; fi |
| 46 |
z520=1/3[z517r,z511r]; z521=1/3[z508r,z509r]; |
| 47 |
filldraw z520{up}..z521{right} & |
| 48 |
z521--z508r--z520 & cycle; |
| 49 |
filldraw z502r--z503--(x502l,y503)--z502l--z502r & cycle; |
| 50 |
enddef; |
| 51 |
|
| 52 |
|
| 53 |
def ygoth_c (suffix $) = |
| 54 |
w':=4.306u; penpos401(stem,0); penpos402(stem,0); |
| 55 |
z401l=(x$+apex_o,foot); |
| 56 |
z402l=(x401l,0.748x_height); |
| 57 |
penpos403(stem,60); penpos404(stem,60); |
| 58 |
z404l=z401l-(apex_o,0); z403-z404=whatever*dir-30; |
| 59 |
y403l=-apex_o; penstroke z403e--z404e; |
| 60 |
penstroke z401e--z402e; |
| 61 |
penpos405(hair,-60); z405r-z403l=whatever*dir30; |
| 62 |
x405r=w'+apex_o; z403'=whatever[z404l,z403l]; |
| 63 |
z403'-z405l=whatever*(z403l-z405r); |
| 64 |
z405'=whatever[z403',z405l]; |
| 65 |
z405'-z404r=whatever*(z403r-z404r); |
| 66 |
filldraw z403l--z405r--z405l--z405'--z403r--z403l & |
| 67 |
cycle; |
| 68 |
% |
| 69 |
% |
| 70 |
% |
| 71 |
z406=(x$+0.581w',x_height+apex_o); |
| 72 |
z409=z402l-(apex_o,0); |
| 73 |
penpos407(stem,60); z406-z407r=whatever*dir150; |
| 74 |
x407r=x$+w'; z408'=whatever[z409,z406]; |
| 75 |
z408'-z407l=whatever*(z406-z407r); |
| 76 |
z408=whatever[z408',z407l]; x408=x408'+apex_o; |
| 77 |
z410-z409=whatever*(z405r-z405l); |
| 78 |
x410=x402l; z408''=whatever[z408,z407l]; x408''=x402r; |
| 79 |
filldraw z410--z409 & flex(z409,z408,z406) & z406--z407r |
| 80 |
--z407l--z408''--z402r--z402l--z410 & cycle; |
| 81 |
penpos409.5(hair,-60); penpos408.5(hair,-60); |
| 82 |
penpos406.5(hair,-60); z409.5l=z409; z408.5l=z408; |
| 83 |
z406.5l=z406; |
| 84 |
penstroke z409.5e..z408.5e..z406.5e; |
| 85 |
enddef; |
| 86 |
|
| 87 |
def ygoth_e (suffix $) = |
| 88 |
w':=5u; penpos601(stem,0); |
| 89 |
z601l=(x$+apex_o,foot); |
| 90 |
z602'=(x$+0.5w',-apex_o); z601'=z601l-(apex_o,0); |
| 91 |
penpos602(stem,0); z602=(x601,0.804x_height); |
| 92 |
penpos603(stem,angle(z602'-z601')+90); |
| 93 |
z603l=z602'; |
| 94 |
penpos604(stem,angle(z602'-z601')+90); |
| 95 |
z604l=z601'; penstroke z601e--z602e; |
| 96 |
penstroke z603e--z604e; |
| 97 |
penpos615(hair,-60); z615r=z602'; |
| 98 |
z616-z615r=whatever*dir30; x616=x$+w'-apex_o; |
| 99 |
x616=x616'; z616'-z615l=whatever*(z616-z615r); |
| 100 |
z616''=whatever[z615,z616']; |
| 101 |
y616''=0.5[foot,y616']; |
| 102 |
filldraw z603r{z603-z604}...z616''---z616' & |
| 103 |
z616'--z616--z615r--z615l--z603r & cycle; |
| 104 |
% |
| 105 |
% |
| 106 |
% |
| 107 |
z606=(x$+0.611w',x_height+apex_o); |
| 108 |
z610-z606=whatever*dir-45; x610=x$+w'; |
| 109 |
penpos622(hair,angle(z610-z606)); |
| 110 |
penpos621(hair,angle(z610-z606)); |
| 111 |
penpos620(hair,angle(z610-z606)); |
| 112 |
penpos621'(hair,angle(z610-z606)); |
| 113 |
z622=z602l-(apex_o,0); z620l=z606; z621'l=0.5[z622l,z620l]; |
| 114 |
z621l=z621'; |
| 115 |
penstroke z622e..z621e..z620e; |
| 116 |
z608=(x601r,0.637[y602,y601]); penpos609(hair,angle(z610-z606)); |
| 117 |
penpos610'(hair,angle(z610-z606)); |
| 118 |
z609r=z608; z610'r=z610; |
| 119 |
penstroke z609e--z610'e; |
| 120 |
penpos611(stem,angle(z610-z606)+90); z611r=z610; |
| 121 |
z630=whatever[z622l,z606]; |
| 122 |
z630-z611l=whatever*(z606-z610); |
| 123 |
z631=(z630--z611l) intersectionpoint |
| 124 |
(z622..z621..z620); |
| 125 |
filldraw z631..z620--z610--z611l--z631 & cycle; |
| 126 |
z633=(z622..z621..z620) intersectionpoint |
| 127 |
(z601r--(x601r,x_height)); |
| 128 |
filldraw z602r--z633..z602l--z602r & cycle; |
| 129 |
enddef; |
| 130 |
|
| 131 |
def ygoth_s (suffix $) = |
| 132 |
w':=4.389u; penpos201(stem,0); |
| 133 |
z201l=(x$+apex_o,foot); z202=(x201,1.144x_height); |
| 134 |
penpos202(stem,0); |
| 135 |
penstroke z201e--z202e; z201'=z201l-(apex_o,0); |
| 136 |
penpos205(hair,-60); |
| 137 |
z205r-z201'=whatever*dir-50; y205r=-apex_o; |
| 138 |
penpos206(hair,-60); z206-z205=whatever*dir30; |
| 139 |
y206=foot; penpos203(stem,50); |
| 140 |
z203l=z201'; z207-z203r=whatever*(z205r-z201'); |
| 141 |
z207=whatever[z205r,z206r]; |
| 142 |
filldraw z201'--z205r--z206r--z206l--z205l--z201' & |
| 143 |
cycle; |
| 144 |
filldraw z201'--z203r--z207--z205r--z201' & cycle; |
| 145 |
% |
| 146 |
% |
| 147 |
% |
| 148 |
penpos220(hair,-40); penpos221(hair,-40); |
| 149 |
penpos222(hair,-40); |
| 150 |
z222l=(2/3[x201l,x206],1.405x_height); |
| 151 |
penpos208(stem,angle(z222l-z202l)); z208r=z222l; |
| 152 |
z209-z222l=whatever*dir-40; x209=x$+w'-hair; |
| 153 |
z210-z209=whatever*dir240; |
| 154 |
z210-z208l=whatever*(z209-z222l); |
| 155 |
z211=whatever[z208l,z210]; x211=x202r; |
| 156 |
z220l=z202l; penpos221'(hair,-40); z221'l=z208l; |
| 157 |
z221l=z221'; |
| 158 |
penstroke z220e..z221e..z222e; |
| 159 |
filldraw z221..z222 & z222--z209-- |
| 160 |
z210--z221 & cycle; |
| 161 |
z211'=(z220..z221..z222) intersectionpoint |
| 162 |
(z201r--(x201r,2x_height)); |
| 163 |
filldraw z202l..z211' & z211'--z202r--z202l |
| 164 |
& cycle; |
| 165 |
x251=x252=x201l; y250=y251=0.732x_height; |
| 166 |
y252=y251+4/5stem; x250=x251-hair; |
| 167 |
filldraw z250--z252--z251--z250 & cycle; |
| 168 |
enddef; |
| 169 |
|
| 170 |
def ygoth_makru_s (suffix $) = |
| 171 |
w':=4.389u; penpos201(stem,0); |
| 172 |
z201l=(x$+apex_o,foot); z202=(x201,1.144x_height); |
| 173 |
penpos202(stem,0); |
| 174 |
penstroke z201e--z202e; z201'=z201l-(apex_o,0); |
| 175 |
penpos205(hair,-60); |
| 176 |
z205r-z201'=whatever*dir-50; y205r=-apex_o; |
| 177 |
penpos206(hair,-60); z206-z205=whatever*dir30; |
| 178 |
y206=foot; penpos203(stem,50); |
| 179 |
z203l=z201'; z207-z203r=whatever*(z205r-z201'); |
| 180 |
z207=whatever[z205r,z206r]; |
| 181 |
penpos270(0.5hair,0); x270l=x201l; y270=-0.3x_height; |
| 182 |
penpos271(stem,0); z271=(x201,0); |
| 183 |
penstroke z270e--z271e--z201e; |
| 184 |
% |
| 185 |
% |
| 186 |
% |
| 187 |
penpos220(hair,-40); penpos221(hair,-40); |
| 188 |
penpos222(hair,-40); |
| 189 |
z222l=(2/3[x201l,x206],1.405x_height); |
| 190 |
penpos208(stem,angle(z222l-z202l)); z208r=z222l; |
| 191 |
z209-z222l=whatever*dir-40; x209=x$+w'-hair; |
| 192 |
z210-z209=whatever*dir240; |
| 193 |
z210-z208l=whatever*(z209-z222l); |
| 194 |
z211=whatever[z208l,z210]; x211=x202r; |
| 195 |
z220l=z202l; penpos221'(hair,-40); z221'l=z208l; |
| 196 |
z221l=z221'; |
| 197 |
penstroke z220e..z221e..z222e; |
| 198 |
filldraw z221..z222 & z222--z209-- |
| 199 |
z210--z221 & cycle; |
| 200 |
z211'=(z220..z221..z222) intersectionpoint |
| 201 |
(z201r--(x201r,2x_height)); |
| 202 |
filldraw z202l..z211' & z211'--z202r--z202l |
| 203 |
& cycle; |
| 204 |
x251=x252=x201l; y250=y251=0.732x_height; |
| 205 |
y252=y251+4/5stem; x250=x251-hair; |
| 206 |
filldraw z250--z252--z251--z250 & cycle; |
| 207 |
enddef; |
| 208 |
|
| 209 |
def ygoth_h (suffix $) = |
| 210 |
w':=6.111u; d':=2.778u; |
| 211 |
penpos1(stem,0); penpos2(stem,0); |
| 212 |
penpos3(stem,0); penpos4(stem,0); |
| 213 |
penpos8(stem,60); penpos9(stem,60); |
| 214 |
z1=(x$+0.243w',foot); z2=(x1,1.271x_height); |
| 215 |
z9l=z1l-(apex_o,0); |
| 216 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 217 |
z8l=z7; z3r-z7=whatever*dir30; |
| 218 |
x3r=x$+w'-apex_o; |
| 219 |
z4r=(x3r,0.833x_height); |
| 220 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 221 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 222 |
penstroke z1e--z2e; |
| 223 |
penstroke z3e--z4e; |
| 224 |
podi(1); |
| 225 |
% |
| 226 |
% |
| 227 |
% |
| 228 |
penpos5(stem,60); z17=(x1r,0.824x_height); |
| 229 |
z6=(0.821[x1r,x3l],x_height); |
| 230 |
z5r=(x3r+apex_o,y4); |
| 231 |
penpos6'(hair,angle(z6-z17)-90); |
| 232 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 233 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 234 |
z5.1-z5l=whatever*(z6-z5r); |
| 235 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 236 |
& cycle; |
| 237 |
% |
| 238 |
% |
| 239 |
% |
| 240 |
z21=0.267[z2l,z2r]; |
| 241 |
z20=(x6,0.5[1.431x_height,y2]); |
| 242 |
penpos20(3/4hair,-135); |
| 243 |
z22=(0.545[x21,x20],1.431x_height-apex_o); |
| 244 |
z21'=(x1r,1/4[y21,y6]); |
| 245 |
filldraw z21..z22..{down}z20l & z20l--z20r |
| 246 |
& z20r{up}..z21'{down} & z21'--z2r--z21 & |
| 247 |
cycle; |
| 248 |
penpos18(hair,angle(z6-z17)); |
| 249 |
x18r=x$;y18r=1/3[1.431x_height,y21]; |
| 250 |
z21''=(x1l,0.5[y21,y6]); |
| 251 |
filldraw z21''{up}..{z18-z21}z18l & |
| 252 |
z18l--z18r--z21--z2l--z21'' & cycle; |
| 253 |
% |
| 254 |
% |
| 255 |
% |
| 256 |
z40=z3r+(apex_o,-0.5y3r); z41=(x3l-0.6hair,0); |
| 257 |
penpos42(hair,90); z42l=(x1,-d'); |
| 258 |
filldraw z3r{down}..z40 & z40{dir225}.. |
| 259 |
z42l{left} & z42l--z42r & z42r{right}.. |
| 260 |
z3l{up} & z3l--z3r & cycle; |
| 261 |
enddef; |
| 262 |
|
| 263 |
def ygoth_k (suffix $) = |
| 264 |
w':=6.111u; d':=2.778u; |
| 265 |
penpos1(stem,0); penpos2(stem,0); |
| 266 |
penpos3(stem,0); penpos4(stem,0); |
| 267 |
penpos8(stem,60); penpos9(stem,60); |
| 268 |
z1=(x$+0.243w',foot); z2=(x1,1.271x_height); |
| 269 |
z9l=z1l-(apex_o,0); |
| 270 |
x7=0.359[x1r,x3l]; y7=-apex_o; |
| 271 |
z8l=z7; %z3r-z7=whatever*dir30; |
| 272 |
z3r=(x$+w'-apex_o,foot); |
| 273 |
z4r=(x3r,0.833x_height); |
| 274 |
z7'=whatever[z9r,z8r]; z7'=whatever[z7,z3r]; |
| 275 |
z7''=whatever[z7,z3r]; x7''=x3l; |
| 276 |
penstroke z1e--z2e; |
| 277 |
%penstroke z3e--z4e; |
| 278 |
podi(1); |
| 279 |
% |
| 280 |
% |
| 281 |
% |
| 282 |
penpos5(1.1stem,30); z6=(x3l,x_height); |
| 283 |
z6-z17=whatever*dir30; x17=x1r; |
| 284 |
z5r-z6=whatever*dir-60; x5r=x3r; |
| 285 |
penpos6'(hair,-60); |
| 286 |
z6'l=z6; z17'-z6'r=whatever*(z17-z6); |
| 287 |
x17'=x1r; z5.1=whatever[z17',z6'r]; |
| 288 |
z5.1-z5l=whatever*(z6-z5r); |
| 289 |
filldraw z5r--z6--z17--z17'--z5.1--z5l--z5r |
| 290 |
& cycle; |
| 291 |
% |
| 292 |
% |
| 293 |
% |
| 294 |
z21=0.267[z2l,z2r]; |
| 295 |
z20=(0.821[x1r,x3l],0.5[1.431x_height,y2]); |
| 296 |
penpos20(3/4hair,-135); |
| 297 |
z22=(0.545[x21,x20],1.431x_height-apex_o); |
| 298 |
z21'=(x1r,1/4[y21,y6]); |
| 299 |
filldraw z21..z22..{down}z20l & z20l--z20r |
| 300 |
& z20r{up}..z21'{down} & z21'--z2r--z21 & |
| 301 |
cycle; |
| 302 |
penpos18(hair,angle(z6-z17)); |
| 303 |
x18r=x$;y18r=1/3[1.431x_height,y21]; |
| 304 |
z21''=(x1l,0.5[y21,y6]); |
| 305 |
filldraw z21''{up}..{z18-z21}z18l & |
| 306 |
z18l--z18r--z21--z2l--z21'' & cycle; |
| 307 |
% |
| 308 |
% |
| 309 |
% |
| 310 |
penpos30(hair,-60); z30r=z5r; x31=x32=x1r; |
| 311 |
z31-z30r=whatever*(z17-z6); |
| 312 |
z32-z30l=whatever*(z17-z6); |
| 313 |
filldraw z31--z32--z30l--z30r--z31 & cycle; |
| 314 |
penpos4.5(stem,0); penpos33(stem,angle(z30r-z31)); |
| 315 |
x4.5=x3; z4.5-z33=whatever*dir-25; |
| 316 |
penpos33'(1.2hair,angle(z30r-z31)); |
| 317 |
z33'r=z5l; z33r=z5l; podi(3); |
| 318 |
penstroke z3e--z4.5e; |
| 319 |
penpos34(stem,angle(z30r-z31)); |
| 320 |
x34r=x$+w'+apex_o; |
| 321 |
z34r-z33r=whatever*dir-25; |
| 322 |
penstroke z34e--z33e; |
| 323 |
if y34r > y4.5: |
| 324 |
filldraw z4.5r--(x4.5r,y34r)--(x4.5l,y34r) |
| 325 |
--z4.5l--z4.5r & cycle; fi |
| 326 |
enddef; |
| 327 |
|
| 328 |
def ygoth_o (suffix $) = |
| 329 |
w':=6.111u; |
| 330 |
penpos801(stem,0); penpos802(stem,0); |
| 331 |
penpos803(stem,0); penpos804(stem,0); |
| 332 |
penpos808(stem,60); penpos809(stem,60); |
| 333 |
z801=(x$+0.243w',foot); z802=(x801,0.888x_height); |
| 334 |
z809l=z801l-(apex_o,0); |
| 335 |
x807=0.359[x801r,x803l]; y807=-apex_o; |
| 336 |
z808l=z807; z803r-z807=whatever*dir30; |
| 337 |
x803r=x$+w'-apex_o; |
| 338 |
z804r=(x803r,0.88x_height); %0.833 |
| 339 |
z807'=whatever[z809r,z808r]; z807'=whatever[z807,z803r]; |
| 340 |
z807''=whatever[z807,z803r]; x807''=x803l; |
| 341 |
penstroke z808e--z809e; |
| 342 |
penstroke z803e--z804e; |
| 343 |
filldraw z808r--z807'--z807--z808r & cycle; |
| 344 |
filldraw z807''--z803l--z803r--z807'' & cycle; |
| 345 |
penpos700(hair,angle(z803r-z807)-90); |
| 346 |
penpos701(hair,angle(z803r-z807)-90); |
| 347 |
z700r=z807; z701r=whatever[z807,z803r]; x701l=x803r; |
| 348 |
penstroke z700e--z701e; |
| 349 |
% |
| 350 |
% |
| 351 |
% |
| 352 |
penpos805(stem,60); z817=(x801r,0.824x_height); |
| 353 |
z806=(0.821[x801r,x803l],x_height); |
| 354 |
z805r=(x701r,y804); |
| 355 |
penpos806'(hair,angle(z806-z817)-90); |
| 356 |
z806'l=z806; z817'-z806'r=whatever*(z817-z806); |
| 357 |
x817'=x801r; z805.1=whatever[z817',z806'r]; |
| 358 |
z805.1-z805l=whatever*(z806-z805r); |
| 359 |
filldraw z805r--z806--z817--z817'--z805.1--z805l--z805r |
| 360 |
& cycle; |
| 361 |
% |
| 362 |
% |
| 363 |
% |
| 364 |
penpos802'(stem,0); z802'r=z817'; |
| 365 |
z831=whatever[z806,z805r]; x831=x801l; |
| 366 |
z830=whatever[z831,z805r]; |
| 367 |
z830-z802'l=whatever*(z802'r-z806'r); |
| 368 |
x834=x$; z834=whatever[z805.1,z805l]; |
| 369 |
z832=(x831-0.5hair,y831+hair); |
| 370 |
z833=(2(x832-x$),y834); z835=whatever[z802'l,z830]; |
| 371 |
z835=whatever[z834,z805.1]; |
| 372 |
penpos750(hair,angle(z830-z802'l)-90); |
| 373 |
z750l=0.5[z802'l,z830]; |
| 374 |
filldraw z802'r--z806'r--z806--z830 |
| 375 |
& flex(z830,z750r,z802'l) & z802'l--z802'r & cycle; |
| 376 |
penstroke z801e--z802'e; |
| 377 |
enddef; |
| 378 |
|
| 379 |
def ygoth_t (suffix $) = |
| 380 |
w':=4.389u; h':=1.242x_height; |
| 381 |
penpos501(stem,0); |
| 382 |
z501l=(x$+apex_o,foot); z502=(x501,x_height-foot); |
| 383 |
penpos502(stem,0); |
| 384 |
penstroke z501e--z502e; z501'=z501l-(apex_o,0); |
| 385 |
penpos505(hair,-60); |
| 386 |
z505r-z501'=whatever*dir-50; y505r=-apex_o; |
| 387 |
penpos506(hair,-60); z506-z505=whatever*dir30; |
| 388 |
y506=foot; penpos503(stem,50); |
| 389 |
z503l=z501'; z507-z503r=whatever*(z505r-z501'); |
| 390 |
z507=whatever[z505r,z506r]; |
| 391 |
filldraw z501'--z505r--z506r--z506l--z505l--z501' & |
| 392 |
cycle; |
| 393 |
filldraw z501'--z503r--z507--z505r--z501' & cycle; |
| 394 |
% |
| 395 |
% |
| 396 |
% |
| 397 |
penpos510(0.767stem,90); penpos521(hair,0); |
| 398 |
z510l=(x501r+stem,y502); z520=(x501l-0.5stem,y502); |
| 399 |
z522=(x501r,y510r); z521=(x501r,h'); |
| 400 |
filldraw z510l--z520--z521l--z521r..z522{down} |
| 401 |
& z522--z510r--z510l & cycle; |
| 402 |
enddef; |
| 403 |
|
| 404 |
def ygoth_u (suffix $) = |
| 405 |
w':=5.5u; |
| 406 |
penpos601(stem,0); penpos602(stem,0); |
| 407 |
penpos603(stem,0); penpos604(stem,0); |
| 408 |
x601l=x$+hair; |
| 409 |
x602=x601; x604l=x603l=x601r+1.233stem; |
| 410 |
y601=y603=foot; y602=y604=x_height-foot; |
| 411 |
penstroke z601e--z602e; |
| 412 |
penstroke z603e--z604e; |
| 413 |
podi(603); katwpodi(601); |
| 414 |
if not ligature: qeri(602); fi qeri(604); |
| 415 |
enddef; |
| 416 |
|
| 417 |
def ygoth_z (suffix $) = |
| 418 |
w':=4.306u; d':=3.333u; |
| 419 |
penpos701(hair,-40); penpos702(hair,-40); |
| 420 |
penpos703(hair,-40); penpos704(hair,-40); |
| 421 |
penpos705(1.1stem,50); penpos706(1.1stem,50); |
| 422 |
penpos707(1.3stem,50); penpos710(hair,-90); |
| 423 |
y701l=0.242x_height; |
| 424 |
x701l=x$-2apex_o; x702r=x$+w'+apex_o; y710r=-d'; |
| 425 |
z702r-z701r=whatever*dir50; |
| 426 |
penstroke z701e--z702e; |
| 427 |
z704r-z702r=whatever*dir150; |
| 428 |
y704l=x_height+apex_o; |
| 429 |
z704l-z703l=whatever*(z701-z702); |
| 430 |
x703l=x701l; z705=0.5[z703r,z704r]; |
| 431 |
z706r-z705r=whatever*(z702r-z704r); |
| 432 |
z706=whatever[z701l,z702l]; |
| 433 |
z707=whatever[z701r,z702r]; |
| 434 |
x707=1/3[x701l+2apex_o,x702r-apex_o]; |
| 435 |
z709=(x702r,0.163x_height); |
| 436 |
z708=(0.632[x701l+2apex_o,x702r-apex_o],0); |
| 437 |
x710=0.123[x701l+2apex_o,x702r-apex_o]; |
| 438 |
penstroke z703e--z704e; |
| 439 |
penstroke z706e--z705e; |
| 440 |
filldraw z710r{right}..z709{dir70} |
| 441 |
& z709..z707r{z702l-z702r} |
| 442 |
& z707r--z707l & z707l{z702r-z702l}..z708{down}.. |
| 443 |
z710l{left} & z710l--z710r & cycle; |
| 444 |
z711=(z707l{z702r-z702l}..z708{down}.. |
| 445 |
z710l{left}) intersectionpoint |
| 446 |
((x707,0)--z707); |
| 447 |
filldraw z711--z707--z701r & z701r{z707-z701r}.. |
| 448 |
{z701r-z701l}z711 & cycle; |
| 449 |
z712=whatever[z705l,z706l]; |
| 450 |
x712=x705; filldraw z712{z705l-z706l}..z703r{z703r-z704r} |
| 451 |
& z703r--z705--z712 & cycle; |
| 452 |
enddef; |