| 1 |
%% |
| 2 |
%% This is file `unclu.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% uncial.dtx (with options: `maj') |
| 8 |
%% |
| 9 |
%% Copyright 1999 Peter R. Wilson |
| 10 |
%% |
| 11 |
%% This program is provided under the terms of the |
| 12 |
%% LaTeX Project Public License distributed from CTAN |
| 13 |
%% archives in directory macros/latex/base/lppl.txt. |
| 14 |
%% |
| 15 |
%% Author: Peter Wilson (CUA) |
| 16 |
%% now at: [email protected] |
| 17 |
%% |
| 18 |
|
| 19 |
cmchar "Uncial letter A"; |
| 20 |
beginchar("A", 2u#+caprat*hstretch*(x_height#+jut#), caprat*x_height#, 0); |
| 21 |
adjust_fit(0,0); |
| 22 |
pcshiftx := u; |
| 23 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 24 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 25 |
pickup quill; |
| 26 |
lft x1=pcshiftx+sqxside/3; rt x2=lft x1+2/3sqxside; |
| 27 |
y1=h; y2=0; |
| 28 |
z3=3/4[z2,z1]; |
| 29 |
z5=3/16[z2,z1]; |
| 30 |
y4=1/10[y5,y3]; |
| 31 |
lft x4=pcshiftx; |
| 32 |
%%ductus:=true; |
| 33 |
if ductus: |
| 34 |
pickup stylus; |
| 35 |
fi |
| 36 |
draw_istem(1,2,srad); % the stem |
| 37 |
draw z3{-pdir}..z4{down}..{pdir}z5; |
| 38 |
ductus:=false; |
| 39 |
proofpcbb(100, y100, y100); |
| 40 |
penlabels(1,2,3,4,5,100); |
| 41 |
endchar; % end "A" |
| 42 |
|
| 43 |
cmchar "Uncial letter B"; |
| 44 |
beginchar("B", 2u#+caprat*hstretch*(x_height#+jut#), caprat*x_height#, 0); |
| 45 |
adjust_fit(0,0); |
| 46 |
pcshiftx := u+jut; |
| 47 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 48 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 49 |
pair uncial; uncial=(qhor,0.5qvert); |
| 50 |
pickup quill; |
| 51 |
lft x1=lft x2=pcshiftx; |
| 52 |
top y1=h; y2=h/4; |
| 53 |
x3=pcshiftx+sqxside/2; bot y3=0; |
| 54 |
rt x4=pcshiftx+sqxside; y4=0.3h; |
| 55 |
lft x5=x1; bot y5=h/2; |
| 56 |
z5'=z5 + thick*uncial; |
| 57 |
x6=x4-thick; y6=0.85h; |
| 58 |
x7=x1; y7=0.9h; |
| 59 |
%%ductus:=true; |
| 60 |
if ductus: |
| 61 |
pickup stylus; |
| 62 |
fi |
| 63 |
draw_tlserif(1,2,srad); % the stem |
| 64 |
draw z2{down}..z3{right}..z4{up}..{-uncial}z5'--z5; % bottom bowl |
| 65 |
draw z5--z5'{uncial}..z6{up}..{-pdir}z7; % top bowl |
| 66 |
ductus:=false; |
| 67 |
proofpcbb(100, y100, y100); |
| 68 |
penlabels(1,2,3,4,5,5',6,7,8,100); |
| 69 |
endchar; % end "B" |
| 70 |
|
| 71 |
cmchar "Uncial letter C"; |
| 72 |
beginchar("C", u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 73 |
adjust_fit(0,0); |
| 74 |
pcshiftx := u/2; |
| 75 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 76 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 77 |
pickup quill; |
| 78 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 79 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 80 |
x5=x6=x3; |
| 81 |
y5=0.2h; |
| 82 |
y6=0.75h; |
| 83 |
%%ductus:=true; |
| 84 |
if ductus: |
| 85 |
pickup stylus; |
| 86 |
fi |
| 87 |
draw z5{-pdir}..{left}z4..z1..z2..z6; |
| 88 |
ductus:=false; |
| 89 |
proofpcbb(100, y100, y100); |
| 90 |
penlabels(1,2,3,4,5,6,100); |
| 91 |
endchar; % end "C" |
| 92 |
|
| 93 |
cmchar "Uncial letter D"; |
| 94 |
beginchar("D", 2u#+caprat*hstretch*(x_height#), caprat*(5/4x_height#), 0); |
| 95 |
adjust_fit(0,0); |
| 96 |
pcshiftx := u; |
| 97 |
sqyside:=4/5h; sqxside:=hstretch*sqyside; |
| 98 |
y100 = side/2; x100 = pcshiftx+y100; % square center |
| 99 |
pickup quill; |
| 100 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=sqyside/2; |
| 101 |
x2=x4=w/2; top y2=sqyside; bot y4=0; |
| 102 |
x5=x6=x3; |
| 103 |
y5=0.2h; |
| 104 |
y6=0.75h; |
| 105 |
rt x0=pcshiftx+0.5sqxside; top y0=sqyside; |
| 106 |
lft x7=pcshiftx+0.5sqxside; |
| 107 |
bot y7=sqyside; |
| 108 |
lft x8=pcshiftx; y8=y7+thick; |
| 109 |
%%ductus:=true; |
| 110 |
if ductus: |
| 111 |
pickup stylus; |
| 112 |
fi |
| 113 |
draw z0{-pdir}..z1{down}..z4{right}..z3{up}..z7..z8; |
| 114 |
ductus:=false; |
| 115 |
proofpcbb(100, y100, y100); |
| 116 |
penlabels(0,1,2,3,4,5,6,7,8,100); |
| 117 |
endchar; % end "D" |
| 118 |
|
| 119 |
cmchar "Uncial letter E"; |
| 120 |
beginchar("E", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 121 |
adjust_fit(0,0); |
| 122 |
pcshiftx := u; |
| 123 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 124 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 125 |
pickup quill; |
| 126 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 127 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 128 |
x5=x6=x3; |
| 129 |
y5=0.2h; |
| 130 |
y6=0.75h; |
| 131 |
x7=x1; y7=y1; |
| 132 |
%%x8=x7+side+0.5thick; y8=y7; |
| 133 |
x8=w-pcshiftx; y8=y7; |
| 134 |
x10=x7; y10=y7+3thin; |
| 135 |
numeric alpha; alpha:=0.5; % dishing |
| 136 |
x9=0.5[x8,x10]; y9=(0.5alpha)[y8,y10]; |
| 137 |
%%ductus:=true; |
| 138 |
if ductus: |
| 139 |
pickup stylus; |
| 140 |
fi |
| 141 |
draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl |
| 142 |
pickup stylus; |
| 143 |
filldraw z7--z8..z9..z10--cycle; % the bar |
| 144 |
ductus:=false; |
| 145 |
proofpcbb(100, y100, y100); |
| 146 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 147 |
endchar; % end "E" |
| 148 |
|
| 149 |
cmchar "Uncial letter F"; |
| 150 |
beginchar("F", 2u#+caprat*hstretch*(jut#+x_height#), caprat*x_height#, |
| 151 |
caprat*(2/3x_height#)); |
| 152 |
adjust_fit(0,0); |
| 153 |
pcshiftx := u+jut; |
| 154 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 155 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 156 |
pickup quill; |
| 157 |
lft x1=lft x2=pcshiftx; |
| 158 |
top y1=h; bot y2=-d/2; |
| 159 |
x3=x4=x1; y3=h-thick; y4=0; |
| 160 |
numeric rise, fall, fjut; |
| 161 |
rise:=thick; fall:=0; fjut:=2/3sqxside; |
| 162 |
%%ductus:=true; |
| 163 |
draw_jstem(1,2,srad,d/2,d/2); |
| 164 |
draw_flick(3,rise,fall,fjut); |
| 165 |
draw_flick(4,rise,fall,fjut); |
| 166 |
ductus:=false; |
| 167 |
proofpcbb(100, y100, y100); |
| 168 |
penlabels(1,2,3,4,100); |
| 169 |
endchar; % end "F" |
| 170 |
|
| 171 |
cmchar "Uncial letter G"; |
| 172 |
beginchar("G", u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 173 |
adjust_fit(0,0); |
| 174 |
pcshiftx := u/2; |
| 175 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 176 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 177 |
pickup quill; |
| 178 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 179 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 180 |
x5=x6=x3; |
| 181 |
y5=0.2h; |
| 182 |
y6=0.75h; |
| 183 |
lft x7=x5-thick; bot y7=y5-3thick; |
| 184 |
%%ductus:=true; |
| 185 |
if ductus: |
| 186 |
pickup stylus; |
| 187 |
fi |
| 188 |
draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl |
| 189 |
draw z5{down}..{-pdir}z7; % the stem |
| 190 |
ductus:=false; |
| 191 |
proofpcbb(100, y100, y100); |
| 192 |
penlabels(1,2,3,4,5,6,7,100); |
| 193 |
endchar; % end "G" |
| 194 |
|
| 195 |
cmchar "Uncial letter H"; |
| 196 |
beginchar("H", 2u#+caprat*hstretch*(jut#+thick#+x_height#), caprat*asc_height#, 0); |
| 197 |
adjust_fit(0,0); |
| 198 |
pcshiftx := u+jut; |
| 199 |
sqyside:=h/2; % asc_height is 2x_height !!! |
| 200 |
sqxside:=hstretch*sqyside; |
| 201 |
y100 = sqyside/2; x100 = pcshiftx+y100; % square center |
| 202 |
pickup quill; |
| 203 |
lft x1=lft x2=pcshiftx; |
| 204 |
top y1=h; bot y2=0; |
| 205 |
x99=w/2; y99=sqyside/2; |
| 206 |
y3=y5=y99; |
| 207 |
lft x3= pcshiftx; |
| 208 |
%%rt x5=x99+w-pcshiftx; |
| 209 |
x5 = x99 + (x99-x3); |
| 210 |
x4=x6=x99; top y4=sqyside; bot y6 =0; |
| 211 |
path pcirc; pcirc=z6..z5..z4..z3..cycle; |
| 212 |
x1'=x2'=x1+0.5thick; y1'=h; y2'=0; |
| 213 |
z7' = (z1'--z2') intersectionpoint (subpath(2,3) of pcirc); |
| 214 |
x7=x1; y7=y7'; |
| 215 |
z99'=z99 - 500ppdir; |
| 216 |
z8' = (z99--z99') intersectionpoint subpath(0,1) of pcirc; |
| 217 |
x8=x8'; bot y8=0; |
| 218 |
%%ductus:=true; |
| 219 |
if ductus: |
| 220 |
pickup stylus; |
| 221 |
draw z1'--z2'; draw z99--z99'; draw pcirc; |
| 222 |
fi |
| 223 |
draw_istem(1,2,srad); |
| 224 |
draw z7{pdir}..z4{right}..z5{down}..{-pdir}z8; |
| 225 |
ductus:=false; |
| 226 |
proofpcbb(100, y100, y100); |
| 227 |
penlabels(1,1',2,2',3,4,5,6,7,7',8,8',99,99',100); |
| 228 |
endchar; % end "H" |
| 229 |
|
| 230 |
cmchar "Uncial letter I"; |
| 231 |
beginchar("I", 2u#+hstretch*(thick#+2jut#), caprat*x_height#, 0); |
| 232 |
adjust_fit(0,0); |
| 233 |
pcshiftx := u+jut; |
| 234 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 235 |
pickup quill; |
| 236 |
x1=x2=w/2; |
| 237 |
top y1=h; bot y2=0; |
| 238 |
%%ductus:=true; |
| 239 |
draw_istem(1,2,srad); |
| 240 |
ductus:=false; |
| 241 |
proofpcbb(100, y100, y100); |
| 242 |
penlabels(1,2,100); |
| 243 |
endchar; % end "I" |
| 244 |
|
| 245 |
cmchar "Uncial letter J"; |
| 246 |
beginchar("J", 2u#+caprat*hstretch*(thick#+2jut#), caprat*x_height#, |
| 247 |
caprat*desc_depth#); |
| 248 |
adjust_fit(0,0); |
| 249 |
pcshiftx := u+jut; |
| 250 |
sqyside:=h; sqxside:=sqyside; |
| 251 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 252 |
pickup quill; |
| 253 |
x1=x2=w/2; |
| 254 |
top y1=h; bot y2=0; |
| 255 |
%%ductus:=true; |
| 256 |
draw_jstem(1,2,srad,2/3sqxside,desc_depth); |
| 257 |
ductus:=false; |
| 258 |
proofpcbb(100, y100, y100); |
| 259 |
penlabels(1,2,100); |
| 260 |
endchar; % end "J" |
| 261 |
|
| 262 |
cmchar "Uncial letter K"; |
| 263 |
beginchar("K", 2u#+caprat*hstretch*(jut#+4/3x_height#), caprat*asc_height#, 0); |
| 264 |
adjust_fit(0,0); |
| 265 |
pcshiftx := u+jut; |
| 266 |
sqyside:=h/2; % asc_height = 2x_height !!! |
| 267 |
sqxside:=hstretch*sqyside; |
| 268 |
y100 = side/2; x100 = pcshiftx+y100; % square center |
| 269 |
pickup quill; |
| 270 |
lft x1=lft x2=pcshiftx; |
| 271 |
top y1=h; bot y2=0; |
| 272 |
numeric rise,fall,fjut; |
| 273 |
x3=x1; y3=2/3side; |
| 274 |
rise:=1/3sqyside; fall:=-rise/2; fjut:=sqxside; %% fjut:=2/3side; |
| 275 |
x4=x3+0.25thick; y4=y3+0.5thick; |
| 276 |
x5=x3+side; y5=0; |
| 277 |
%%ductus:=true; |
| 278 |
if ductus: |
| 279 |
pickup stylus; |
| 280 |
fi |
| 281 |
draw_istem(1,2,srad); |
| 282 |
draw_flick(3,rise,fall,fjut); |
| 283 |
draw_tstem(4,5,srad); |
| 284 |
ductus:=false; |
| 285 |
proofpcbb(100, y100, y100); |
| 286 |
penlabels(1,2,3,4,5,100); |
| 287 |
endchar; % end "K" |
| 288 |
|
| 289 |
cmchar "Uncial letter L"; |
| 290 |
beginchar("L", 2u#+caprat*hstretch*(x_height#+jut#), caprat*asc_height#, 0); |
| 291 |
adjust_fit(0,0); |
| 292 |
pcshiftx := u+jut; |
| 293 |
sqyside:=h/2; sqxside:=hstretch*sqyside; |
| 294 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 295 |
pickup quill; |
| 296 |
lft x1=lft x2=pcshiftx; |
| 297 |
top y1=h; y2=h/4; |
| 298 |
x3=0.5[x1,x4]; bot y3=0; |
| 299 |
rt x4=w-u; |
| 300 |
y4=0.1h; |
| 301 |
%%ductus:=true; |
| 302 |
draw_tlserif(1,2,srad); % the stem |
| 303 |
draw z2{down}..z3{right}..{pdir}z4; % the bowl |
| 304 |
ductus:=false; |
| 305 |
proofpcbb(100, y100, y100); |
| 306 |
penlabels(1,2,100); |
| 307 |
endchar; % end "L" |
| 308 |
|
| 309 |
cmchar "Uncial letter M"; |
| 310 |
beginchar("M", 2u#+caprat*hstretch*(9/6x_height#), caprat*x_height#, 0); |
| 311 |
adjust_fit(0,0); |
| 312 |
pcshiftx := u; |
| 313 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 314 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 315 |
pickup quill; |
| 316 |
x1=1/3sqxside; bot y1=0; |
| 317 |
lft x2= pcshiftx; y2=h/2; |
| 318 |
lft x4=pcshiftx+2/3sqxside; y4=2/3h; |
| 319 |
x3=0.5[x2,x4]; top y3=h; |
| 320 |
x5=x4; y5=y1; |
| 321 |
z6=z4; |
| 322 |
numeric rise,fall,mjut; |
| 323 |
rise=h-y6; fall=y6; mjut=w-pcshiftx-x6; |
| 324 |
%%ductus:=true; |
| 325 |
draw z1..z2{up}..z3{right}..{down}z4; % left half |
| 326 |
draw_tstem(4,5,srad); % middle stem |
| 327 |
draw_hbowl(6,rise,fall,mjut); % right half |
| 328 |
ductus:=false; |
| 329 |
proofpcbb(100, y100, y100); |
| 330 |
penlabels(1,2,3,4,5,6,100); |
| 331 |
endchar; % end "M" |
| 332 |
|
| 333 |
cmchar "Uncial letter N"; |
| 334 |
beginchar("N", 2u#+caprat*hstretch*(jut#+x_height#), caprat*x_height#, |
| 335 |
caprat*(0.5x_height#)); |
| 336 |
adjust_fit(0,0); |
| 337 |
pcshiftx := u; |
| 338 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 339 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 340 |
pickup quill; |
| 341 |
lft x1=pcshiftx; top y1=h; |
| 342 |
x2=x1; y2=y1-thin; |
| 343 |
numeric jjut, jdepth; |
| 344 |
jjut=2jut; jdepth=y2+d-thin; |
| 345 |
rt x4=pcshiftx+sqxside; y4=y1; |
| 346 |
x3=x4; bot y3=0; |
| 347 |
%%ductus:=true; |
| 348 |
if ductus: |
| 349 |
pickup stylus; |
| 350 |
fi |
| 351 |
draw_jcurve(1,srad,jjut,jdepth); % left stem |
| 352 |
draw_istem(4,3,srad); % right stem |
| 353 |
draw z1--z3; % diagonal |
| 354 |
ductus:=false; |
| 355 |
proofpcbb(100, y100, y100); |
| 356 |
penlabels(1,2,3,4,100); |
| 357 |
endchar; % end "N" |
| 358 |
|
| 359 |
cmchar "Uncial letter O"; |
| 360 |
beginchar("O", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 361 |
adjust_fit(0,0); |
| 362 |
pcshiftx := u; |
| 363 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 364 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 365 |
pickup quill; |
| 366 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 367 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 368 |
%%ductus:=true; |
| 369 |
if ductus: |
| 370 |
pickup stylus; |
| 371 |
fi |
| 372 |
draw z1..z2..z3..z4..cycle; |
| 373 |
ductus:=false; |
| 374 |
proofpcbb(100, y100, y100); |
| 375 |
penlabels(1,2,3,4,100); |
| 376 |
endchar; % end "O" |
| 377 |
|
| 378 |
cmchar "Uncial letter P"; |
| 379 |
beginchar("P", 2u#+caprat*hstretch*(x_height#+jut#), caprat*x_height#, |
| 380 |
caprat*x_height#); |
| 381 |
adjust_fit(0,0); |
| 382 |
pcshiftx := u+jut; |
| 383 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 384 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 385 |
pickup quill; |
| 386 |
lft x1=pcshiftx; top y1=h; |
| 387 |
numeric jjut, jdepth; |
| 388 |
jjut=1/3sqxside-thin; jdepth=h+d-thin; |
| 389 |
x2=x1; y2=3/4h; %% y2=2/3side; |
| 390 |
rt x4=w-u; |
| 391 |
lft x5=x1+thick; y5=0; |
| 392 |
y4=0.4[y3,y5]; |
| 393 |
top y3=h; x3=0.5[x2,x4]; |
| 394 |
%%ductus:=true; |
| 395 |
if ductus: |
| 396 |
pickup stylus; |
| 397 |
fi |
| 398 |
draw_jcurve(1,srad,jjut,jdepth); % stem |
| 399 |
%%draw z2..z3{right}..z4{down}..{-pdir}z5; % bowl |
| 400 |
draw z1a..z3{right}..z4{down}..{-pdir}z5; % bowl |
| 401 |
ductus:=false; |
| 402 |
proofpcbb(100, y100, y100); |
| 403 |
penlabels(1,2,3,4,5,100); |
| 404 |
endchar; % end "P" |
| 405 |
|
| 406 |
cmchar "Uncial letter Q"; |
| 407 |
beginchar("Q", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, caprat*x_height#); |
| 408 |
adjust_fit(0,0); |
| 409 |
pcshiftx := u; |
| 410 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 411 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 412 |
pickup quill; |
| 413 |
rt x1=w-pcshiftx; top y1=h; |
| 414 |
numeric jjut, jdepth; |
| 415 |
jjut=2jut; jdepth=h+d-thin; |
| 416 |
x2=x1-jjut; y2=y1-jdepth; |
| 417 |
numeric rad; rad := w/2; |
| 418 |
x0=w/2; y0=h/2; |
| 419 |
lft x4=pcshiftx; y4=y0; |
| 420 |
x3=x5=x0; top y3=h; bot y5=0; |
| 421 |
x7=x0+rad; y7=y0; |
| 422 |
path p[]; |
| 423 |
p1=z1{down}..{-pdir}z2; % stem |
| 424 |
p2=z4{down}..z5{right}..{up}z7; |
| 425 |
z6'= p1 intersectionpoint p2; |
| 426 |
rt x6=x6'; y6=y6'; |
| 427 |
%%ductus:=true; |
| 428 |
if ductus: |
| 429 |
pickup stylus; |
| 430 |
fi |
| 431 |
draw z1{down}...{-pdir}z2; % right stem |
| 432 |
draw z1--z3..z4{down}..{right}z5..z6; % bowl |
| 433 |
ductus:=false; |
| 434 |
proofpcbb(100, y100, y100); |
| 435 |
penlabels(0,1,2,3,4,5,6,6',7,100); |
| 436 |
endchar; % end "Q" |
| 437 |
|
| 438 |
cmchar "Uncial letter R"; |
| 439 |
beginchar("R", 2u#+caprat*hstretch*(4/3x_height#), caprat*x_height#, |
| 440 |
caprat*(2/3x_height#)); |
| 441 |
adjust_fit(0,0); |
| 442 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 443 |
pcshiftx := u+jut; |
| 444 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 445 |
pickup quill; |
| 446 |
lft x1=pcshiftx; top y1=h; |
| 447 |
numeric jjut, jdepth; |
| 448 |
jjut=1/5sqxside; jdepth=h+d-thin; |
| 449 |
x2=x1; y2=3/4h; |
| 450 |
rt x4=pcshiftx+3/4sqxside; |
| 451 |
lft x5=x1; bot y5=1/6h; |
| 452 |
y4=0.4[y3,y5]; |
| 453 |
top y3=h; x3=0.5[x2,x4]; |
| 454 |
rt x7=w-u; y7=-thin; |
| 455 |
%%ductus:=true; |
| 456 |
if ductus: |
| 457 |
pickup stylus; |
| 458 |
fi |
| 459 |
draw_jcurve(1,srad,jjut,jdepth); % stem |
| 460 |
draw z1a..z3{right}..z4{down}..{-pdir}z5; % bowl |
| 461 |
draw z5{-ppdir}..{right}z7; % leg |
| 462 |
ductus:=false; |
| 463 |
proofpcbb(100, y100, y100); |
| 464 |
penlabels(1,2,3,4,5,6,7,100); |
| 465 |
endchar; % end "R" |
| 466 |
|
| 467 |
cmchar "Uncial letter S"; |
| 468 |
beginchar("S", 2u#+caprat*hstretch*(5/6x_height#), caprat*x_height#, 0); |
| 469 |
adjust_fit(0,0); |
| 470 |
pcshiftx := u; |
| 471 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 472 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 473 |
pickup quill; |
| 474 |
rt x1=w-pcshiftx; top y1=h-thin; |
| 475 |
x2=w/2; top y2=h; |
| 476 |
lft x3=pcshiftx; y3=0.75h; |
| 477 |
x4=w/2; y4=h/2; |
| 478 |
rt x5=w-pcshiftx; y5=0.25h; |
| 479 |
x6=w/2; bot y6=0; |
| 480 |
lft x7= pcshiftx; bot y7 = thin; |
| 481 |
path p[]; |
| 482 |
p1=z1..z2{left}..z3{down}..z4..z5{down}..z6{left}..z7; |
| 483 |
pair vec[]; |
| 484 |
vec1= direction 0 of p1; |
| 485 |
vec2= direction (length p1) of p1; |
| 486 |
z11=z1 shifted vec1; |
| 487 |
z17=z7 shifted -vec2; |
| 488 |
%%ductus:=true; |
| 489 |
if ductus: |
| 490 |
pickup stylus; |
| 491 |
fi |
| 492 |
%%draw_serif(1,11,srad); |
| 493 |
%%draw_serif(7,17,srad); |
| 494 |
%%draw z1a..z2{left}..z3{down}..z4..z5{down}..z6{left}..z7a; |
| 495 |
draw p1; |
| 496 |
ductus:=false; |
| 497 |
proofpcbb(100, y100, y100); |
| 498 |
penlabels(1,2,3,4,5,6,7,11,17,100); |
| 499 |
endchar; % end "S" |
| 500 |
|
| 501 |
cmchar "Uncial letter T"; |
| 502 |
beginchar("T", u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 503 |
adjust_fit(0,0); |
| 504 |
pcshiftx := u/2; |
| 505 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 506 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 507 |
pickup quill; |
| 508 |
x1=x2=w/2; |
| 509 |
top y1=h; bot y2=0; |
| 510 |
lft x3=pcshiftx; top y3=h-thin; |
| 511 |
x4=x2; top y4=h; |
| 512 |
rt x5=w-pcshiftx; top y5=h+thin; |
| 513 |
%%ductus:=true; |
| 514 |
if ductus: |
| 515 |
pickup stylus; |
| 516 |
fi |
| 517 |
draw_tstem(1,2,srad); |
| 518 |
draw z3{pdir}..z4{right}..{pdir}z5; |
| 519 |
ductus:=false; |
| 520 |
proofpcbb(100, y100, y100); |
| 521 |
penlabels(1,2,3,4,5,100); |
| 522 |
endchar; % end "T" |
| 523 |
|
| 524 |
cmchar "Uncial letter U"; |
| 525 |
beginchar("U", 2u#+caprat*hstretch*(x_height#+jut#), caprat*x_height#, 0); |
| 526 |
adjust_fit(0,0); |
| 527 |
pcshiftx := u; |
| 528 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 529 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 530 |
pickup quill; |
| 531 |
lft x6=pcshiftx+thick; |
| 532 |
top y6=h; |
| 533 |
lft x7=pcshiftx; y7=h/2; |
| 534 |
x8=pcshiftx+0.5sqxside; bot y8=0; |
| 535 |
rt x1=w-pcshiftx-jut; y1=h; |
| 536 |
x2=x1; bot y2=0; |
| 537 |
x5=x1+sqxside-thick; y5=y6; |
| 538 |
path p[]; |
| 539 |
p1=z1--z2; |
| 540 |
p2=z6..z7{down}..z8{right}..z5; |
| 541 |
z9= p2 intersectionpoint p1; |
| 542 |
pair vec[]; |
| 543 |
vec2 = direction 0 of p2; |
| 544 |
z16=z6 shifted vec2; |
| 545 |
%%ductus:=true; |
| 546 |
if ductus: |
| 547 |
pickup stylus; |
| 548 |
fi |
| 549 |
draw_serif(6,16,srad); % left half |
| 550 |
draw z6a..z7{down}..z8{right}..z9; |
| 551 |
draw_istem(1,2,srad); % right stem |
| 552 |
ductus:=false; |
| 553 |
proofpcbb(100, y100, y100); |
| 554 |
penlabels(1,2,3,4,5,6,7,8,9,11,16,100); |
| 555 |
endchar; % end "U" |
| 556 |
|
| 557 |
cmchar "Uncial letter V"; |
| 558 |
beginchar("V", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 559 |
adjust_fit(0,0); |
| 560 |
pcshiftx := u; |
| 561 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 562 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 563 |
pickup quill; |
| 564 |
numeric midx; midx:= pcshiftx; |
| 565 |
lft x1=midx+jut; top y1=h; |
| 566 |
lft x2=midx; y2=h/2; |
| 567 |
rt x4=midx+sqxside; y4=y2; |
| 568 |
x3=0.5[x2,x4]; bot y3=0; |
| 569 |
x5=x4-thick; y5=y1; |
| 570 |
path p[]; |
| 571 |
p1=z1..z2{down}..z3{right}..z4{up}..z5; |
| 572 |
pair vec[]; |
| 573 |
vec1 = direction 0 of p1; |
| 574 |
z11=z1 shifted vec1; |
| 575 |
%%ductus:=true; |
| 576 |
if ductus: |
| 577 |
pickup stylus; |
| 578 |
fi |
| 579 |
draw_serif(1,11,srad); % right half |
| 580 |
draw z1a..z2{down}..z3{right}..z4{up}..z5; |
| 581 |
ductus:=false; |
| 582 |
proofpcbb(100, y100, y100); |
| 583 |
penlabels(1,2,3,4,5,11,100); |
| 584 |
endchar; % end "V" |
| 585 |
|
| 586 |
cmchar "Uncial letter W"; |
| 587 |
beginchar("W", 2u#+caprat*hstretch*(5/3x_height#), caprat*x_height#, 0); |
| 588 |
adjust_fit(0,0); |
| 589 |
pcshiftx := u; |
| 590 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 591 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 592 |
pickup quill; |
| 593 |
numeric midx; midx:= pcshiftx+2/3sqxside; |
| 594 |
lft x1=midx+jut; top y1=h; |
| 595 |
lft x2=midx; y2=h/2; |
| 596 |
rt x4=midx+sqxside; y4=y2; |
| 597 |
x3=0.5[x2,x4]; bot y3=0; |
| 598 |
x5=x4-thick; y5=y1; |
| 599 |
path p[]; |
| 600 |
p1=z1..z2{down}..z3{right}..z4{up}..z5; |
| 601 |
lft x6=pcshiftx+thick; |
| 602 |
y6=y1; |
| 603 |
lft x7=pcshiftx; y7=y2; |
| 604 |
x8=pcshiftx+0.5sqxside; y8=y3; |
| 605 |
p2=z6..z7{down}..z8{right}..(z5 shifted -pdir); |
| 606 |
z9= p2 intersectionpoint p1; |
| 607 |
pair vec[]; |
| 608 |
vec1 = direction 0 of p1; |
| 609 |
vec2 = direction 0 of p2; |
| 610 |
z11=z1 shifted vec1; |
| 611 |
z16=z6 shifted vec2; |
| 612 |
%%ductus:=true; |
| 613 |
if ductus: |
| 614 |
pickup stylus; |
| 615 |
fi |
| 616 |
draw_serif(1,11,srad); % right half |
| 617 |
draw z1a..z2{down}..z3{right}..z4{up}..z5; |
| 618 |
draw_serif(6,16,srad); % left half |
| 619 |
draw z6a..z7{down}..z8{right}..z9; |
| 620 |
ductus:=false; |
| 621 |
proofpcbb(100, y100, y100); |
| 622 |
penlabels(1,2,3,4,5,6,7,8,9,11,16,100); |
| 623 |
endchar; % end "W" |
| 624 |
|
| 625 |
cmchar "Uncial letter X"; |
| 626 |
beginchar("X", u#+caprat*hstretch*(5/3x_height#), caprat*x_height#, |
| 627 |
caprat*(1/3x_height#)); |
| 628 |
adjust_fit(0,0); |
| 629 |
pcshiftx := 0; |
| 630 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 631 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 632 |
pickup quill; |
| 633 |
lft x1=pcshiftx+1/2sqxside; rt x2=w-jut; |
| 634 |
y1=h; y2=0; |
| 635 |
lft x3=pcshiftx; bot y3=-d; |
| 636 |
z4=z3 shifted (jut*right); |
| 637 |
z5=z4 shifted (jut*pdir); |
| 638 |
rt x8=w-pcshiftx; top y8=h; |
| 639 |
z7=z8 shifted (jut*left); |
| 640 |
z6=z7 shifted (-jut*pdir); |
| 641 |
%%ductus:=true; |
| 642 |
if ductus: |
| 643 |
pickup stylus; |
| 644 |
fi |
| 645 |
draw_istem(1,2,srad); % thick diagonal |
| 646 |
draw z3---z4..z5---z6..z7---z8; % thin diagonal |
| 647 |
ductus:=false; |
| 648 |
proofpcbb(100, y100, y100); |
| 649 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 650 |
endchar; % end "X" |
| 651 |
|
| 652 |
cmchar "Uncial letter Y"; |
| 653 |
beginchar("Y", 2u#+caprat*hstretch*(4/3x_height#), caprat*x_height#, 2/3caprat*x_height#); |
| 654 |
adjust_fit(0,0); |
| 655 |
pcshiftx := u; |
| 656 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 657 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 658 |
pickup quill; |
| 659 |
lft x1=pcshiftx; top y1=3/4h; |
| 660 |
lft x3=w/2; bot y3=-d; |
| 661 |
x2=0.8[x1,x3]; y2=0.5[y1,y3]; |
| 662 |
rt x4=w-pcshiftx; y4=y1; |
| 663 |
x7=pcshiftx; y7=-d; |
| 664 |
path p[]; |
| 665 |
p1=z1..z2..z3; |
| 666 |
z6= (z7--z4) intersectionpoint p1; |
| 667 |
x5=0.4[x6,x4]; y5=0.5[y6,y4]; |
| 668 |
x8=x6; y8=h; |
| 669 |
if ductus: |
| 670 |
pickup stylus; |
| 671 |
fi |
| 672 |
draw z1..z2..z3; % left stroke |
| 673 |
draw z4{left}..z6; % right stroke |
| 674 |
draw_pdot(8,dot_size); |
| 675 |
ductus:=false; |
| 676 |
proofpcbb(100, y100, y100); |
| 677 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 678 |
endchar; % end "Y" |
| 679 |
|
| 680 |
cmchar "Uncial letter Z"; |
| 681 |
beginchar("Z", 2u#+caprat*hstretch*(4/3x_height#), caprat*x_height#, 0); |
| 682 |
adjust_fit(0,0); |
| 683 |
pcshiftx := u; |
| 684 |
sqyside:=h; sqxside:=hstretch*sqyside; |
| 685 |
y100 = h/2; x100 = pcshiftx+y100; % square center |
| 686 |
pickup quill; |
| 687 |
lft x4=pcshiftx; bot y4=0; |
| 688 |
rt x6=w-pcshiftx; y6=y4; |
| 689 |
x5=0.5[x4,x6]; y5=y4+thin; |
| 690 |
x1=x4; top y1=h; |
| 691 |
x3=pcshiftx+sqxside; y3=y1; |
| 692 |
x2=0.5[x1,x3]; top y2=h-thin; |
| 693 |
%%ductus:=true; |
| 694 |
if ductus: |
| 695 |
pickup stylus; |
| 696 |
fi |
| 697 |
draw z1..z2..z3; % top stroke |
| 698 |
draw z4..z5..z6; % bottom stroke |
| 699 |
pickup stylus; |
| 700 |
draw z4--z3; |
| 701 |
ductus:=false; |
| 702 |
proofpcbb(100, y100, y100); |
| 703 |
penlabels(1,2,3,4,5,6,100); |
| 704 |
endchar; % end "Z" |
| 705 |
|