| 1 |
%% |
| 2 |
%% This is file `hminu.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% humanist.dtx (with options: `maj') |
| 8 |
%% |
| 9 |
%% Author: Peter Wilson (CUA) now at [email protected] |
| 10 |
%% (or [email protected]) |
| 11 |
%% Copyright 2002, 2003 Peter R. Wilson |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either |
| 15 |
%% version 1.3 of this license or (at your option) any |
| 16 |
%% later version. |
| 17 |
%% The latest version of the license is in |
| 18 |
%% http://www.latex-project.org/lppl.txt |
| 19 |
%% and version 1.3 or later is part of all distributions of |
| 20 |
%% LaTeX version 2003/06/01 or later. |
| 21 |
%% |
| 22 |
%% This work has the LPPL maintenance status "author-maintained". |
| 23 |
%% |
| 24 |
%% This work consists of the files listed in the README file. |
| 25 |
%% |
| 26 |
|
| 27 |
cmchar "HMIN letter A"; |
| 28 |
beginchar("A", 2sb#+caprat*hstretch*(20/18x_height#), |
| 29 |
caprat*x_height#, 0); |
| 30 |
adjust_fit(0,0); |
| 31 |
pcshiftx := sb; |
| 32 |
numeric n[]; |
| 33 |
path pth[]; |
| 34 |
pair pr[]; |
| 35 |
pickup quill; |
| 36 |
x100 = 0; |
| 37 |
n2 := rt x100 - lft x100; |
| 38 |
n1 := w - 2pcshiftx - n2; % effective letter width |
| 39 |
%% legs |
| 40 |
x1 = pcshiftx + n1/2; top y1=h; |
| 41 |
lft x2 = pcshiftx; bot y2 = 0; |
| 42 |
rt x3 = pcshiftx + n1; y3=y2; |
| 43 |
rt x4 = w-pcshiftx; y4=y3; |
| 44 |
%% bar |
| 45 |
z12=10/16[z1,z2]; z83=10/16[z1,z3]; |
| 46 |
z13 = (x83 - n2,y83); |
| 47 |
%%ductus:=true; |
| 48 |
if ductus: |
| 49 |
pickup stylus; |
| 50 |
fi |
| 51 |
draw z1--z2; draw z1--z3; draw z12--z13; %% legs and bar |
| 52 |
draw z3--z4; draw z2--(x2+n2,y2); draw (x1-n2,y1)--z1; %% serifs |
| 53 |
ductus:=false; |
| 54 |
penlabels(1,2,3,4,5,6,7,8,11,12,13,14,15,100); |
| 55 |
endchar; % end "A" |
| 56 |
|
| 57 |
cmchar "HMIN letter B"; |
| 58 |
beginchar("B", 2sb#+caprat*hstretch*(14/18x_height#), |
| 59 |
caprat*x_height#, 0); |
| 60 |
adjust_fit(0,0); |
| 61 |
numeric n[]; |
| 62 |
path pth[]; |
| 63 |
pcshiftx := sb; |
| 64 |
pickup quill; |
| 65 |
x100 = 0; |
| 66 |
n1 := rt x100 - lft x100; |
| 67 |
%% stem |
| 68 |
lft x1 = pcshiftx + n1; top y1 = h; |
| 69 |
x2 = x1; bot y2 = 0; |
| 70 |
z12 = 1/2[z1,z2]; |
| 71 |
%% bottom bowl |
| 72 |
lft x21 = pcshiftx; bot y21 = 0; |
| 73 |
z22=z2; |
| 74 |
lft x27 = rt x12; y27 = y12; |
| 75 |
rt x25 = w-pcshiftx; y25 = 1/2[y22,y27]; |
| 76 |
pth1 := z21--z22{right}..z25{up}..{left}z27; |
| 77 |
%% top bowl |
| 78 |
z32 = z27; z37 = z1; |
| 79 |
x38 = x21; y38 = y37; |
| 80 |
rt x35 = x25; y35 = 1/2[y32,y37]; |
| 81 |
pth2 := z38--z37{right}..z35{down}..{left}z27; |
| 82 |
if ductus: |
| 83 |
pickup stylus; |
| 84 |
fi |
| 85 |
draw z1--z2; |
| 86 |
draw pth1; draw pth2; |
| 87 |
ductus:=false; |
| 88 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 89 |
endchar; % end "B" |
| 90 |
|
| 91 |
cmchar "HMIN letter C"; |
| 92 |
beginchar("C", 2sb#+caprat*hstretch*(16/18x_height#), |
| 93 |
caprat*x_height#, 0); |
| 94 |
adjust_fit(0,0); |
| 95 |
numeric n[]; |
| 96 |
pcshiftx := sb; |
| 97 |
pickup quill; |
| 98 |
n1:=w-2pcshiftx; % actual letter width |
| 99 |
n2:=6/5w-2pcshiftx; % width of full bowl |
| 100 |
x1=pcshiftx + 1/2n1; top y1 = h; |
| 101 |
lft x2 = pcshiftx; y2 = 1/2h; |
| 102 |
x3 = x1; bot y3 = 0; |
| 103 |
rt x4 = w-pcshiftx; y4 = 1/4h; |
| 104 |
x24 = x4; y24 = 3/4h; |
| 105 |
%%ductus:=true; |
| 106 |
if ductus: |
| 107 |
pickup stylus; |
| 108 |
fi |
| 109 |
draw z24..z1{left}..z2{down}..z3{right}..z4{pdir}; |
| 110 |
ductus:=false; |
| 111 |
penlabels(1,2,3,4,5,6,14,16,17,18,100); |
| 112 |
endchar; % end "C" |
| 113 |
|
| 114 |
cmchar "HMIN letter D"; |
| 115 |
beginchar("D", 2sb#+caprat*hstretch*(18/18x_height#), |
| 116 |
caprat*x_height#, 0); |
| 117 |
adjust_fit(0,0); |
| 118 |
numeric n[]; |
| 119 |
path pth[]; |
| 120 |
pcshiftx := sb; |
| 121 |
pickup quill; |
| 122 |
x100 = 0; n1 := rt x100 - lft x100; |
| 123 |
%% stem |
| 124 |
lft x1 = pcshiftx+n1; top y1=h; |
| 125 |
x2 = x1; bot y2 = 0; |
| 126 |
%% bowl |
| 127 |
lft x3 = pcshiftx; y3=y1; |
| 128 |
x7 = x3; y7=y2; |
| 129 |
rt x5 = w-pcshiftx; y5 = 1/2[y3,y7]; |
| 130 |
pth1 := z3--z1{right}..{down}z5..{left}z2--z7; |
| 131 |
if ductus: |
| 132 |
pickup stylus; |
| 133 |
fi |
| 134 |
draw z1--z2; %% stem |
| 135 |
draw pth1; |
| 136 |
ductus:=false; |
| 137 |
penlabels(0,1,2,3,4,5,6,7,8,100); |
| 138 |
endchar; % end "D" |
| 139 |
|
| 140 |
cmchar "HMIN letter E"; |
| 141 |
beginchar("E", sb#+caprat*hstretch*(14/18x_height#), |
| 142 |
caprat*x_height#, 0); |
| 143 |
adjust_fit(0,0); |
| 144 |
pcshiftx := sb; |
| 145 |
numeric n[]; |
| 146 |
path pth[]; |
| 147 |
pickup quill; |
| 148 |
x100 = 0; |
| 149 |
n1 = rt x100 - lft x100; |
| 150 |
%% stem |
| 151 |
lft x1 = pcshiftx+n1; top y1 = h; |
| 152 |
x2 = x1; bot y2=0; |
| 153 |
%% bars |
| 154 |
lft x3 = pcshiftx; y3 = y1; rt x4 = w-pcshiftx; y4=y3; |
| 155 |
x5=x1; y5 = 1/2[y1,y2]; x6 = x4; y6 = y5; |
| 156 |
x7 = x3; y7 = y2; x8 = x4; y8=y7; |
| 157 |
%%ductus:=true; |
| 158 |
if ductus: |
| 159 |
pickup stylus; |
| 160 |
fi |
| 161 |
draw z1--z2; % stem |
| 162 |
draw z3--z4; draw z5--z6; draw z7--z8; |
| 163 |
ductus:=false; |
| 164 |
penlabels(1,2,3,4,5,6,7,8,9,17,70,100); |
| 165 |
endchar; % end "E" |
| 166 |
|
| 167 |
cmchar "HMIN letter F"; |
| 168 |
beginchar("F", 2sb#+caprat*hstretch*(14/18x_height#), |
| 169 |
caprat*x_height#, 0); |
| 170 |
adjust_fit(0,0); |
| 171 |
numeric n[]; |
| 172 |
pcshiftx := sb; |
| 173 |
pickup quill; |
| 174 |
x100 = 0; |
| 175 |
n1 := rt x100 - lft x100; |
| 176 |
%% stem |
| 177 |
lft x1=lft x2=pcshiftx+n1; top y1=h; bot y2=0; |
| 178 |
%% bars |
| 179 |
lft x3 = pcshiftx; y3 = y1; rt x4 = w-pcshiftx; y4 = y3; |
| 180 |
x5=x1; y5 = 1/2[y1,y2]; x6 = x4; y6 = y5; |
| 181 |
%% serif |
| 182 |
x211 = x2 - n1; y211 = y2; |
| 183 |
x212 = x2 + n1; y212 = y2; |
| 184 |
%%ductus:=true; |
| 185 |
if ductus: |
| 186 |
pickup stylus; |
| 187 |
fi |
| 188 |
draw z1--z2; |
| 189 |
draw z3--z4; draw z5--z6; |
| 190 |
draw z211--z212; |
| 191 |
ductus:=false; |
| 192 |
penlabels(1,2,3,4,5,6,7,14,15,16,100); |
| 193 |
endchar; % end "F" |
| 194 |
|
| 195 |
cmchar "HMIN letter G"; |
| 196 |
beginchar("G", 2sb#+caprat*hstretch*(19/18x_height#), |
| 197 |
caprat*x_height#, 0); |
| 198 |
adjust_fit(0,0); |
| 199 |
path pth[]; |
| 200 |
pair vec[]; |
| 201 |
numeric n[]; |
| 202 |
pcshiftx := sb; |
| 203 |
pickup quill; |
| 204 |
x100 = 0; |
| 205 |
n1 := rt x100 - lft x100; |
| 206 |
%% bar |
| 207 |
rt x52 = w - pcshiftx; y52 = 1/2h; |
| 208 |
x51 = x52 - 2n1; y51 = y52; |
| 209 |
z512 = 1/2[z51,z52]; |
| 210 |
%% bowl |
| 211 |
lft x2 = pcshiftx; y2 = 1/2h; |
| 212 |
x4 = x512; y4 = 1/4h; |
| 213 |
x3 = x1 = 1/2[x2,x4]; bot y3 = 0; top y1 = h; |
| 214 |
x24 = x512; y24 = 3/4h; |
| 215 |
pth1 := z24..z1{left}..z2{down}..z3{right}..z4; |
| 216 |
%%ductus:=true; |
| 217 |
if ductus: |
| 218 |
pickup stylus; |
| 219 |
fi |
| 220 |
draw pth1; |
| 221 |
draw z4--z512; draw z51--z52; |
| 222 |
ductus:=false; |
| 223 |
penlabels(1,2,3,4,5,6,7,8,9,11,12,13,31,32,33,34,35,36,100); |
| 224 |
endchar; % end "G" |
| 225 |
|
| 226 |
cmchar "HMIN letter H"; |
| 227 |
beginchar("H", 2sb#+caprat*hstretch*(18/18x_height#), |
| 228 |
caprat*x_height#, 0); |
| 229 |
adjust_fit(0,0); |
| 230 |
pcshiftx := sb; |
| 231 |
pickup quill; |
| 232 |
numeric n[]; |
| 233 |
x100 = 0; |
| 234 |
n1 := rt x100 - lft x100; |
| 235 |
%% stems |
| 236 |
lft x1=lft x2=pcshiftx+n1; |
| 237 |
top y1=h; bot y2=0; |
| 238 |
rt x3 = w - pcshiftx - n1; x4 = x3; y3 = y1; y4 = y2; |
| 239 |
%% bar |
| 240 |
z12 = 1/2[z1,z2]; z34 = 1/2[z3,z4]; |
| 241 |
%% serifs |
| 242 |
rt x111 = lft x1; y111 = y1; lft x112 = rt x1; y112 = y111; % TL |
| 243 |
x211 = x111; x212 = x112; y211 = y212 = y2; % BL |
| 244 |
rt x311 = lft x3; y311 = y3; lft x312 = rt x3; y312 = y311; % TR |
| 245 |
x411 = x311; x412 = x4+n1; y411 = y412 = y4; % BR |
| 246 |
%%ductus:=true; |
| 247 |
if ductus: |
| 248 |
pickup stylus; |
| 249 |
fi |
| 250 |
draw z1--z2; draw z3--z4; draw z12--z34; |
| 251 |
draw (x1-n1,y1)--(x1+n1,y1); draw (x2-n1,y2)--(x2+n1,y2); |
| 252 |
draw (x3-n1,y3)--(x3+n1,y3); draw (x4-n1,y4)--(x4+n1,y4); |
| 253 |
ductus:=false; |
| 254 |
penlabels(1,2,3,4,5,6,100); |
| 255 |
endchar; % end "H" |
| 256 |
|
| 257 |
cmchar "HMIN letter I"; |
| 258 |
beginchar("I", 2sb#+caprat*hstretch*(thick#+2jut#), |
| 259 |
caprat*x_height#, 0); |
| 260 |
adjust_fit(0,0); |
| 261 |
pcshiftx := sb; |
| 262 |
numeric n[]; |
| 263 |
pickup quill; |
| 264 |
x100 = 0; |
| 265 |
n1 := rt x100 - lft x100; |
| 266 |
x1 = x2 = 1/2w; |
| 267 |
top y1=h; bot y2=0; |
| 268 |
%% serifs |
| 269 |
rt x111 = lft x1; lft x112 = rt x1; y111 = y112 = y1; |
| 270 |
x211 = x111; x212 = x112; y211 = y212 = y2; |
| 271 |
%%ductus:=true; |
| 272 |
draw z1--z2; |
| 273 |
draw z111--z112; draw z211--z212; |
| 274 |
ductus:=false; |
| 275 |
penlabels(1,2,100); |
| 276 |
endchar; % end "I" |
| 277 |
|
| 278 |
cmchar "HMIN letter J"; |
| 279 |
beginchar("J", 2sb#+caprat*hstretch*(10/18x_height#), |
| 280 |
caprat*x_height#, 0); |
| 281 |
adjust_fit(0,0); |
| 282 |
pcshiftx := sb; |
| 283 |
path pth[]; |
| 284 |
numeric n[]; |
| 285 |
pickup quill; |
| 286 |
x100 = 0; |
| 287 |
n1 := rt x100 - lft x100; |
| 288 |
%% stem serif |
| 289 |
rt x112 = w - pcshiftx; top y112 = h; |
| 290 |
x111 = x112 - n1; y111 = y112; |
| 291 |
%% stem |
| 292 |
z1 = 1/2[z111,z112]; |
| 293 |
x2 = x1; y2 = 1/4h; |
| 294 |
%% hook |
| 295 |
lft x4 = pcshiftx; y4 = 1/2y2; |
| 296 |
x3 = 1/2[x2,x4]; bot y3 = 0; |
| 297 |
pth1 := z2{down}..z3{left}..z4; |
| 298 |
%%ductus:=true; |
| 299 |
if ductus: |
| 300 |
pickup stylus; |
| 301 |
fi |
| 302 |
draw z1--z2; % stem |
| 303 |
draw z111--z112; |
| 304 |
draw pth1; |
| 305 |
ductus:=false; |
| 306 |
penlabels(1,2,3,100); |
| 307 |
endchar; % end "J" |
| 308 |
|
| 309 |
cmchar "HMIN letter K"; |
| 310 |
beginchar("K", 2sb#+caprat*hstretch*(17/18x_height#), |
| 311 |
caprat*x_height#, 0); |
| 312 |
adjust_fit(0,0); |
| 313 |
pcshiftx := sb; |
| 314 |
path pth[]; |
| 315 |
numeric n[]; |
| 316 |
pickup quill; |
| 317 |
x100 = 0; |
| 318 |
n1 := rt x100 - lft x100; |
| 319 |
%% stem |
| 320 |
lft x1 = pcshiftx+n1; top y1 = h; |
| 321 |
x2 = x1; bot y2 = 0; |
| 322 |
z12 = 1/2[z1,z2]; |
| 323 |
%% top arm |
| 324 |
x3 = rt x12; y3 = y12; |
| 325 |
rt x5 = w - pcshiftx - n1; y5 = y1; |
| 326 |
%%pth1 := z3{pdir}..{up}z5; |
| 327 |
pth1 := z3--z5; |
| 328 |
%% lower arm |
| 329 |
z7 = z3; |
| 330 |
rt x9 = w-pcshiftx; bot y9 = 0; |
| 331 |
pth2 := z7{-ppdir}..{right}z9; |
| 332 |
pickup quill; |
| 333 |
%%ductus:=true; |
| 334 |
if ductus: |
| 335 |
pickup stylus; |
| 336 |
fi |
| 337 |
draw z1--z2; draw pth1; draw pth2; |
| 338 |
draw (x1-n1,y1)--(x1+n1,y1); |
| 339 |
draw (x2-n1,y2)--(x2+n1,y2); |
| 340 |
draw (x5,y5)--(x5+n1,y5); |
| 341 |
ductus:=false; |
| 342 |
penlabels(1,2,3,4,5,6,7,8,9,13,14,100); |
| 343 |
endchar; % end "K" |
| 344 |
|
| 345 |
cmchar "HMIN letter L"; |
| 346 |
beginchar("L", 2sb#+caprat*hstretch*(12/18x_height#), |
| 347 |
caprat*x_height#, 0); |
| 348 |
adjust_fit(0,0); |
| 349 |
pcshiftx := sb; |
| 350 |
numeric n[]; |
| 351 |
pickup quill; |
| 352 |
x100 = 0; n1 := rt x100 - lft x100; |
| 353 |
lft x1=pcshiftx+n1; top y1=h; |
| 354 |
x2=x1; bot y2 =0; |
| 355 |
lft x3 = pcshiftx; rt x4 = w-pcshiftx; y3 = y4 = y2; |
| 356 |
%%ductus:=true; |
| 357 |
if ductus: |
| 358 |
pickup stylus; |
| 359 |
fi |
| 360 |
draw z1--z2; draw z3--z4; |
| 361 |
draw (x1-n1,y1)--(x1+n1,y1); |
| 362 |
ductus:=false; |
| 363 |
penlabels(1,2,3,4,100); |
| 364 |
endchar; % end "L" |
| 365 |
|
| 366 |
cmchar "HMIN letter M"; |
| 367 |
beginchar("M", 2sb#+caprat*hstretch*(25/18x_height#), |
| 368 |
caprat*x_height#, 0); |
| 369 |
adjust_fit(0,0); |
| 370 |
pcshiftx := sb; |
| 371 |
numeric n[]; |
| 372 |
path pth[]; |
| 373 |
pickup quill; |
| 374 |
x100 = 0; |
| 375 |
n1 := rt x100 - lft x100; |
| 376 |
%% left stem |
| 377 |
lft x1=pcshiftx+n1; top y1=h; |
| 378 |
lft x2=pcshiftx; bot y2=0; |
| 379 |
%% right stem |
| 380 |
rt x4 = w - pcshiftx - n1; y4 = y2; |
| 381 |
x3 = x4 - n1; y3 = y1; |
| 382 |
%% the V |
| 383 |
z24 = 1/2[z2,z4]; |
| 384 |
pth1 := z1{-ppdir}..{down}z24; |
| 385 |
pth2 := z3{down}..{down}z24; |
| 386 |
%% serifs |
| 387 |
x111 = x1 - n1; y111 = y1; % TL |
| 388 |
x212 = x2+n1; y212 = y2; % BL |
| 389 |
x311 = x3-n1; y311 = y3; % TR |
| 390 |
x412 = x4+n1; y412 = y4; % BR |
| 391 |
%%ductus:=true; |
| 392 |
if ductus: |
| 393 |
pickup stylus; |
| 394 |
fi |
| 395 |
draw z1--z2; draw z3--z4; draw pth1; draw pth2; |
| 396 |
draw z111--z1; draw z2--z212; |
| 397 |
draw z311--z3; draw z4--z412; |
| 398 |
ductus:=false; |
| 399 |
penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100); |
| 400 |
endchar; % end "M" |
| 401 |
|
| 402 |
cmchar "HMIN letter N"; |
| 403 |
beginchar("N", 2sb#+caprat*hstretch*(22/18x_height#), |
| 404 |
caprat*x_height#, 0); |
| 405 |
adjust_fit(0,0); |
| 406 |
pcshiftx := sb; |
| 407 |
path pth[]; |
| 408 |
numeric n[]; |
| 409 |
pickup quill; |
| 410 |
x100 = 0; |
| 411 |
n1 := rt x100 - lft x100; |
| 412 |
%% stems |
| 413 |
lft x1=pcshiftx+n1; top y1=h; x2=x1; bot y2=0; |
| 414 |
rt x3 = w - pcshiftx - n1; x4 = x3; y3 = y1; y4 = y2; |
| 415 |
pth1 := z1{-ppdir}..{-ppdir}z4; |
| 416 |
%% serifs |
| 417 |
x111 = x1 - n1; x112 = x1 + n1; y111 = y112 = y1; % TL |
| 418 |
x211 = x111; x212 = x112; y211 = y212 = y2; % BL |
| 419 |
x311 = x3 - n1; x312 = x3 + n1; y311 = y312 = y3; % TR |
| 420 |
x411 = x311; x412 = x312; y411 = y412 = y4; % BR |
| 421 |
%%ductus:=true; |
| 422 |
if ductus: |
| 423 |
pickup stylus; |
| 424 |
fi |
| 425 |
draw z1--z2; draw z3--z4; draw pth1; |
| 426 |
draw z111--z112; draw z211--z212; |
| 427 |
draw z311--z312; draw z411--z412; |
| 428 |
ductus:=false; |
| 429 |
penlabels(1,2,3,4,5,6,13,14,100); |
| 430 |
endchar; % end "N" |
| 431 |
|
| 432 |
cmchar "HMIN letter O"; |
| 433 |
beginchar("O", 2sb#+caprat*hstretch*(18/18x_height#), |
| 434 |
caprat*x_height#, 0); |
| 435 |
adjust_fit(0,0); |
| 436 |
pcshiftx := sb; |
| 437 |
pickup quill; |
| 438 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 439 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 440 |
%%ductus:=true; |
| 441 |
if ductus: |
| 442 |
pickup stylus; |
| 443 |
fi |
| 444 |
draw z1..z2..z3..z4..cycle; |
| 445 |
ductus:=false; |
| 446 |
penlabels(1,2,3,4,5,100); |
| 447 |
endchar; % end "O" |
| 448 |
|
| 449 |
cmchar "HMIN letter P"; |
| 450 |
beginchar("P", 2sb#+caprat*hstretch*(14/18x_height#), |
| 451 |
caprat*x_height#, 0); |
| 452 |
adjust_fit(0,0); |
| 453 |
pcshiftx := sb; |
| 454 |
path pth[]; |
| 455 |
numeric n[]; |
| 456 |
pickup quill; |
| 457 |
x100 = 0; |
| 458 |
n1:= rt x100 - lft x100; |
| 459 |
%% stem |
| 460 |
lft x1=lft x2=pcshiftx+n1; |
| 461 |
top y1=h; bot y2=0; |
| 462 |
z12 = 1/2[z1,z2]; |
| 463 |
%% bowl |
| 464 |
z3 = (pcshiftx,y1); |
| 465 |
x7 = x12; top y7 = y12; |
| 466 |
rt x5 = w-pcshiftx; y5 = 1/2[y3,y7]; |
| 467 |
pth1 := z3--z1{right}..z5{down}..{left}z7; |
| 468 |
%%ductus:=true; |
| 469 |
if ductus: |
| 470 |
pickup stylus; |
| 471 |
fi |
| 472 |
draw z1--z2; draw pth1; |
| 473 |
draw (x2-n1,y2)--(x2+n1,y2); |
| 474 |
ductus:=false; |
| 475 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 476 |
endchar; % end "P" |
| 477 |
|
| 478 |
cmchar "HMIN letter Q"; |
| 479 |
beginchar("Q", 2sb#+caprat*hstretch*(18/18x_height#), |
| 480 |
caprat*x_height#, 0); |
| 481 |
adjust_fit(0,0); |
| 482 |
pcshiftx := sb; |
| 483 |
numeric n[]; |
| 484 |
path pth[]; |
| 485 |
pickup quill; |
| 486 |
%% bowl |
| 487 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 488 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 489 |
pth1 := z1..z4..z3..z2..cycle; |
| 490 |
%% tail |
| 491 |
n1 := rt x1 - lft x1; |
| 492 |
pth2 := z1..z2..z3..z4; |
| 493 |
z5 = directionpoint pdir of pth1; |
| 494 |
x7 = x3 + 2n1; top y7 = -n1; |
| 495 |
pth3 := z5{-ppdir}..{pdir}z7; |
| 496 |
%%ductus:=true; |
| 497 |
if ductus: |
| 498 |
pickup stylus; |
| 499 |
fi |
| 500 |
draw pth1; |
| 501 |
draw pth3; |
| 502 |
ductus:=false; |
| 503 |
penlabels(0,1,2,3,4,5,6,7,8,100); |
| 504 |
endchar; % end "Q" |
| 505 |
|
| 506 |
cmchar "HMIN letter R"; |
| 507 |
beginchar("R", 2sb#+caprat*hstretch*(18/18x_height#), |
| 508 |
caprat*x_height#, 0); |
| 509 |
adjust_fit(0,0); |
| 510 |
pcshiftx := sb; |
| 511 |
numeric n[]; |
| 512 |
path pth[]; |
| 513 |
pickup quill; |
| 514 |
x100 = 0; |
| 515 |
n1:= rt x100 - lft x100; |
| 516 |
n2 := 14/18; %% P/R width ratio |
| 517 |
%% stem |
| 518 |
lft x1=lft x2=pcshiftx+n1; |
| 519 |
top y1=h; bot y2=0; |
| 520 |
z12 = 1/2[z1,z2]; |
| 521 |
%% bowl |
| 522 |
z3 = (pcshiftx,y1); |
| 523 |
x7 = x12; top y7 = y12; |
| 524 |
rt x5 = w*n2 - pcshiftx; y5 = 1/2[y3,y7]; |
| 525 |
pth1 := z3--z1{right}..z5{down}..{left}z7; |
| 526 |
%% leg |
| 527 |
z21 = z7; |
| 528 |
x23 = w-pcshiftx; bot y23 = 0; |
| 529 |
pth2 := z21{-ppdir}..{right}z23; |
| 530 |
%%ductus:=true; |
| 531 |
if ductus: |
| 532 |
pickup stylus; |
| 533 |
fi |
| 534 |
draw z1--z2; draw pth1; draw pth2; |
| 535 |
draw (x2-n1,y2)--(x2+n1,y2); |
| 536 |
ductus:=false; |
| 537 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 538 |
endchar; % end "R" |
| 539 |
|
| 540 |
cmchar "HMIN letter S"; |
| 541 |
beginchar("S", 2sb#+caprat*hstretch*(15/18x_height#), |
| 542 |
caprat*x_height#, 0); |
| 543 |
adjust_fit(0,0); |
| 544 |
numeric n[]; |
| 545 |
path pth[]; |
| 546 |
pcshiftx := sb; |
| 547 |
pickup quill; |
| 548 |
x100 = 0; |
| 549 |
n1 := rt x100 - lft x100; |
| 550 |
x1 = x3 = x5 = 1/2w; |
| 551 |
top y1 = h; bot y5 = 0; y3 = 1/2[y1,y5]; |
| 552 |
lft x2 = pcshiftx; rt x4 = w-pcshiftx; |
| 553 |
y2 = 1/2[y1,y3]; y4 = 1/2[y3,y5]; |
| 554 |
rt x101 = w-pcshiftx; top y101 = y1; |
| 555 |
lft x102 = pcshiftx; bot y102 = y5; |
| 556 |
pth1 := z101..z1..z2..z3..z4..z5..z102; |
| 557 |
%%ductus:=true; |
| 558 |
if ductus: |
| 559 |
pickup stylus; |
| 560 |
fi |
| 561 |
draw pth1; |
| 562 |
ductus:=false; |
| 563 |
penlabels(1,2,3,4,5,6,7,11,17,20,26,27,28,100); |
| 564 |
endchar; % end "S" |
| 565 |
|
| 566 |
cmchar "HMIN letter T"; |
| 567 |
beginchar("T", 2sb#+caprat*hstretch*(16/18x_height#), |
| 568 |
caprat*x_height#, 0); |
| 569 |
adjust_fit(0,0); |
| 570 |
pcshiftx := sb; |
| 571 |
numeric n[]; |
| 572 |
pickup quill; |
| 573 |
%% bar |
| 574 |
lft x1 = pcshiftx; rt x2=w-pcshiftx; |
| 575 |
top y1 = top y2 = h; |
| 576 |
%% stem |
| 577 |
z3 = 1/2[z1,z2]; |
| 578 |
x4 = x3; bot y4 = 0; |
| 579 |
%% foot |
| 580 |
n1 := rt x4 - lft x4; |
| 581 |
rt x5 = lft x4; x6 = x4 + n1; y5 = y6 = y4; |
| 582 |
%%ductus:=true; |
| 583 |
if ductus: |
| 584 |
pickup stylus; |
| 585 |
fi |
| 586 |
draw z1--z2; % bar |
| 587 |
draw z3--z4; % stem |
| 588 |
draw z5--z6; % foot |
| 589 |
ductus:=false; |
| 590 |
penlabels(1,2,3,4,5,6,11,12,100); |
| 591 |
endchar; % end "T" |
| 592 |
|
| 593 |
cmchar "HMIN letter U"; |
| 594 |
beginchar("U", 2sb#+caprat*hstretch*(20/18x_height#), |
| 595 |
caprat*x_height#, 0); |
| 596 |
adjust_fit(0,0); |
| 597 |
pcshiftx := sb; |
| 598 |
numeric n[]; |
| 599 |
path pth[]; |
| 600 |
pickup quill; |
| 601 |
x100 = 0; |
| 602 |
n1 := rt x100 - lft x100; |
| 603 |
%% left stem |
| 604 |
lft x1 = pcshiftx + n1; top y1 = h; |
| 605 |
x13=x1; y13=1/3h; |
| 606 |
rt x3=w-pcshiftx-n1; y3=y1; |
| 607 |
x4=x3; bot y4=0; |
| 608 |
z33=1/4[z4,z3]; % start of bowl |
| 609 |
x14=1/3[x1,x3]; bot y14=0; |
| 610 |
pth1 := z1--z13{down}..z14{right}..{pdir}z33; |
| 611 |
%%ductus:=true; |
| 612 |
if ductus: |
| 613 |
pickup stylus; |
| 614 |
fi |
| 615 |
draw z3--z4; draw pth1; |
| 616 |
draw (x1-n1,y1)--(x1+n1,y1); |
| 617 |
draw (x3-n1,y3)--(x3+n1,y3); |
| 618 |
draw (x4,y4)--(x4+n1,y4); |
| 619 |
ductus:=false; |
| 620 |
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100); |
| 621 |
endchar; % end "U" |
| 622 |
|
| 623 |
cmchar "HMIN letter V"; |
| 624 |
beginchar("V", 2sb#+caprat*hstretch*(20/18x_height#), |
| 625 |
caprat*x_height#, 0); |
| 626 |
adjust_fit(0,0); |
| 627 |
pcshiftx := sb; |
| 628 |
numeric n[]; |
| 629 |
path pth[]; |
| 630 |
pickup quill; |
| 631 |
x100 = 0; |
| 632 |
n1 := rt x100 - lft x100; |
| 633 |
%% stem tops |
| 634 |
lft x1 = pcshiftx + 2n1; top y1 = h; |
| 635 |
rt x3 = w - pcshiftx - 2n1; top y3 = h; |
| 636 |
%% bottom |
| 637 |
x13 = 1/2[x1,x3]; bot y13 = 0; |
| 638 |
pth1 := z1{-pdir}..{-ppdir}z13; |
| 639 |
pth2 := z13{pdir}..z3; |
| 640 |
%%ductus:=true; |
| 641 |
if ductus: |
| 642 |
pickup stylus; |
| 643 |
fi |
| 644 |
draw pth1; draw pth2; |
| 645 |
draw (x1-2n1,y1)--(x1,y1); |
| 646 |
draw (x3,y3)--(x3+2n1,y3); |
| 647 |
ductus:=false; |
| 648 |
penlabels(1,2,3,4,5,11,13,14,23,26,100); |
| 649 |
endchar; % end "V" |
| 650 |
|
| 651 |
cmchar "HMIN letter W"; |
| 652 |
beginchar("W", 2sb#+caprat*hstretch*(26/18x_height#), |
| 653 |
caprat*x_height#, 0); |
| 654 |
adjust_fit(0,0); |
| 655 |
pcshiftx := sb; |
| 656 |
numeric n[]; |
| 657 |
path pth[]; |
| 658 |
pickup quill; |
| 659 |
x100 = 0; |
| 660 |
n1 := rt x100 - lft x100; |
| 661 |
%% stem tops |
| 662 |
lft x1 = pcshiftx + 2n1; top y1 = h; |
| 663 |
rt x5 = w - pcshiftx - 2n1; top y5 = h; |
| 664 |
z93 = 1/2[z1,z5]; |
| 665 |
x3 = rt x93; y3 = y93; |
| 666 |
%% V bottoms |
| 667 |
x13 = 1/2[x1,x3]; bot y13 = 0; |
| 668 |
x35 = 1/2[x3,x5]; bot y35 = 0; |
| 669 |
pth1 := z1{-pdir}..{-ppdir}z13; |
| 670 |
%%pth2 := z13{pdir}..z3; |
| 671 |
pth3 := z3{-pdir}..{-ppdir}z35; |
| 672 |
z335 = directionpoint down of pth3; |
| 673 |
%%pth2 := z13..{up}z3; |
| 674 |
%%pth3 := z3{down}..z35; |
| 675 |
pth2 := z13..{up}z335; |
| 676 |
pth4 := z35{pdir}..z5; |
| 677 |
%%ductus:=true; |
| 678 |
if ductus: |
| 679 |
pickup stylus; |
| 680 |
fi |
| 681 |
draw pth1; draw (x1-2n1,y1)--(x1,y1); |
| 682 |
draw pth2; |
| 683 |
draw (x3-n1,y3)--(x3,y3); |
| 684 |
draw pth3; |
| 685 |
draw pth4; draw (x5,y5)--(x5+2n1,y5); |
| 686 |
ductus:=false; |
| 687 |
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100); |
| 688 |
endchar; % end "W" |
| 689 |
|
| 690 |
cmchar "HMIN letter X"; |
| 691 |
beginchar("X", 2sb#+caprat*hstretch*(18/18x_height#), |
| 692 |
caprat*x_height#, 0); |
| 693 |
adjust_fit(0,0); |
| 694 |
path pth[]; |
| 695 |
numeric n[]; |
| 696 |
pcshiftx := sb; |
| 697 |
pickup quill; |
| 698 |
x100 = 0; |
| 699 |
n1 := rt x100 - lft x100; |
| 700 |
%% diag top left to bottom right |
| 701 |
lft x1=pcshiftx+n1; top y1 = h; |
| 702 |
rt x2 = w - pcshiftx - n1; bot y2 = 0; |
| 703 |
%% diag top right to bottom left |
| 704 |
rt x3 = w - pcshiftx - n1; top y3 = h; |
| 705 |
lft x4 = pcshiftx; bot y4 = 0; |
| 706 |
pth1 := z4{pdir}..z3; |
| 707 |
%%ductus:=true; |
| 708 |
if ductus: |
| 709 |
pickup stylus; |
| 710 |
fi |
| 711 |
draw z1--z2; draw pth1; |
| 712 |
draw (x1-n1,y1)--(x1+n1,y1); |
| 713 |
draw (x2-n1,y2)--(x2+n1,y2); |
| 714 |
draw (x3-n1,y3)--(x3+n1,y3); |
| 715 |
draw (x4,y4)--(x4+n1,y4); |
| 716 |
ductus:=false; |
| 717 |
penlabels(1,2,3,4,5,6,7,8,10,25,251,252,40,50,150,60,160,100); |
| 718 |
endchar; % end "X" |
| 719 |
|
| 720 |
cmchar "HMIN letter Y"; |
| 721 |
beginchar("Y", 2sb#+caprat*hstretch*(15/18x_height#), |
| 722 |
caprat*x_height#, desc_depth#); |
| 723 |
adjust_fit(0,0); |
| 724 |
pcshiftx := sb; |
| 725 |
path pth[]; |
| 726 |
numeric n[]; |
| 727 |
pickup quill; |
| 728 |
x100 = 0; |
| 729 |
n1 := rt x100 - lft x100; |
| 730 |
%% left stem top |
| 731 |
lft x1 = pcshiftx + n1; top y1 = h; |
| 732 |
%% upright |
| 733 |
x5 = 1/2w; y5 = 1/2y1; |
| 734 |
x6 = x5; bot y6 = 0; |
| 735 |
%% right stem |
| 736 |
rt x3=w-pcshiftx-n1; top y3 = h; |
| 737 |
pth1 := z5{ppdir}..{pdir}z1; % left |
| 738 |
pth2 := z5{pdir}..{left}z3; % right |
| 739 |
%%ductus:=true; |
| 740 |
if ductus: |
| 741 |
pickup stylus; |
| 742 |
fi |
| 743 |
draw z5--z6; draw (x6-n1,y6)--(x6+n1,y6); % stem |
| 744 |
draw pth1; draw (x1-n1,y1)--(x1,y1); |
| 745 |
draw pth2; |
| 746 |
ductus:=false; |
| 747 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 748 |
endchar; % end "Y" |
| 749 |
|
| 750 |
cmchar "HMIN letter Z"; |
| 751 |
beginchar("Z", 2sb#+caprat*hstretch*(14/18x_height#), |
| 752 |
caprat*x_height#, 0); |
| 753 |
adjust_fit(0,0); |
| 754 |
numeric n[]; |
| 755 |
path pth[]; |
| 756 |
pcshiftx := sb; |
| 757 |
pickup quill; |
| 758 |
%% top bar ends |
| 759 |
lft x1 = pcshiftx; rt x2 = w -pcshiftx; top y1 = top y2 = h; |
| 760 |
%% bottom bar ends |
| 761 |
lft x3 = pcshiftx; rt x4 = w -pcshiftx; bot y3 = bot y4 = 0; |
| 762 |
%% middle bar |
| 763 |
lft x5 = x1; rt x6 = x2; y5 = y6 = 1/2h; |
| 764 |
%%ductus:=true; |
| 765 |
if ductus: |
| 766 |
pickup stylus; |
| 767 |
fi |
| 768 |
draw z1--z2; draw z3--z4; draw z5--z6; |
| 769 |
draw z2--z3; |
| 770 |
ductus:=false; |
| 771 |
penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100); |
| 772 |
endchar; % end "Z" |
| 773 |
|