| 1 |
% +AMDG This document was begun on 15 August 2007, the |
| 2 |
% Feast of the Assumption of the Blessed Virgin Mary, and it |
| 3 |
% is humbly offered to her for her prayers, and to the |
| 4 |
% Sacred Heart of Jesus for His mercy. |
| 5 |
|
| 6 |
picture capo; |
| 7 |
picture capa; |
| 8 |
picture capl; |
| 9 |
picture capc; |
| 10 |
picture capd; |
| 11 |
picture cape; |
| 12 |
picture capg; |
| 13 |
picture capn; |
| 14 |
picture capu; |
| 15 |
picture capr; |
| 16 |
picture caps; |
| 17 |
picture capt; |
| 18 |
picture capy; |
| 19 |
picture capz; |
| 20 |
picture capi; |
| 21 |
|
| 22 |
def ulftbulb(suffix i,j,k,l,m) = |
| 23 |
z.j=z.i shifted (bulbsh,bulbsh); |
| 24 |
z.k=z.j shifted (bulbsh,-bulbsh); |
| 25 |
z.l=z.k shifted (-bulbsh,-bulbsh); |
| 26 |
enddef; |
| 27 |
|
| 28 |
%%%FFF Fix W, M, A from dependence on stroke widths FFF%%% |
| 29 |
|
| 30 |
%%%% Define Lower Right Serif on Caps %%%% |
| 31 |
|
| 32 |
def lrserif(suffix i,j,k,l,m)(expr strokewidth) = |
| 33 |
if strokewidth = 1: |
| 34 |
z.j=z.i+(lserw/3,-lserc/2); |
| 35 |
z.k=z.i+(lserw,-lserc); |
| 36 |
z.l=z.k-(0,lserstep); |
| 37 |
z.m=z.l-(lserw+thickstroke/2,0); |
| 38 |
elseif strokewidth = 2: |
| 39 |
z.j=z.i+(lserw/3,-lserc/2); |
| 40 |
z.k=z.i+(lserw+equalize/2,-lserc); |
| 41 |
z.l=z.k-(0,lserstep); |
| 42 |
z.m=z.l-(lserw+thickstroke/2,0); |
| 43 |
fi |
| 44 |
enddef; |
| 45 |
|
| 46 |
%%%% Define Lower Left Serif on Caps %%%% |
| 47 |
|
| 48 |
def llserif(suffix i,j,k,l,m)(expr strokewidth) = |
| 49 |
if strokewidth = 1: |
| 50 |
z.j=z.i-(lserw/3,lserc/2); |
| 51 |
z.k=z.i-(lserw,lserc); |
| 52 |
z.l=z.k-(0,lserstep); |
| 53 |
z.m=z.l+(lserw+thickstroke/2,0); |
| 54 |
elseif strokewidth = 2: |
| 55 |
z.j=z.i-(lserw/3,lserc/2); |
| 56 |
z.k=z.i-(lserw+equalize/2,lserc); |
| 57 |
z.l=z.k-(0,lserstep); |
| 58 |
z.m=z.l+(lserw+thickstroke/2,0); |
| 59 |
fi |
| 60 |
enddef; |
| 61 |
|
| 62 |
%%%% Define Upper Right Serif on Caps %%%% |
| 63 |
|
| 64 |
def urserif(suffix i,j,k,l,m)(expr strokewidth) = |
| 65 |
if strokewidth = 1: |
| 66 |
z.j=z.i+(userw/3,lserc/2); |
| 67 |
z.k=z.i+(userw,userc); |
| 68 |
z.l=z.k+(0,userstep); |
| 69 |
z.m=z.l-(userw+thickstroke/2,0); |
| 70 |
elseif strokewidth = 2: |
| 71 |
z.j=z.i+(userw/3,lserc/2); |
| 72 |
z.k=z.i+(userw+equalize/2,userc); |
| 73 |
z.l=z.k+(0,userstep); |
| 74 |
z.m=z.l-(userw+thickstroke/2,0); |
| 75 |
fi |
| 76 |
enddef; |
| 77 |
|
| 78 |
%%%% Define Upper Left Serif on Caps %%%% |
| 79 |
|
| 80 |
def ulserif(suffix i,j,k,l,m)(expr strokewidth) = |
| 81 |
if strokewidth = 1: |
| 82 |
z.j=z.i+(-userw/3,lserc/2); |
| 83 |
z.k=z.i+(-userw,userc); |
| 84 |
z.l=z.k+(0,userstep); |
| 85 |
z.m=z.l+(userw+thickstroke/2,0); |
| 86 |
elseif strokewidth = 2: |
| 87 |
z.j=z.i+(-userw/3,lserc/2); |
| 88 |
z.k=z.i+(-(userw+equalize/2),userc); |
| 89 |
z.l=z.k+(0,userstep); |
| 90 |
z.m=z.l+(userw+thickstroke/2,0); |
| 91 |
fi |
| 92 |
enddef; |
| 93 |
|
| 94 |
%%%% Define T Side Serifs on Caps %%%% |
| 95 |
|
| 96 |
def tlsideserif(suffix i,j,k,l,m) = |
| 97 |
z.j=z.i+(0,seriftail); |
| 98 |
z.k=z.j-((userh/2),0); |
| 99 |
z.l=z.k-(userh/2,1.5userw); |
| 100 |
z.m=z.l+(userh/2,0); |
| 101 |
enddef; |
| 102 |
|
| 103 |
def trsideserif(suffix i,j,k,l,m) = |
| 104 |
z.j=z.i+(0,seriftail); |
| 105 |
z.k=z.j+((userh/2),0); |
| 106 |
z.l=z.k+(userh/2,-1.5userw); |
| 107 |
z.m=z.l-(userh/2,0); |
| 108 |
enddef; |
| 109 |
|
| 110 |
%%%% Define C Side Serifs on Caps %%%% |
| 111 |
|
| 112 |
def ctsideserif(suffix i,j,k,l,m,n)(expr topbot) = |
| 113 |
z.j=z.i+(0,userw/2); |
| 114 |
z.k=z.j+(userh,0); |
| 115 |
z.l=z.k-(0,2userw); |
| 116 |
z.m=z.l-(userh,0); |
| 117 |
if topbot = 1: |
| 118 |
path topserif; topserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n; |
| 119 |
elseif topbot = 2: |
| 120 |
path botserif; botserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n; |
| 121 |
fi; |
| 122 |
enddef; |
| 123 |
|
| 124 |
def ctbackserif(suffix i,j,k,l,m,n)(expr topbot) = |
| 125 |
z.j=z.i+(0,userh/2); |
| 126 |
z.k=z.j-(userh,0); |
| 127 |
z.l=z.k+(0,-2userw); |
| 128 |
z.m=z.l+(userh,0); |
| 129 |
if topbot = 1: |
| 130 |
path toplftserif; toplftserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n; |
| 131 |
elseif topbot = 2: |
| 132 |
path botlftserif; botlftserif = z.i---z.j..tension 2..z.k---z.l..tension 2..z.m---z.n; |
| 133 |
fi; |
| 134 |
enddef; |
| 135 |
|
| 136 |
%%%% Define L, E, Z, and F side serifs on Caps %%%% |
| 137 |
|
| 138 |
def upsideserif(suffix i,j,k) = |
| 139 |
z.j=z.i+(ssslant,2lserw); |
| 140 |
z.k=z.j-(lserh,lserw); |
| 141 |
enddef; |
| 142 |
|
| 143 |
def downsideserif(suffix i,j,k) = |
| 144 |
z.j=z.i+(ssslant,-2lserw); |
| 145 |
z.k=z.j+(-lserh,lserw); |
| 146 |
enddef; |
| 147 |
|
| 148 |
def lftdownsideserif(suffix i,j,k) = |
| 149 |
z.j=z.i-(ssslant,2lserw); |
| 150 |
z.k=z.j+(lserh,lserw); |
| 151 |
enddef; |
| 152 |
|
| 153 |
beginchar("I",thickstroke#+2lserw#+2ss#,cap#,0); "The Letter I"; |
| 154 |
italcorr(ex#*slant); |
| 155 |
|
| 156 |
z1 = (ss+lserw,lserh); |
| 157 |
z2 = z1 shifted (thickstroke,0); |
| 158 |
z3 = (ss+userw,h-userh); |
| 159 |
z4 = z3 shifted (thickstroke,0); |
| 160 |
lrserif(2,9,10,11,25)(1); |
| 161 |
llserif(1,12,13,14,26)(1); |
| 162 |
urserif(4,15,16,17,27)(1); |
| 163 |
ulserif(3,18,19,20,28)(1); |
| 164 |
|
| 165 |
path capeye; capeye = z14--z11--z10..z9..z2--z4..z15..z16--z17--z20--z19.. |
| 166 |
z18..z3--z1..z12..z13--z14--cycle; |
| 167 |
fill capeye; |
| 168 |
|
| 169 |
capi := currentpicture; |
| 170 |
|
| 171 |
penlabels(1,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,25); |
| 172 |
|
| 173 |
endchar; |
| 174 |
|
| 175 |
beginchar("O",5em#/6+2ss#,cap#,0); "The Letter O"; |
| 176 |
italcorr(ex#*slant); |
| 177 |
|
| 178 |
z1=(ss,h/2); |
| 179 |
z2=(w/2,h+o); |
| 180 |
z3=(w-ss,h/2); |
| 181 |
z4=(w/2,0-o); |
| 182 |
z5=z1 shifted (curvwid,0); |
| 183 |
z6=z2 shifted (0,-thinstroke); |
| 184 |
z7=z3 shifted (-curvwid,0); |
| 185 |
z8=z4 shifted (0,thinstroke); |
| 186 |
|
| 187 |
path fillo; path unfillo; |
| 188 |
fillo = z4..z3..z2..z1..cycle; |
| 189 |
unfillo = z5..z6..z7..z8..cycle; |
| 190 |
fill fillo; |
| 191 |
unfill unfillo; |
| 192 |
|
| 193 |
capo := currentpicture; |
| 194 |
|
| 195 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17); |
| 196 |
|
| 197 |
endchar; |
| 198 |
|
| 199 |
beginchar("A",em#+2ss#,cap#,0); "The Letter A"; |
| 200 |
italcorr(ex#*slant); |
| 201 |
|
| 202 |
crossh = 1/phi; |
| 203 |
z1 = (ss+lserw,lserh); |
| 204 |
z2 = z1 shifted (thinstroke,0); |
| 205 |
z3 = (w-ss-lserw,lserh); |
| 206 |
z4 = z3 shifted (-thickstroke,0); |
| 207 |
z5 = (w/2+thickstroke/2,h+o); |
| 208 |
z6 = z5 shifted (-thickstroke,0) rotatedaround (z5,30); |
| 209 |
lrserif(3,7,8,9,10)(1); |
| 210 |
llserif(4,11,12,13,14)(1); |
| 211 |
lrserif(2,15,16,17,18)(1); |
| 212 |
llserif(1,19,20,21,22)(1); |
| 213 |
z23 = crossh[z6,z1]; |
| 214 |
z24 = z23 shifted (thinstroke,0); |
| 215 |
z25 = (w,y23); |
| 216 |
z26 = letaa[z23,z25]; |
| 217 |
z26 = letab[z3,z5]; |
| 218 |
z27 = z26 shifted (-thickstroke,0); |
| 219 |
z28 = 0.9[z27,z6]; |
| 220 |
z29 = 0.1[z27,z28]; |
| 221 |
z30 = 0.1[z24,z28]; |
| 222 |
|
| 223 |
fill z3--z5--z6--z1..z19..z20--z21--z17--z16..z15..z2 |
| 224 |
--z24--z27--z4..z11..z12--z13--z9--z8..z7..cycle; |
| 225 |
unfill z30--z28--z29--cycle; |
| 226 |
|
| 227 |
capa := currentpicture; |
| 228 |
|
| 229 |
penlabels(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); |
| 230 |
endchar; |
| 231 |
|
| 232 |
beginchar("H",em#+2ss#,cap#,0); "The Letter H"; |
| 233 |
italcorr(ex#*slant); |
| 234 |
|
| 235 |
z1 = (ss+lserw,lserh); |
| 236 |
z2 = z1 shifted (thickstroke,0); |
| 237 |
z3 = (ss+userw,h-userh); |
| 238 |
z4 = z3 shifted (thickstroke,0); |
| 239 |
z5 = (w-ss-lserw-thickstroke,lserh); |
| 240 |
z6 = z5 shifted (thickstroke,0); |
| 241 |
z7 = (w-ss-lserw-thickstroke,h-lserh); |
| 242 |
z8 = z7 shifted (thickstroke,0); |
| 243 |
z46=(0.5)[z4,z2]; |
| 244 |
z47=z46+(0,thinstroke/2); |
| 245 |
z48=z46-(0,thinstroke/2); |
| 246 |
z49=(0.5)[z7,z5]; |
| 247 |
z50=z49+(0,thinstroke/2); |
| 248 |
z51=z49-(0,thinstroke/2); |
| 249 |
lrserif(2,9,10,11,25)(1); |
| 250 |
llserif(1,12,13,14,26)(1); |
| 251 |
urserif(4,15,16,17,27)(1); |
| 252 |
ulserif(3,18,19,20,28)(1); |
| 253 |
lrserif(6,30,31,32,33)(1); |
| 254 |
llserif(5,34,35,36,37)(1); |
| 255 |
urserif(8,38,39,40,41)(1); |
| 256 |
ulserif(7,42,43,44,45)(1); |
| 257 |
|
| 258 |
path capeta; capeta = z36--z32--z31..z30..z6--z8..z38..z39--z40--z44-- |
| 259 |
z43..z42..z7--z50--z47--z4..z15..z16--z17--z20-- |
| 260 |
z19..z18..z3--z1..z12..z13--z14--z11--z10..z9..z2 |
| 261 |
--z48--z51--z5..z34..z35--cycle; |
| 262 |
fill capeta; |
| 263 |
|
| 264 |
picture caph; caph := currentpicture; |
| 265 |
|
| 266 |
penlabels(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); |
| 267 |
endchar; |
| 268 |
|
| 269 |
beginchar(oct"122",2em#/3+2ss#,cap#,0); "The Letter P"; |
| 270 |
italcorr(ex#*slant); |
| 271 |
|
| 272 |
z1 = (ss+lserw,lserh); |
| 273 |
z2 = z1 shifted (thickstroke,0); |
| 274 |
z3 = (ss+userw,h-userh); |
| 275 |
z4 = (x3 + thickstroke,h-thinstroke); |
| 276 |
z17=((ss+(thickstroke/2)+lserw),h); |
| 277 |
z18=(w/2,h); |
| 278 |
z19=(w/2,h-thinstroke); |
| 279 |
z20 = (w-ss,3h/4); |
| 280 |
z21 = z20 shifted (-curvwid,0); |
| 281 |
z22=(x18,h/2); |
| 282 |
z23=z22+(0,thinstroke); |
| 283 |
z30=(x4,0); |
| 284 |
z26 = z2 shifted (0,-lserh); |
| 285 |
z27 = z4 shifted (0,thinstroke); |
| 286 |
z24 = 0.5[z26,z27]; |
| 287 |
z25 = z24 shifted (0,thinstroke); |
| 288 |
llserif(1,5,6,7,8)(1); |
| 289 |
lrserif(2,13,14,15,16)(1); |
| 290 |
ulserif(3,9,10,11,12)(1); |
| 291 |
|
| 292 |
fill z18--z17--z12--z11--z10..z9..z3--z1..z5..z6-- |
| 293 |
z7--z8--z15--z14..z13..z2--z24..z22..z20..{left}z18..cycle; |
| 294 |
unfill z25{right}..{right}z23..z21..z19{left}..{left}z4--z25--cycle; |
| 295 |
|
| 296 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,2223,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); |
| 297 |
endchar; |
| 298 |
|
| 299 |
beginchar("B",3em#/4+2ss#,cap#,0); "The Letter B"; |
| 300 |
italcorr(ex#*slant); |
| 301 |
|
| 302 |
z1 = (ss+lserw,lserh); |
| 303 |
z2 = (x1+thickstroke,thinstroke); |
| 304 |
z3 = (ss+userw,h-userh); |
| 305 |
z4 = (x3+thickstroke,h-thinstroke); |
| 306 |
z30=(x4,0); |
| 307 |
z40 = z4 shifted (0,thinstroke); |
| 308 |
z25 = 0.5[z30,z40] shifted (0,thinstroke); |
| 309 |
z32 = z25 shifted (0,-thinstroke); |
| 310 |
z24 = 0.5[z25,z32]; |
| 311 |
z17=((ss+(thickstroke/2)+lserw),h); |
| 312 |
z18=(w/2,h); |
| 313 |
z19=(w/2,h-thinstroke); |
| 314 |
z20 = (w-ss-2o,3h/4); |
| 315 |
z21=z20-(curvwid,0); |
| 316 |
z23=z22+(0,thinstroke/2); |
| 317 |
z26 = z32 shifted (loopgap,0); |
| 318 |
z27 = (w-ss,h/4); |
| 319 |
z28=z27-(1.1curvwid,0); |
| 320 |
z29=(x18,0); |
| 321 |
z31=z29+(0,thinstroke); |
| 322 |
z33=z22-(0,thinstroke/2); |
| 323 |
z34 = z25 shifted (loopgap,0); |
| 324 |
z22 = 0.5[z34,z26]; |
| 325 |
llserif(1,5,6,7,8)(1); |
| 326 |
ulserif(3,9,10,11,12)(1); |
| 327 |
|
| 328 |
path stemtoploop; stemtoploop = z33{right}..{up}z20{up}..{left}z18{left}..z40--z11--z10..z9..z3--z1..z5..z6--z7--z29; |
| 329 |
path stembotloop; stembotloop = |
| 330 |
z30..{right}z29{right}..{up}z27{up}..{left}z34--z33; |
| 331 |
path topinncirc; topinncirc = z25{right}..{right}z23..{up}z21{up}..{left}z19{left}..{left}z4--z25..cycle; |
| 332 |
path botinncirc; botinncirc = z2..{right}z31{right}..{up}z28{up}..z33{left}..{left}z32--cycle; |
| 333 |
|
| 334 |
fill stembotloop & stemtoploop..cycle; |
| 335 |
unfill topinncirc; |
| 336 |
unfill botinncirc; |
| 337 |
|
| 338 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,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); |
| 339 |
endchar; |
| 340 |
|
| 341 |
beginchar("M",em#+2ss#,cap#,0); "The Letter M"; |
| 342 |
italcorr(ex#*slant); |
| 343 |
|
| 344 |
z1 = (ss+lserw,lserh); |
| 345 |
z2 = z1 shifted (thinstroke,0); |
| 346 |
z3 = (ss+userw,h-userh); |
| 347 |
z4 = z3 shifted (thinstroke,0); |
| 348 |
z5 = (w/2-thickstroke/3,0); |
| 349 |
z6 = (w-ss-lserw,lserh); |
| 350 |
z7 = z6 shifted (-thickstroke,0); |
| 351 |
z8 = (w-ss-userw,h-userh); |
| 352 |
z9 = z8 shifted (-thickstroke,0); |
| 353 |
z14 = z13 shifted (-2thickstroke/3,0); |
| 354 |
z23 = 0.22[z5,z9]; |
| 355 |
z28 = 0.1[z23,z29]; |
| 356 |
%z28 = z23 shifted (-thinstroke/2,thinstroke/2); |
| 357 |
z29=z27+(2curvwid/3,0); |
| 358 |
|
| 359 |
urserif(8,10,11,12,13)(1); |
| 360 |
lrserif(6,15,16,17,18)(1); |
| 361 |
llserif(7,19,20,21,22)(1); |
| 362 |
ulserif(3,24,25,26,27)(1); |
| 363 |
llserif(1,30,31,32,33)(2); |
| 364 |
lrserif(2,34,35,36,37)(2); |
| 365 |
|
| 366 |
path capem; capem = |
| 367 |
z5--z9--z7..z19..z20--z21--z17--z16..z15..z6--z8..z10..z11--z12--z14--z28--z29--z26--z25..z24..z3--z1..z30..z31--z32--z36--z35..z34..z2--z4--z5--cycle; |
| 368 |
fill capem; |
| 369 |
|
| 370 |
penlabels(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); |
| 371 |
|
| 372 |
endchar; |
| 373 |
|
| 374 |
beginchar("T",5em#/6+2ss#,cap#,0);"The Letter T"; |
| 375 |
italcorr(ex#*slant); |
| 376 |
|
| 377 |
seriftail=userw/5; |
| 378 |
|
| 379 |
z1=(ss+userh,h); |
| 380 |
z2=z1-(0,thinstroke); |
| 381 |
z3=(w-ss-userh,h); |
| 382 |
z4=z3-(0,thinstroke); |
| 383 |
z5=(w/2-thickstroke/2,y2); |
| 384 |
z6=(w/2+thickstroke/2,y2); |
| 385 |
z7=(x5,lserh); |
| 386 |
z8=z7+(thickstroke,0); |
| 387 |
|
| 388 |
llserif(7,9,10,11,12)(1); |
| 389 |
lrserif(8,13,14,15,16)(1); |
| 390 |
tlsideserif(1,17,18,19,20); |
| 391 |
trsideserif(3,21,22,23,24); |
| 392 |
|
| 393 |
pickup cappen; |
| 394 |
|
| 395 |
path tpath; |
| 396 |
tpath = z7..z9..z10--z11--z15--z14..z13..z8--z6--z4---{down}z24..z23..tension 2..{up}z22{left}..{left}z21{down}..z3--z1..z17{left}..{left}z18{down}..tension 2..z19..z20{up}---z2--z5--z7--cycle; |
| 397 |
fill tpath; |
| 398 |
|
| 399 |
capt := currentpicture; |
| 400 |
|
| 401 |
penlabels(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); |
| 402 |
|
| 403 |
endchar; |
| 404 |
|
| 405 |
beginchar("N",5em#/6+2ss#,cap#,0); "The Letter N"; |
| 406 |
italcorr(ex#*slant); |
| 407 |
|
| 408 |
z1 = (ss+userw,h-userh); |
| 409 |
z2=z1+(thinstroke,-0.3thickstroke); |
| 410 |
z3 = (ss+lserw,lserh); |
| 411 |
z4=z3+(thinstroke,0); |
| 412 |
z5=(w-ss-userw,h-userh); |
| 413 |
z6=z5-(thinstroke,0); |
| 414 |
z7=(w-ss-userw,-o); |
| 415 |
z28=z7+(-thinstroke,2.5thickstroke); |
| 416 |
z29=z27+(thickstroke/2,0); |
| 417 |
|
| 418 |
llserif(3,8,9,10,11)(1); |
| 419 |
lrserif(4,12,13,14,15)(1); |
| 420 |
ulserif(6,16,17,18,19)(1); |
| 421 |
urserif(5,20,21,22,23)(1); |
| 422 |
ulserif(1,24,25,26,27)(1); |
| 423 |
|
| 424 |
fill z7--z5..z20..z21--z22--z18--z17..z16..z6--z28--z29--z27--z26--z25..z24..z1--z3..z8..z9--z10--z14--z13..z12..z4--z2--z7--cycle; |
| 425 |
|
| 426 |
capn := currentpicture; |
| 427 |
|
| 428 |
penlabels(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); |
| 429 |
endchar; |
| 430 |
|
| 431 |
beginchar("L",5em#/6+2ss#,cap#,0); "The Letter L"; |
| 432 |
italcorr(ex#*slant); |
| 433 |
|
| 434 |
z1 = (ss+lserw,lserh); |
| 435 |
z2 = (x1+thickstroke,thinstroke); |
| 436 |
z3 = (ss+userw,h-userh); |
| 437 |
z4 = z3 shifted (thickstroke,0); |
| 438 |
z5=(x4,thinstroke); |
| 439 |
z6=(w-ss-ssslant,0); |
| 440 |
z30=z6+(-thickstroke,thinstroke); |
| 441 |
upsideserif(6,7,29); |
| 442 |
|
| 443 |
llserif(1,12,13,14,26)(1); |
| 444 |
urserif(4,15,16,17,27)(1); |
| 445 |
ulserif(3,18,19,20,28)(1); |
| 446 |
|
| 447 |
%pickup pencircle scaled 2; |
| 448 |
%draw z5--z4..z16..z16--z17--z20--z19..z18..z3--z1..z12..z13--z14--z6--z7..z29..z30--z5--cycle; |
| 449 |
path capell; capell = z5--z4..z16..z16--z17--z20--z19..z18..z3--z1..z12..z13--z14--z6--z7..z29..z30--z5--cycle; |
| 450 |
fill capell; |
| 451 |
|
| 452 |
capl := currentpicture; |
| 453 |
|
| 454 |
penlabels(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); |
| 455 |
endchar; |
| 456 |
|
| 457 |
beginchar("E",5em#/6+2ss#,cap#,0); "The Letter E"; |
| 458 |
italcorr(ex#*slant); |
| 459 |
|
| 460 |
z1 = (ss+lserw,lserh); |
| 461 |
z2 = z1 shifted (thickstroke,0); |
| 462 |
z3 = (ss+lserw,h-lserh); |
| 463 |
z4 = (x3+thickstroke,h-thinstroke); |
| 464 |
z5=(x4,thinstroke); |
| 465 |
z6=(w-ss-ssslant,0); |
| 466 |
z30=z6+(-thickstroke,thinstroke); |
| 467 |
z8=(x6,h); |
| 468 |
z9=(x30,h-thinstroke); |
| 469 |
upsideserif(6,7,29); |
| 470 |
downsideserif(8,10,11); |
| 471 |
z15=.5[z4,z5]; |
| 472 |
z16=z15+(0,thinstroke/2); |
| 473 |
z17=z16-(0,thinstroke); |
| 474 |
z21=(w/2,y16); |
| 475 |
z22=(w/2,y17); |
| 476 |
z23=z21+(1.5ssslant,lserw/2); |
| 477 |
z24=z23+(ssslant,lserw); |
| 478 |
z25=z22+(1.5ssslant,-lserw/2); |
| 479 |
z27=z25+(ssslant,-lserw); |
| 480 |
|
| 481 |
draw z21--z24; |
| 482 |
|
| 483 |
llserif(1,12,13,14,26)(1); |
| 484 |
ulserif(3,18,19,20,28)(1); |
| 485 |
|
| 486 |
fill |
| 487 |
z1--z3..z18..z19--z20--z8--z10---z11..{left}z9--z4--z16--z21..z23..z24--z27..z25..z22--z17--z5--z30{right}..z29---z7--z6--z14--z13..z12..z1..cycle; |
| 488 |
|
| 489 |
cape := currentpicture; |
| 490 |
|
| 491 |
penlabels(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); |
| 492 |
endchar; |
| 493 |
|
| 494 |
beginchar("K",5em#/6+2ss#,cap#,0); "The Letter K"; |
| 495 |
italcorr(ex#*slant); |
| 496 |
|
| 497 |
z1 = (ss+lserw,lserh); |
| 498 |
z2 = z1 shifted (thickstroke,0); |
| 499 |
z3 = (ss+userw,h-userh); |
| 500 |
z4 = z3 shifted (thickstroke,0); |
| 501 |
z17=z3 shifted (thickstrike,0); |
| 502 |
z22=z2 shifted (0,h/2+thinstroke-lserh); |
| 503 |
z23=z2 shifted (0,h/2-lserh); |
| 504 |
z24=(w-userw-ss,h); |
| 505 |
z25=z24 shifted (-thinstroke/2-thinstroke,-userh); |
| 506 |
z30=z25 shifted (thinstroke,0); |
| 507 |
z35=0.08[z23,z30]; |
| 508 |
z46=0.28[z23,z30]; |
| 509 |
z37 = (w-ss-lserw,lserh); |
| 510 |
z36 = z37 shifted (-thickstroke,0); |
| 511 |
|
| 512 |
llserif(1,5,6,7,8)(1); |
| 513 |
lrserif(2,13,14,15,16)(1); |
| 514 |
ulserif(3,9,10,11,12)(1); |
| 515 |
urserif(4,18,19,20,21)(1); |
| 516 |
ulserif(25,26,27,28,29)(1); |
| 517 |
urserif(30,31,32,33,34)(1); |
| 518 |
lrserif(37,38,39,40,41)(1); |
| 519 |
llserif(36,42,43,44,45)(1); |
| 520 |
|
| 521 |
fill |
| 522 |
z1..z5..z6--z7--z16--z15--z14..z13..z2--z23--z35--z36..z42..z43--z44--z40--z39..z38..z37--z46--z23--z30..z31..z32--z33--z28--z27..z26..z25--z22--z4..z18..z19--z20--z21--z11--z10..z9..z3--z1--cycle; |
| 523 |
|
| 524 |
penlabels(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); |
| 525 |
endchar; |
| 526 |
|
| 527 |
beginchar("Y",5em#/6+2ss#,cap#,0); "The Letter Y"; |
| 528 |
italcorr(ex#*slant); |
| 529 |
|
| 530 |
z0 = (w/2-thickstroke/2,h/2); |
| 531 |
z1 = (w/2+thickstroke/2,h/2); |
| 532 |
z2 = (ss+userw,h-userh); |
| 533 |
z3 = z2 shifted (thickstroke,0); |
| 534 |
z4 = (w-ss-userw,h-userh); |
| 535 |
z5 = z4 shifted (-thinstroke,0); |
| 536 |
z6 = (w/2-thickstroke/2,lserh); |
| 537 |
z7 = (w/2+thickstroke/2,lserh); |
| 538 |
z8 = 0.8[z0,z1] shifted (0,lserh/2); |
| 539 |
|
| 540 |
lrserif(7,14,15,16,17)(1); |
| 541 |
llserif(6,10,11,12,13)(1); |
| 542 |
ulserif(2,18,19,20,21)(1); |
| 543 |
urserif(3,22,23,24,25)(1); |
| 544 |
ulserif(5,26,27,28,29)(1); |
| 545 |
urserif(4,30,31,32,33)(1); |
| 546 |
|
| 547 |
penlabels(0,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); |
| 548 |
|
| 549 |
path capwhy; |
| 550 |
capwhy = z0--z6..z10..z11--z12--z16--z15..z14..z7--z1--z4..z30..z31--z32--z24--z28--z27..z26..z5--z8--z3..z22..z23--z24--z20--z19..z18..z2--z0--cycle; |
| 551 |
fill capwhy; |
| 552 |
|
| 553 |
capy := currentpicture; |
| 554 |
|
| 555 |
endchar; |
| 556 |
|
| 557 |
beginchar("Z",5em#/6+2ss#,cap#,0); "The Letter Z"; |
| 558 |
italcorr(ex#*slant); |
| 559 |
|
| 560 |
z0 = (ss+ssslant,h); |
| 561 |
z1 = (w-ss,h); |
| 562 |
z3 = (ss,0); |
| 563 |
z4 = (w-ss-ssslant,0); |
| 564 |
z9 = z0 shifted (lserw,-thinstroke); |
| 565 |
z10 = z1 shifted (-1.2curvwid,-thinstroke); |
| 566 |
z11 = z3 shifted (1.2curvwid,thinstroke); |
| 567 |
z12 = z4 shifted (-lserw,thinstroke); |
| 568 |
|
| 569 |
lftdownsideserif(0,5,6); |
| 570 |
upsideserif(4,7,8); |
| 571 |
|
| 572 |
fill z1--z0--z5..z6..z9--z10--z3--z4--z7..z8..z12--z11--z1--cycle; |
| 573 |
|
| 574 |
capz := currentpicture; |
| 575 |
|
| 576 |
penlabels(0,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); |
| 577 |
endchar; |
| 578 |
|
| 579 |
beginchar(oct"121",5em#/6+2ss#,cap#,0); "The Letter X"; |
| 580 |
italcorr(ex#*slant); |
| 581 |
|
| 582 |
z0 = (w/2,h/2); |
| 583 |
z1 = (ss+userw,h-userh); |
| 584 |
z2 = (w-ss-userw,h-userh); |
| 585 |
z3 = (ss+lserw,lserh); |
| 586 |
z4 = (w-ss-lserw,lserh); |
| 587 |
z5 = z1 shifted (slantwid,0); |
| 588 |
z6 = z4 shifted (-slantwid,0); |
| 589 |
z7 = z2 shifted (-thinstroke,0); |
| 590 |
z8 = z3 shifted (thinstroke,0); |
| 591 |
z41 = aa[z1,z6]; |
| 592 |
z41 = ab[z7,z3]; |
| 593 |
z42 = ac[z5,z4]; |
| 594 |
z42 = ad[z7,z3]; |
| 595 |
z43 = ae[z8,z2]; |
| 596 |
z43 = af[z6,z1]; |
| 597 |
z44 = ag[z8,z2]; |
| 598 |
z44 = ah[z5,z4]; |
| 599 |
|
| 600 |
ulserif(1,9,10,11,12)(1); |
| 601 |
urserif(5,13,14,15,16)(1); |
| 602 |
ulserif(7,17,18,19,20)(1); |
| 603 |
urserif(2,21,22,23,24)(1); |
| 604 |
llserif(3,25,26,27,28)(1); |
| 605 |
lrserif(8,29,30,31,32)(1); |
| 606 |
llserif(6,33,34,35,36)(1); |
| 607 |
lrserif(4,37,38,39,40)(1); |
| 608 |
|
| 609 |
path capchi; capchi = |
| 610 |
z1--z41--z3..z25..z26--z27--z31--z30..z29..z8--z43--z6..z33..z34--z35--z39--z38..z37..z4--z44--z2..z21..z22--z23--z19--z18..z17..z7--z42--z5..z13..z14--z15--z11--z10..z9..z1--cycle; |
| 611 |
fill capchi; |
| 612 |
|
| 613 |
penlabels(0,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); |
| 614 |
endchar; |
| 615 |
|
| 616 |
beginchar(oct"026",7em#/6+2ss#,cap#,0); "OT ligature"; |
| 617 |
italcorr(ex#*slant); |
| 618 |
|
| 619 |
z1=(ss+3em/6+userh,h); |
| 620 |
z2=z1-(0,thinstroke); |
| 621 |
z3=(w-ss-userh,h); |
| 622 |
z4=z3-(0,thinstroke); |
| 623 |
z5=(4.5em/6-thickstroke/2,y2); |
| 624 |
z6=(4.5em/6+thickstroke/2,y2); |
| 625 |
z7=(x5,lserh); |
| 626 |
z8=z7+(thickstroke,0); |
| 627 |
z25 = (x5,h); |
| 628 |
z50 = (x7,0); |
| 629 |
|
| 630 |
llserif(7,9,10,11,12)(1); |
| 631 |
lrserif(8,13,14,15,16)(1); |
| 632 |
tlsideserif(1,17,18,19,20); |
| 633 |
trsideserif(3,21,22,23,24); |
| 634 |
|
| 635 |
path halftpath; |
| 636 |
halftpath = z50--z15--z14..z13..z8--z6--z4---{down}z24..z23..tension 2..{up}z22{left}..{left}z21{down}..z3--z25--cycle; |
| 637 |
fill halftpath; |
| 638 |
|
| 639 |
z31=(ss,h/2); |
| 640 |
z32=((ss+x6)/2,h); |
| 641 |
z33=(x5+thickstroke,h/2); |
| 642 |
z34=((ss+x6)/2,0-o); |
| 643 |
z35=z31 shifted (curvwid,0); |
| 644 |
z36=z32 shifted (0,-thinstroke); |
| 645 |
z37=z33 shifted (-curvwid,0); |
| 646 |
z38=z34 shifted (0,thinstroke); |
| 647 |
|
| 648 |
path fillot; path unfillot; |
| 649 |
fillot = z34..{up}z33---z6--z25---z32..z31..cycle; |
| 650 |
unfillot = z38..{up}z37---z5---z36..z35..cycle; |
| 651 |
fill fillot; |
| 652 |
unfill unfillot; |
| 653 |
|
| 654 |
fill z25--z32--z36--z5--cycle; |
| 655 |
|
| 656 |
penlabels(0,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); |
| 657 |
endchar; |
| 658 |
|
| 659 |
beginchar(oct"027",2ss#+2thinstroke#+thickstroke#+6lserw#+2hair#,cap#,0); |
| 660 |
"Three lines down, straight"; |
| 661 |
italcorr(ex#*slant); |
| 662 |
|
| 663 |
z0 = (ss+lserw,lserh); |
| 664 |
z1 = z0 shifted (thinstroke,0); |
| 665 |
z2 = (x1+2lserw+hair,lserh); |
| 666 |
z3 = z2 shifted (thinstroke,0); |
| 667 |
z4 = (w-ss-lserw,lserh); |
| 668 |
z5 = z4 shifted (-thickstroke,0); |
| 669 |
llserif(0,6,7,8,9)(1); |
| 670 |
lrserif(1,10,11,12,13)(1); |
| 671 |
llserif(2,14,15,16,17)(1); |
| 672 |
lrserif(3,18,19,20,21)(1); |
| 673 |
llserif(5,22,23,24,25)(1); |
| 674 |
lrserif(4,26,27,28,29)(1); |
| 675 |
z30 = (ss,h+o); |
| 676 |
z31 = z30 shifted (0,-thickstroke); |
| 677 |
z32 = z4 rotatedaround (z3,70); |
| 678 |
z33 = z5 rotatedaround (z2,70); |
| 679 |
z34 = z4 rotatedaround (z1,70); |
| 680 |
z35 = z5 rotatedaround (z0,70); |
| 681 |
z36 = (z0--z35) intersectionpoint (z5--z31); |
| 682 |
z37 = (z1--z34) intersectionpoint (z5--z31); |
| 683 |
z38 = (z2--z33) intersectionpoint (z5--z31); |
| 684 |
z39 = (z3--z32) intersectionpoint (z5--z31); |
| 685 |
|
| 686 |
fill |
| 687 |
z0..z6..z7--z8--z12--z11..z10..z1--z37--z38--z2..z14..z15--z16--z20--z19..z18..z3--z39--z5..z22..z23--z24--z28--z27..z26..z4--z30--z31--z36--cycle; |
| 688 |
|
| 689 |
penlabels(0,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); |
| 690 |
endchar; |
| 691 |
|
| 692 |
beginchar(oct"030",5em#/6+2ss#,cap#,0); "The Euro sign"; |
| 693 |
|
| 694 |
z1 = (ss+lserw,lserh); |
| 695 |
z2 = z1 shifted (thickstroke,0); |
| 696 |
z3 = (ss+lserw,h-lserh); |
| 697 |
z4 = (x3+thickstroke,h-thinstroke); |
| 698 |
z5=(x4,thinstroke); |
| 699 |
z6=(w-ss-ssslant,0); |
| 700 |
z30=z6+(-thickstroke,thinstroke); |
| 701 |
z8=(x6,h); |
| 702 |
z9=(x30,h-thinstroke); |
| 703 |
upsideserif(6,7,29); |
| 704 |
downsideserif(8,10,11); |
| 705 |
|
| 706 |
llserif(1,12,13,14,26)(1); |
| 707 |
ulserif(3,18,19,20,28)(1); |
| 708 |
|
| 709 |
y14 := y26 := y6 := 0; |
| 710 |
y20 := y28 := y8 := h; |
| 711 |
|
| 712 |
fill |
| 713 |
z1--z3..z18..z19--z20--z8--z10---z11..{left}z9--z4--z5--z30{right}..z29---z7--z6--z14--z13..z12..z1..cycle; |
| 714 |
|
| 715 |
pickup pencircle scaled 1.5thinstroke; |
| 716 |
lft z40 = (ss,0.35h); |
| 717 |
lft z41 = (ss,0.6h); |
| 718 |
rt z42 = (2w/3,0.35h); |
| 719 |
rt z43 = (5w/6,0.6h); |
| 720 |
draw z40--z42; draw z41--z43; |
| 721 |
|
| 722 |
penlabels(0,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); |
| 723 |
endchar; |
| 724 |
|
| 725 |
beginchar(oct"303",5em#/6+2ss#,cap#,0); "Digamma"; |
| 726 |
italcorr(ex#*slant); |
| 727 |
|
| 728 |
z1 = (ss+lserw,lserh); |
| 729 |
z2 = z1 shifted (thickstroke,0); |
| 730 |
z3 = (ss+userw,h-userh); |
| 731 |
z4 = (x3+thickstroke,h-thinstroke); |
| 732 |
z5=(x4,lserh); |
| 733 |
z6=(w-ss-ssslant,0); |
| 734 |
z30=z6+(-thickstroke,thinstroke); |
| 735 |
z8=(x6,h); |
| 736 |
z9=(x30,h-thinstroke); |
| 737 |
upsideserif(6,7,29); |
| 738 |
downsideserif(8,10,11); |
| 739 |
z15=.5[z4,z5]; |
| 740 |
z16=z15+(0,thinstroke/2); |
| 741 |
z17=z16-(0,thinstroke); |
| 742 |
z21=(w/2,y16); |
| 743 |
z22=(w/2,y17); |
| 744 |
z23=z21+(1.5ssslant,lserw/2); |
| 745 |
z24=z23+(ssslant,lserw); |
| 746 |
z25=z22+(1.5ssslant,-lserw/2); |
| 747 |
z27=z25+(ssslant,-lserw); |
| 748 |
|
| 749 |
draw z21--z24; |
| 750 |
|
| 751 |
llserif(1,12,13,14,26)(1); |
| 752 |
lrserif(5,31,32,33,34)(1); |
| 753 |
ulserif(3,18,19,20,28)(1); |
| 754 |
|
| 755 |
fill z5--z17--z22..z25..z27--z24..z23..z21--z16--z4--z9..z11..z10--z8--z20--z19..z18..z3--z1..z12..z13--z14--z33--z32..z31..z5..cycle; |
| 756 |
|
| 757 |
penlabels(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); |
| 758 |
|
| 759 |
endchar; |