| 1 |
%written by Basil Solomykov, Russia |
| 2 |
%(C) Copyright 2011 LPPL (LaTeX Project Public License) |
| 3 |
%Font Ordinary New (Obyknovennaya novaya), Italic |
| 4 |
|
| 5 |
design_size := 10pt#; |
| 6 |
o# := .45pt#; |
| 7 |
u# := 19/35pt#; |
| 8 |
bar# := 10/36pt#; |
| 9 |
slab# := 10/36pt#; |
| 10 |
cap_bar# := 10/36pt#; |
| 11 |
vair# := 10/36pt#; |
| 12 |
hair# := 10/36pt#; |
| 13 |
jut# := 20/36pt#; |
| 14 |
cap_jut# := 26/36pt#; |
| 15 |
stem# := 30/36pt#; |
| 16 |
curve# := 31/36pt#; |
| 17 |
cap_stem# := 36/36pt#; |
| 18 |
cap_curve# := 37.2/36pt#; |
| 19 |
s# := 0.4pt#; |
| 20 |
c# := .2pt#; |
| 21 |
|
| 22 |
input obn_lcyw_code.mf |
| 23 |
font_identifier "OBNIT"; |
| 24 |
mode_setup; |
| 25 |
clear_pen_memory; |
| 26 |
|
| 27 |
font_size design_size*pt#; |
| 28 |
asc_height# := 24/36*design_size*pt#; |
| 29 |
cap_height# := 24/36*design_size*pt#; |
| 30 |
body_height# := 27/36*design_size*pt#; |
| 31 |
x_height# := 15.4/36*design_size*pt#; |
| 32 |
desc_depth# := 8/36*design_size*pt#; |
| 33 |
body_depth# := 9/36*design_size*pt#; |
| 34 |
comma_depth# := 5/36*design_size*pt#; |
| 35 |
x_depth# := 4/5comma_depth#; |
| 36 |
bar_height# := .52x_height#; |
| 37 |
cap_bar_height# := .52cap_height#; |
| 38 |
cap_bar2_height# := .45cap_height#; |
| 39 |
border_height# := comma_depth#; |
| 40 |
cap_drop_round# := 4*slab#; |
| 41 |
drop_round# := 6/8cap_drop_round#; |
| 42 |
|
| 43 |
bracket# := pt#; |
| 44 |
|
| 45 |
font_slant 1.5u#; |
| 46 |
font_x_height x_height#; |
| 47 |
font_normal_space 9u#; |
| 48 |
font_normal_stretch 4u#; |
| 49 |
font_normal_shrink 2u#; |
| 50 |
font_quad 16u#; |
| 51 |
font_extra_space 6u#; |
| 52 |
|
| 53 |
k# := .8u#; |
| 54 |
kk# := 1.5u#; |
| 55 |
kkk# := 3u#; |
| 56 |
|
| 57 |
serif_darkness := 1/30; |
| 58 |
define_pixels(bracket,cap_o_width,sss_width,css_width); |
| 59 |
define_pixels(c,s,cap_bar_height,cap_bar2_height); |
| 60 |
define_pixels(border_height,A_bracket,cap_drop_round,x_depth,drop_round); |
| 61 |
define_whole_blacker_pixels(stem,cap_stem,curve,cap_curve,bar,slab,cap_bar); |
| 62 |
define_good_x_pixels(hair); define_good_y_pixels(vair); |
| 63 |
define_whole_pixels(asc_height,cap_height,x_height,u,desc_depth,comma_depth,bar_height,body_height,body_depth,u,o,cap_jut,jut); |
| 64 |
%define_corrected_pixels(); |
| 65 |
lowres_fix(stem,curve) 1.2; |
| 66 |
lowres_fix(cap_stem,cap_curve) 1.2; |
| 67 |
if jut=cap_jut: jut:=jut-1; fi |
| 68 |
|
| 69 |
def serif(suffix $)(expr breadth, theta, left_jut, right_jut)= |
| 70 |
penpos$(breadth/abs sind theta, 0); |
| 71 |
z$a-z$l=z$f-z$r=(bracket/abs sind theta)*dir theta; |
| 72 |
y$c=y$d; y$b=y$e=y$; y$b-y$c=if theta < 0: -fi slab; |
| 73 |
x$b=x$c=x$g if left_jut=0: -1/2slab fi +1/2slab; x$d=x$e=x$h if right_jut=0: +1/2slab fi-1/2slab; |
| 74 |
x$g=x$l-left_jut; x$h=x$r+right_jut; %Крайние точки закруглений |
| 75 |
y$g=y$h; y$-y$g=y$g-y$c; |
| 76 |
labels($a,$b,$c,$d,$e,$f,$g,$h) enddef; |
| 77 |
|
| 78 |
def serif_edge suffix $ = |
| 79 |
(serif_bracket($a,$l,$b)..z$g..z$c--z$d..z$h..reverse serif_bracket($f,$r,$e)) enddef; |
| 80 |
|
| 81 |
def serif_bracket (suffix i,j,k) = |
| 82 |
(z.i{z.j-z.i}...serif_darkness[z.j, .5[z.i, z.k]]{z.k-z.i}...z.k{z.k-z.j}) enddef; |
| 83 |
|
| 84 |
def T_serif(suffix $)(expr slab, bord_height, direction)= %Direction: 0-left, 1-right; |
| 85 |
penpos$(slab,if direction=1: - fi 90); |
| 86 |
x$=x$a=x$g; y$g-y$=y$-y$a=1/2slab; |
| 87 |
x$b=x$a + if direction=0: - fi .882bord_height; y$b=y$d=y$c+1/2slab; |
| 88 |
x$c=x$b + if direction=0: - fi 1/2slab; y$c=y$a-bord_height; |
| 89 |
x$d=x$e=x$b + if direction=0: - fi slab; |
| 90 |
y$e=y$g-1/2slab; y$f=y$g; x$f=x$c; |
| 91 |
labels($a,$b,$c,$d,$e,$f,$g) enddef; |
| 92 |
|
| 93 |
def T_edge suffix $ = |
| 94 |
(z$a..{down}z$b..z$c..z$d--z$e{up}..z$f--z$g--cycle) enddef; |
| 95 |
|
| 96 |
def A_serif(suffix $)(expr breadth, theta, left_jut, right_jut)= |
| 97 |
penpos$(breadth/abs sind theta, 0); |
| 98 |
z$a-z$l=z$f-z$r=(bracket/abs sind theta)*dir theta; |
| 99 |
y$c=y$d; y$b=y$e=y$; y$b-y$c=if theta < 0: -fi slab; |
| 100 |
x$b=x$c=x$g+1/2slab; x$d=x$e=x$h-1/2slab; |
| 101 |
x$g=x$l-left_jut; x$h=x$r+right_jut; |
| 102 |
y$g=y$h; y$-y$g=y$g-y$c; |
| 103 |
labels($a,$b,$c,$d,$e,$f,$g,$h) enddef; |
| 104 |
|
| 105 |
def A_serif_edge suffix $ = |
| 106 |
(A_serif_bracket($a,$l,$b)..z$g..z$c--z$d..z$h..reverse A_serif_bracket($f,$r,$e)) enddef; |
| 107 |
|
| 108 |
def A_serif_bracket (suffix i,j,k) = |
| 109 |
(z.i{z.j-z.i}...0.6[z.j, .5[z.i, z.k]]{z.k-z.i}...z.k{z.k-z.j}) enddef; |
| 110 |
|
| 111 |
def ur_drop(suffix $)(expr drop_round, drop_length, drop_height, slab)= |
| 112 |
penpos$(round slab, 90); |
| 113 |
x$=x$a=x$f; y$f-y$=y$-y$a= 1/2slab; |
| 114 |
x$e=x$a + drop_length; y$e=y$f- drop_height; |
| 115 |
x$d=x$e - 1/2drop_round; y$d=y$e - 1/2drop_round; |
| 116 |
x$c=x$e - drop_round; y$c=y$e; |
| 117 |
y$b=round (y$d + drop_round); x$b=round (x$d - 1/5drop_round); |
| 118 |
labels($a,$b,$c,$d,$e,$f) enddef; |
| 119 |
|
| 120 |
def ur_drop_edge suffix $ = |
| 121 |
(z$f{right}..tension.9..{down}z$e{down}..{left}z$d{left}..{up}z$c{up}..z$b...{left}z$a--cycle) enddef; |
| 122 |
|
| 123 |
def ul_drop(suffix $)(expr drop_round, drop_length, drop_height, slab)= |
| 124 |
penpos$(round slab, 90); |
| 125 |
x$=x$a=x$f; y$f-y$=y$-y$a=1/2slab; |
| 126 |
x$e=x$a - drop_length; y$e=y$f- drop_height; |
| 127 |
x$d=x$e + 1/2drop_round; y$d=y$e - 1/2drop_round; |
| 128 |
x$c=x$e + drop_round; y$c=y$e; |
| 129 |
y$b=round (y$d + drop_round); x$b=round (x$d + 1/5drop_round); |
| 130 |
labels($a,$b,$c,$d,$e,$f) enddef; |
| 131 |
|
| 132 |
def ul_drop_edge suffix $ = |
| 133 |
(z$f{left}..tension.9..{down}z$e{down}..{right}z$d{right}..{up}z$c{up}..z$b...{right}z$a--cycle) enddef; |
| 134 |
|
| 135 |
def dl_drop(suffix $)(expr drop_round, drop_length, drop_height, slab)= |
| 136 |
penpos$(round slab, -90); |
| 137 |
x$=x$a=x$f; y$f-y$=y$-y$a=1/2slab; |
| 138 |
x$e=x$a - drop_length; y$e=y$a + drop_height; |
| 139 |
x$d=x$e + 1/2drop_round; y$d=y$e + 1/2drop_round; |
| 140 |
x$c=x$e + drop_round; y$c=y$e; |
| 141 |
y$b=round (y$d - drop_round); x$b=x$d + 1/90drop_round; |
| 142 |
labels($a,$b,$c,$d,$e,$f) enddef; |
| 143 |
|
| 144 |
def dl_drop_edge suffix $ = |
| 145 |
(z$a{left}..tension.9..{up}z$e{up}..{right}z$d{right}..{down}z$c..{dir 250}z$b{dir -80}..{right}z$f--cycle) enddef; |
| 146 |
|
| 147 |
def S_serif (suffix $)(expr serif_slab, serif_length, serif_height)= |
| 148 |
%penpos$(serif_slab,90); |
| 149 |
x$a=x$i=x$; y$i=y$+1/2serif_slab; y$a=y$-1/2serif_slab; |
| 150 |
x$f=x$e=x$a+serif_length; y$f=y$g-1/2serif_slab; y$e=y$c=y$d+1/2serif_slab; |
| 151 |
x$g=x$f-1/2serif_slab; y$g=y$i-1/2serif_slab; |
| 152 |
y$h=y$f-1/4serif_slab; x$h=x$g-serif_slab; |
| 153 |
x$c=x$e-serif_slab; x$d=x$e-1/2serif_slab; y$d=y$g-serif_height; |
| 154 |
x$b=x$h-6/18serif_length; y$b=y$h-1/2slab; |
| 155 |
labels ($a,$b,$c,$d,$e,$f,$g,$h,$i) enddef; |
| 156 |
|
| 157 |
def S_serif_edge suffix $ = |
| 158 |
(z$a{right}...z$b..{dir -80}z$c..z$d..z$e--z$f{up}..z$g{left}..z$h{dir 150}..{left}z$i--cycle) enddef; |
| 159 |
|
| 160 |
currenttransform := identity slanted sind 18; |
| 161 |
beginchar(CYR_A,13u#+s#,cap_height#,0); |
| 162 |
z1=(.5w,h+1/13h); |
| 163 |
x4l=w-x5r=s+cap_jut; y4l=y5r=slab; |
| 164 |
numeric theta[]; |
| 165 |
theta4=angle(z1-z4l); |
| 166 |
theta5=angle(z1-z5r); |
| 167 |
A_serif(4,1.3cap_bar,theta4,cap_jut,1.2cap_jut); |
| 168 |
serif(5,cap_stem,theta5,cap_jut,cap_jut); |
| 169 |
z0=z4r+whatever*dir theta4=z5l+whatever*dir theta5; |
| 170 |
fill z1--A_serif_edge4--z0&z0--serif_edge5--z1&cycle; |
| 171 |
penpos2(whatever,theta4); |
| 172 |
penpos3(whatever,theta5); |
| 173 |
y2r=y3r=20/52h; |
| 174 |
y2l=y3l=y2r-cap_bar; |
| 175 |
z2=whatever[z1,z4r]; |
| 176 |
z3=whatever[z1,z5l]; |
| 177 |
penstroke z2e--z3e; |
| 178 |
y6=y7=h; z6=whatever[z1,z4b]; z7=whatever[z1,z5r]; |
| 179 |
unfill z1..z6--z7..z1&cycle; |
| 180 |
unfill z1..z6--z7..z1&cycle; |
| 181 |
penlabels(range 0 thru 7); |
| 182 |
endchar; |
| 183 |
|
| 184 |
beginchar(CYR_BE,11u#+s#,cap_height#,0); |
| 185 |
italcorr cap_height#*sind 18-2.67u#; |
| 186 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 187 |
x3=x10=x1d; y3=y4=y5=h-1/2slab; |
| 188 |
y1c=h; y2c=0; x5e=w-s-cap_stem; |
| 189 |
y6=y7=cap_bar_height; x6=x2r; x7=x9=x6+5u-cap_stem; |
| 190 |
y7-y8=y8-y9; x8=w-1/2cap_curve-s; |
| 191 |
y9=y10=y2h; x4=w-s-cap_stem-border_height; |
| 192 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 193 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 194 |
penpos3(slab,90); |
| 195 |
penpos4(slab,90); |
| 196 |
penstroke z3e--z4e; |
| 197 |
T_serif(5,slab,border_height,1); |
| 198 |
fill T_edge5; |
| 199 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 200 |
penpos6(cap_bar,90); |
| 201 |
penpos7(cap_bar,90); |
| 202 |
penpos8(cap_curve,0); |
| 203 |
penpos9(cap_bar,-90); |
| 204 |
penpos10(cap_bar,-90); |
| 205 |
penstroke z6e--z7e{right}..tension.8..z8e..tension.8..{left}z9e--z10e; |
| 206 |
penlabels(range 1 thru 10); |
| 207 |
endchar; |
| 208 |
|
| 209 |
beginchar(CYR_VE,11u#+s#,cap_height#,0); |
| 210 |
italcorr cap_height#*sind 18-2.27u#; |
| 211 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 212 |
x3=x10=x1d; y3=y4=h-1/2slab; x4=x3+u; |
| 213 |
y1c=h; y2c=0; |
| 214 |
y6=y7=cap_bar_height; x6=x2r; x7=x9=x6+4.5u-cap_stem; |
| 215 |
y7-y8=y8-y9; x8=w-1/2cap_curve-s; |
| 216 |
y9=y10=y2h; |
| 217 |
y4-y5=y5-y7; x5=x8-2/5cap_curve; y77=y7; x77=x4; |
| 218 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 219 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 220 |
penpos3(slab,90); |
| 221 |
penpos4(slab,90); |
| 222 |
penpos5(cap_curve,0); |
| 223 |
penpos77(slab,-90); |
| 224 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 225 |
penpos6(cap_bar,90); |
| 226 |
penpos7(cap_bar,90); |
| 227 |
penpos8(cap_curve,0); |
| 228 |
penpos9(cap_bar,-90); |
| 229 |
penpos10(cap_bar,-90); |
| 230 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z77e; |
| 231 |
penstroke z6e--z7e{right}..tension.8..z8e..tension.8..{left}z9e--z10e; |
| 232 |
css_width := x8 - x2r; save css_width; |
| 233 |
penlabels(range 1 thru 10,77); |
| 234 |
endchar; |
| 235 |
|
| 236 |
beginchar(CYR_GHE,9u#+s#,cap_height#,0); |
| 237 |
italcorr cap_height#*sind 18-.77u#; |
| 238 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 239 |
y4=y3=h-1/2slab; x4=x1d; |
| 240 |
y1c=h; y2c=0; x3=x4+2u; |
| 241 |
y5=y3; x5e=w-s; |
| 242 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 243 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 244 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 245 |
penpos3(cap_bar,-90); |
| 246 |
penpos4(cap_bar,-90); |
| 247 |
penstroke z3e--z4e; |
| 248 |
T_serif(5,slab,border_height,1); |
| 249 |
fill T_edge5; |
| 250 |
penlabels(1,2,3,4,5); |
| 251 |
endchar; |
| 252 |
|
| 253 |
beginchar(CYR_DE,12u#,cap_height#,comma_depth#); |
| 254 |
italcorr cap_height#*sind 18-1.03u#; |
| 255 |
x10e=w-s; y10c=-d; |
| 256 |
y4c=h; x4h=w-s-1/2slab; |
| 257 |
x9=x4; y9c=0; |
| 258 |
x3=x8=x9d; y8=y7=1/2cap_bar; y3=y2=h-y8; |
| 259 |
x6e=s; y6=y10; x7=border_height+s; |
| 260 |
y5=y9; x5g=s+.5u; y1=y4; x1=x5+1.5u; |
| 261 |
x2=x1c; |
| 262 |
A_serif(1,1.2cap_bar,-96,10/7cap_jut,cap_jut); |
| 263 |
A_serif(5,1.2cap_bar,81,6/7cap_jut,cap_jut); |
| 264 |
serif(4,cap_stem,-90,cap_jut,cap_jut); |
| 265 |
serif(9,cap_stem,90,cap_jut,cap_jut); |
| 266 |
penpos2(cap_bar,90); |
| 267 |
penpos3(cap_bar,90); |
| 268 |
penpos7(cap_bar,90); |
| 269 |
penpos8(cap_bar,90); |
| 270 |
penstroke z7e--z8e; penstroke z2e--z3e; |
| 271 |
fill A_serif_edge5...reverse A_serif_edge1...cycle; |
| 272 |
fill serif_edge9--reverse serif_edge4--cycle; |
| 273 |
T_serif(6,slab,border_height,0); |
| 274 |
T_serif(10,slab,border_height,1); |
| 275 |
fill T_edge6; |
| 276 |
fill T_edge10; |
| 277 |
penlabels(range 1 thru 10); |
| 278 |
endchar; |
| 279 |
|
| 280 |
beginchar(CYR_IE,10u#+s#,cap_height#,0); |
| 281 |
italcorr cap_height#*sind 18-1.2u#; |
| 282 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 283 |
y4=y3=h-1/2slab; x4=x1d; |
| 284 |
y1c=h; y2c=0; |
| 285 |
y5=y3; x5e=w-s-c; |
| 286 |
y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u; |
| 287 |
T_serif(5,slab,border_height,1); |
| 288 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 289 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 290 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 291 |
x3=x5a; |
| 292 |
penpos3(cap_bar,-90); |
| 293 |
penpos4(cap_bar,-90); |
| 294 |
penstroke z3e--z4e; |
| 295 |
fill T_edge5; |
| 296 |
penpos6(cap_bar,90); |
| 297 |
penpos7(cap_bar,90); |
| 298 |
penstroke z6e--z7e; |
| 299 |
T_serif(8,cap_bar,.8border_height,1); |
| 300 |
fill T_edge8; |
| 301 |
fill T_edge8 reflectedabout(z6,z7); |
| 302 |
y9=y10=y11=y2h; x9=x2d; x11e=w-s; |
| 303 |
T_serif(11,cap_bar,border_height,1); x10=x11; |
| 304 |
penpos9(cap_bar,90); |
| 305 |
penpos10(cap_bar,90); |
| 306 |
penstroke z9e--z10e; |
| 307 |
fill T_edge11 reflectedabout(z9,z10); |
| 308 |
penlabels(range 1 thru 11); |
| 309 |
endchar; |
| 310 |
|
| 311 |
beginchar(CYR_YE,10u#+s#,cap_height#,0); |
| 312 |
italcorr cap_height#*sind 18-1.2u#; |
| 313 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 314 |
y4=y3=h-1/2slab; x4=x1d; |
| 315 |
y1c=h; y2c=0; |
| 316 |
y5=y3; x5e=w-s-c; |
| 317 |
y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u; |
| 318 |
T_serif(5,slab,border_height,1); |
| 319 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 320 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 321 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 322 |
x3=x5a; |
| 323 |
penpos3(cap_bar,-90); |
| 324 |
penpos4(cap_bar,-90); |
| 325 |
penstroke z3e--z4e; |
| 326 |
fill T_edge5; |
| 327 |
penpos6(cap_bar,90); |
| 328 |
penpos7(cap_bar,90); |
| 329 |
penstroke z6e--z7e; |
| 330 |
T_serif(8,cap_bar,.8border_height,1); |
| 331 |
fill T_edge8; |
| 332 |
fill T_edge8 reflectedabout(z6,z7); |
| 333 |
y9=y10=y11=y2h; x9=x2d; x11e=w-s; |
| 334 |
T_serif(11,cap_bar,border_height,1); x10=x11; |
| 335 |
penpos9(cap_bar,90); |
| 336 |
penpos10(cap_bar,90); |
| 337 |
penstroke z9e--z10e; |
| 338 |
fill T_edge11 reflectedabout(z9,z10); |
| 339 |
x12=x13=x2r; y12=h+1/4cap_stem; y13=y12+cap_stem; |
| 340 |
x14=x15=x12+2cap_stem; y14=y12; y15=y13; |
| 341 |
fill z12..z13..cycle; fill z14..z15..cycle; |
| 342 |
penlabels(range 1 thru 15); |
| 343 |
endchar; |
| 344 |
|
| 345 |
beginchar(CYR_ZHE,round (16u#+s#),cap_height#,0); |
| 346 |
italcorr cap_height#*sind 18-1.1u#; |
| 347 |
if .5w = good.x .5w: change_width; fi |
| 348 |
x8=x9=.5w; y8c=h; y9c=0; |
| 349 |
serif(8,cap_stem,-90,cap_jut,cap_jut); |
| 350 |
serif(9,cap_stem,90,cap_jut,cap_jut); |
| 351 |
fill serif_edge9--reverse serif_edge8--cycle; |
| 352 |
x7=x8l; y7=y4=y10=y11=cap_bar_height; x4=x7-1.5u; |
| 353 |
x10=x8r; x11=x10+1.5u; x16=w-s; y16=0; x16-x15=x15-x11; y11-y15=y15-y16; |
| 354 |
x6=s; y6=0; y4-y5=y5-y6; x4-x5=x5-x6; |
| 355 |
penpos7(cap_bar,90); |
| 356 |
penpos4(cap_bar,90); |
| 357 |
penpos5(cap_curve,180); |
| 358 |
penpos6(cap_bar,90); |
| 359 |
penpos10(cap_bar,90); |
| 360 |
penpos11(cap_bar,90); |
| 361 |
penpos15(cap_curve,0); |
| 362 |
penpos16(cap_bar,90); |
| 363 |
penstroke z6e{right}..tension.8..{up}z5e{up}..tension.8..{right}z4e--z7e; |
| 364 |
penstroke z16e{left}..tension.8..{up}z15e{up}..tension.8..{left}z11e--z10e; |
| 365 |
x12=x15-1/2cap_stem; y13=h; x13-x12=x12-x11; y13-y12=y12-y11; |
| 366 |
penpos12(hair,180); |
| 367 |
penpos13(cap_bar,90); |
| 368 |
penstroke z11e{right}..tension.8..{up}z12e{up}..tension.8..{right}z13e; |
| 369 |
y14=h; x14a=x13; |
| 370 |
ur_drop(14,cap_drop_round,.9cap_drop_round,cap_drop_round,cap_bar); |
| 371 |
fill ur_drop_edge14; |
| 372 |
x3=x5+1/2cap_stem; y2=h; x4-x3=x3-x2; y2-y3=y3-y4; |
| 373 |
penpos3(hair,0); |
| 374 |
penpos2(cap_bar,90); |
| 375 |
penstroke z4e{left}..tension.8..{up}z3e{up}..tension.8..{left}z2e; |
| 376 |
y1=h; x1a=x2; fill z6l..z6r..cycle; |
| 377 |
ul_drop(1,cap_drop_round,.9cap_drop_round,cap_drop_round,cap_bar); |
| 378 |
fill ul_drop_edge1; fill z16l..z16r..cycle; |
| 379 |
penlabels(range 1 thru 16); |
| 380 |
endchar; |
| 381 |
|
| 382 |
beginchar(CYR_ZE,10u#+.5s#,cap_height#,0); |
| 383 |
italcorr cap_height#*sind 18-2.1u#; |
| 384 |
x7=18/39w; y7=0; y4=y5=y44=cap_bar_height; |
| 385 |
x4=x6-3/2cap_stem; x5=x4-3u; |
| 386 |
x6=w-s-1/2cap_curve; y4-y6=y6-y7; |
| 387 |
x2=.5w; y2=h; x3=x6-1/3cap_curve; y2-y3=y3-y4; |
| 388 |
x44=x2; z1=z2; |
| 389 |
penpos2(cap_bar,90); |
| 390 |
penpos3(cap_curve,0); |
| 391 |
penpos44(cap_bar,-90); |
| 392 |
penpos4(cap_bar,90); |
| 393 |
penpos5(cap_bar,90); |
| 394 |
penpos6(cap_curve,0); |
| 395 |
penpos7(cap_bar,-90); |
| 396 |
penstroke z2e{right}..tension.9..{down}z3e{down}..tension.9..{left}z44e; |
| 397 |
penstroke z5e--z4e{right}..tension.8..{down}z6e{down}..tension.8..{left}z7e; |
| 398 |
fill z5r..z5l..cycle; |
| 399 |
S_serif(1,slab,.5w-3c,1.4border_height); |
| 400 |
fill S_serif_edge1 reflectedabout(z2r,z2l); |
| 401 |
x8e=s; y8=0; |
| 402 |
dl_drop(8,cap_drop_round,18/39w-s,1.5cap_drop_round,slab); |
| 403 |
fill dl_drop_edge8; |
| 404 |
%currentpicture := currentpicture shifted(-u,0); |
| 405 |
penlabels(range 1 thru 8,44); |
| 406 |
endchar; |
| 407 |
|
| 408 |
beginchar(CYR_I,12u#+s#,cap_height#,0); |
| 409 |
italcorr cap_height#*sind 18-.8u#; |
| 410 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 411 |
x5=x1+1/3cap_stem; x6=x4-1/3cap_stem; |
| 412 |
x3=x4=w-x1; |
| 413 |
y1c=y3c=h; y2c=y4c=0; |
| 414 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 415 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 416 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 417 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 418 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 419 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 420 |
penpos5(cap_bar,-18); penpos6(cap_bar,-18); |
| 421 |
y5=.05h; y6=.95h; penstroke z5e--z6e; |
| 422 |
penlabels(range 1 thru 6); |
| 423 |
endchar; |
| 424 |
|
| 425 |
beginchar(CYR_SHORT_I,12u#+s#,cap_height#,0); |
| 426 |
italcorr cap_height#*sind 18-.8u#; |
| 427 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 428 |
x5=x1+1/3cap_stem; x6=x4-1/3cap_stem; |
| 429 |
x3=x4=w-x1; |
| 430 |
y1c=y3c=h; y2c=y4c=0; |
| 431 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 432 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 433 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 434 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 435 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 436 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 437 |
penpos5(cap_bar,-18); penpos6(cap_bar,-18); |
| 438 |
y5=.05h; y6=.95h; penstroke z5e--z6e; |
| 439 |
y7d=h+1.5cap_drop_round; z7d=z1r+whatever*dir 78; |
| 440 |
dl_drop(7,.95cap_drop_round,1.3stem,.9cap_drop_round,bar); |
| 441 |
fill dl_drop_edge7; fill z7e..z7c..cycle; |
| 442 |
z8=z7; y9=y7d-2bar; z9=z3+whatever*dir 105; |
| 443 |
penpos8(bar,90); penpos9(bar,135); |
| 444 |
penstroke z8e{right}..tension1.3..z9e; |
| 445 |
fill z9l..tension1.3..z9r..tension1.3..cycle; |
| 446 |
penlabels(range 1 thru 9); |
| 447 |
endchar; |
| 448 |
|
| 449 |
beginchar(CYR_KA,12u#+s#,cap_height#,0); |
| 450 |
italcorr cap_height#*sind 18-1.11u#; |
| 451 |
x8g=x9g=s; y8c=h; y9c=0; |
| 452 |
serif(8,cap_stem,-90,cap_jut,cap_jut); |
| 453 |
serif(9,cap_stem,90,cap_jut,cap_jut); |
| 454 |
fill serif_edge9--reverse serif_edge8--cycle; |
| 455 |
y10=y11=cap_bar_height; |
| 456 |
x10=x8r; x11=x10+2.5u; x16=w-s; y16=0; x16-x15=x15-x11; y11-y15=y15-y16; |
| 457 |
penpos10(cap_bar,90); |
| 458 |
penpos11(cap_bar,90); |
| 459 |
penpos15(cap_curve,0); |
| 460 |
penpos16(cap_bar,90); |
| 461 |
penstroke z16e{left}..tension.8..{up}z15e{up}..tension.8..{left}z11e--z10e; |
| 462 |
x12=x15-1/2cap_stem; y13=h; x13-x12=x12-x11; y13-y12=y12-y11; |
| 463 |
penpos12(hair,180); |
| 464 |
penpos13(cap_bar,90); |
| 465 |
penstroke z11e{right}..tension.8..{up}z12e{up}..tension.8..{right}z13e; |
| 466 |
y14=h; x14a=x13; fill z16l..z16r..cycle; |
| 467 |
ur_drop(14,cap_drop_round,.9cap_drop_round,cap_drop_round,cap_bar); |
| 468 |
fill ur_drop_edge14; |
| 469 |
penlabels(range 1 thru 16); |
| 470 |
endchar; |
| 471 |
|
| 472 |
beginchar(CYR_EL,13u#+1/2s#,cap_height#,0); |
| 473 |
italcorr cap_height#*sind 18-.82u#; |
| 474 |
x7h=x8h=w-s; |
| 475 |
y7c=h; y8c=0; |
| 476 |
y1=0; x1e=s; z2=z1; x3=x2+.8cap_drop_round; y3=1.1cap_drop_round; |
| 477 |
dl_drop(1,1.1cap_drop_round,1.1cap_drop_round,1.2cap_drop_round,slab); |
| 478 |
fill dl_drop_edge1; |
| 479 |
penpos2(cap_bar,-90); |
| 480 |
penpos3(cap_bar,0); |
| 481 |
penstroke z2e{right}..{up}z3e; |
| 482 |
x4=x3r; y4=h-slab; |
| 483 |
numeric theta[]; |
| 484 |
theta1=angle(z3-z4); |
| 485 |
A_serif(4,cap_bar,theta1,1.3cap_jut,1.3cap_jut); |
| 486 |
fill A_serif_edge4..z3r--z3l..cycle; |
| 487 |
serif(7,cap_stem,-90,cap_jut,cap_jut); |
| 488 |
serif(8,cap_stem,90,cap_jut,cap_jut); |
| 489 |
fill serif_edge8--reverse serif_edge7--cycle; |
| 490 |
x5=x4d; y5=y6=y7h; x6=x7c; |
| 491 |
penpos5(cap_bar,90); |
| 492 |
penpos6(cap_bar,90); |
| 493 |
penstroke z5e--z6e; |
| 494 |
%currentpicture := currentpicture shifted(-.7u,0); |
| 495 |
penlabels(1,2,3,4,5,6,7,8); |
| 496 |
endchar; |
| 497 |
|
| 498 |
beginchar(CYR_EM,13u#+s#,cap_height#,0); |
| 499 |
italcorr cap_height#*sind 18-.8u#; |
| 500 |
x1g=s; y1c=0; y2=h-cap_bar; |
| 501 |
A_serif(1,cap_bar,90,jut,jut); |
| 502 |
x2=x1; serif(2,cap_bar,-90,jut,jut); |
| 503 |
fill A_serif_edge1--reverse serif_edge2--cycle; |
| 504 |
x3h=x4h=w-s; y3g=h-1/2cap_bar; y4c=0; |
| 505 |
serif(3,cap_stem,-90,.51cap_bar, jut); |
| 506 |
serif(4,cap_stem,90,jut,jut); |
| 507 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 508 |
z5l=z3g; penpos5(bar,-18); penpos6(bar,-18); |
| 509 |
z6=z5+whatever*dir -109; y6=0; |
| 510 |
penstroke z5e--z6e; |
| 511 |
z7l=z6l+whatever*dir 109; y7l=11/54h; |
| 512 |
z8l=whatever[z6l,z7l]; y8l=h; |
| 513 |
penpos7(cap_stem,0); penpos8(cap_stem,0); |
| 514 |
penstroke z7e--z8e; fill z6l--z7l--z7r--cycle; |
| 515 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 516 |
penlabels(range 1 thru 8); |
| 517 |
endchar; |
| 518 |
|
| 519 |
beginchar(CYR_EN,12u#+s#,cap_height#,0); |
| 520 |
italcorr cap_height#*sind 18-.8u#; |
| 521 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 522 |
x3=x4=w-x1; x5=x1r; x6=x3l; |
| 523 |
y1c=y3c=h; y2c=y4c=0; |
| 524 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 525 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 526 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 527 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 528 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 529 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 530 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 531 |
y5=y6=cap_bar_height; penstroke z5e--z6e; |
| 532 |
penlabels(1,2,3,4,5,6); |
| 533 |
endchar; |
| 534 |
|
| 535 |
beginchar(CYR_O,11u#+s#,cap_height#,0); |
| 536 |
italcorr cap_height#*sind 18-2.2u#; |
| 537 |
penpos1(vair,90); |
| 538 |
penpos2(o,30); |
| 539 |
penpos3(cap_curve,0); |
| 540 |
penpos4(o,-30); |
| 541 |
penpos5(vair,-90); |
| 542 |
penpos6(o,-150); |
| 543 |
penpos7(cap_curve,-180); |
| 544 |
penpos8(o,-210); |
| 545 |
x1=x5=.5w; y1=0; y5=h; |
| 546 |
y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s; |
| 547 |
y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5); |
| 548 |
penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle; |
| 549 |
cap_o_width := x7-x3; save cap_o_width; |
| 550 |
%currentpicture := currentpicture shifted(-1.8u,0); |
| 551 |
penlabels(1,2,3,4,5,6,7,8); |
| 552 |
endchar; |
| 553 |
|
| 554 |
beginchar(CYR_PE,12u#+s#,cap_height#,0); |
| 555 |
italcorr cap_height#*sind 18-.8u#; |
| 556 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 557 |
x3=x4=w-x1; x5=x1d; x6=x3c; |
| 558 |
y1c=y3c=h; y2c=y4c=0; |
| 559 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 560 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 561 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 562 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 563 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 564 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 565 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 566 |
y5=y6=y1h; penstroke z5e--z6e; |
| 567 |
penlabels(1,2,3,4,5,6); |
| 568 |
endchar; |
| 569 |
|
| 570 |
beginchar(CYR_ER,10u#+s#,cap_height#,0); |
| 571 |
italcorr cap_height#*sind 18-1.55u#; |
| 572 |
x1=x2=x3=cap_jut+1/2cap_stem+s; |
| 573 |
y3=y4=cap_bar2_height; y7=y6=h-1/2slab; x7=x3+c; |
| 574 |
y1c=h; y2c=0; x6=x4=x3+3u; |
| 575 |
y5-y4=y6-y5; x5=w-1/2cap_curve-s; |
| 576 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 577 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 578 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 579 |
penpos3(cap_bar,-90); |
| 580 |
penpos4(cap_bar,-90); |
| 581 |
penpos5(cap_curve,0); |
| 582 |
penpos7(cap_bar,90); |
| 583 |
penpos6(cap_bar,90); |
| 584 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e; |
| 585 |
penlabels(1,2,3,4,5,6,7); |
| 586 |
endchar; |
| 587 |
|
| 588 |
beginchar(CYR_ES,10u#+s#,cap_height#,0); |
| 589 |
italcorr cap_height#*sind 18-1.2u#; |
| 590 |
x1=x5=23/42w; y1=0; y5=h; |
| 591 |
y3=.5h; x3=1/2cap_curve+s; |
| 592 |
y2=0.1h-c; y4=0.9h+c; x2=x4=x3+7/16(x1-x3); |
| 593 |
penpos1(cap_bar,90); |
| 594 |
penpos2(o,30); |
| 595 |
penpos3(cap_curve,0); |
| 596 |
penpos4(o,-30); |
| 597 |
penpos5(cap_bar,-90); |
| 598 |
penstroke z1e{left}..z2e..z3e..z4e..{right}z5e; |
| 599 |
z6=z5; y7=y1; x7e=w-s; y8=y1; x8=x1-.1w; |
| 600 |
S_serif(6,slab,w-s-c-x1,1.5border_height); |
| 601 |
S_serif(7,slab,w-s-x1,1.5border_height); |
| 602 |
fill S_serif_edge6; fill S_serif_edge7 reflectedabout(z1,z8); |
| 603 |
%currentpicture := currentpicture shifted(-1.7u,0); |
| 604 |
penlabels(1,2,3,4,5,6,7,8); |
| 605 |
endchar; |
| 606 |
|
| 607 |
beginchar(CYR_TE,round (11u#+s#),cap_height#,0); |
| 608 |
italcorr cap_height#*sind 18-.8u#; |
| 609 |
x1=x2=.5w; y1c=h; y2c=0; |
| 610 |
y3=y4=h-1/2slab; x3e=s; x1-x3e=x4e-x1; |
| 611 |
serif(1,cap_stem,-90,1.2cap_jut,1.2cap_jut); |
| 612 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 613 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 614 |
T_serif(3,cap_bar,round border_height,0); |
| 615 |
T_serif(4,cap_bar,round border_height,1); |
| 616 |
fill T_edge3; |
| 617 |
fill T_edge4; |
| 618 |
if x1c>x3: y5=y6=y7=y8=h-1/2cap_bar; x5=x3a; x6=x1c; x7=x1e; x8=x4a; |
| 619 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 620 |
penpos7(cap_bar,90); penpos8(cap_bar,90); |
| 621 |
penstroke z5e--z6e; |
| 622 |
penstroke z7e--z8e; fi |
| 623 |
%currentpicture := currentpicture shifted(-3u,0); |
| 624 |
penlabels(range 1 thru 8); |
| 625 |
endchar; |
| 626 |
|
| 627 |
beginchar(CYR_U,13u#+s#,cap_height#,0); |
| 628 |
italcorr cap_height#*sind 18-.8u#; |
| 629 |
x1l=s+cap_jut; y1l=.98h-cap_bar; |
| 630 |
x3r=w-s-.8cap_jut; y3r=.98h-cap_bar; |
| 631 |
x4=33/60w; y4=6/53h; |
| 632 |
numeric theta[]; |
| 633 |
theta1 = angle(z4-z1l); |
| 634 |
theta2 = angle(z4-z3r); |
| 635 |
serif(1,cap_stem,theta1,cap_jut,cap_jut); |
| 636 |
A_serif(3,1.2cap_bar,theta2,1.2cap_jut,.8cap_jut); |
| 637 |
z2 = z1r+whatever*dir theta1=z3l+whatever*dir theta2; |
| 638 |
fill z4--serif_edge1--z2&z2--A_serif_edge3--z4&cycle; |
| 639 |
z5r=z4; y6=0; x6=x4-1.2cap_stem; z7l=z2; |
| 640 |
penpos7(1.2cap_bar,theta2+90); |
| 641 |
penpos5(1.2cap_bar,theta2+90); |
| 642 |
penpos6(1.2cap_bar,-90); |
| 643 |
penstroke z7e--z5e{dir theta2}...{left}z6e; |
| 644 |
z8=z6; |
| 645 |
dl_drop(8,cap_drop_round,2u, 10/53h, round 1.2cap_bar); |
| 646 |
fill dl_drop_edge8; |
| 647 |
%currentpicture := currentpicture shifted(-3.2u,0); |
| 648 |
penlabels(range 1 thru 8); |
| 649 |
endchar; |
| 650 |
|
| 651 |
beginchar(CYR_EF,round (14u#+s#),cap_height#,0); |
| 652 |
italcorr cap_height#*sind 18-2.2u#; |
| 653 |
if .5w = good.x .5w: change_width; fi |
| 654 |
x1=x2=.5w; y2c=0; y1h=h; |
| 655 |
y6=y7=y8=y9=1.3cap_jut; y4=y3=y11=y12=h-1.3cap_jut+1/2slab; |
| 656 |
x3=x7=x2l; x8=x12=x2r; x4=x6=x3-u; x11=x9=x12+u; |
| 657 |
x5=s+1/2cap_curve; x10-x1=x1-x5; y4-y5=y5-y6; y10=y5; |
| 658 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 659 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 660 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 661 |
penpos3(cap_bar,90); |
| 662 |
penpos4(cap_bar,90); |
| 663 |
penpos5(cap_curve,180); |
| 664 |
penpos6(cap_bar,270); |
| 665 |
penpos7(cap_bar,270); |
| 666 |
penpos8(cap_bar,-90); |
| 667 |
penpos9(cap_bar,-90); |
| 668 |
penpos10(cap_curve,0); |
| 669 |
penpos11(cap_bar,90); |
| 670 |
penpos12(cap_bar,90); |
| 671 |
penstroke z3e--z4e{left}..tension.8..{down}z5e{down}..tension.8..{right}z6e--z7e; |
| 672 |
penstroke z8e--z9e{right}..tension.8..{up}z10e{up}..tension.8..{left}z11e--z12e; |
| 673 |
%currentpicture := currentpicture shifted(-1.8u,0); |
| 674 |
penlabels (range 1 thru 12); |
| 675 |
endchar; |
| 676 |
|
| 677 |
beginchar(CYR_HA,12u#+s#,cap_height#,0); |
| 678 |
italcorr cap_height#*sind 18-1.25u#; |
| 679 |
y3=y4=slab; x3=w-s-cap_jut-1/2cap_stem; x4=s+cap_jut+1/2slab; |
| 680 |
y1=y2=h-slab; x1=s+cap_jut+1/2cap_stem+c; x2=w-s-1.5c-cap_jut-1/2slab; |
| 681 |
numeric theta[]; |
| 682 |
theta1 = angle(z1-z3); |
| 683 |
theta2 = angle(z2-z4); |
| 684 |
serif(1,cap_stem,theta1-180,cap_jut,cap_jut); |
| 685 |
A_serif(2,1.2cap_bar,theta2-180,cap_jut,cap_jut); |
| 686 |
serif(3,cap_stem,theta1,cap_jut,cap_jut); |
| 687 |
A_serif(4,1.2cap_bar,theta2,cap_jut,cap_jut); |
| 688 |
fill serif_edge3--reverse serif_edge1--cycle; |
| 689 |
fill A_serif_edge4--reverse A_serif_edge2--cycle; |
| 690 |
penlabels(1,2,3,4); |
| 691 |
endchar; |
| 692 |
|
| 693 |
beginchar(CYR_TSE,12.5u#+s#,cap_height#,comma_depth#); |
| 694 |
italcorr cap_height#*sind 18-1.3u#; |
| 695 |
x1=x2=x5=cap_jut+1/2cap_stem+s; |
| 696 |
x3=x4=x6=w-x1-.5u; y5=y6=y2h; |
| 697 |
y1c=y3c=h; y2c=y4c=0; x7e=w-s; y7=y2h; |
| 698 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 699 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 700 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 701 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 702 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 703 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 704 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 705 |
penstroke z5e--z6e; |
| 706 |
T_serif(7,cap_bar,border_height,1); |
| 707 |
fill T_edge7; |
| 708 |
penlabels(1,2,3,4,5,6,7); |
| 709 |
endchar; |
| 710 |
|
| 711 |
beginchar(CYR_CHE,12u#+s#,cap_height#,0); |
| 712 |
italcorr cap_height#*sind 18-.8u#; |
| 713 |
x1=cap_jut+1/2cap_stem+s; x2=x3=w-x1; |
| 714 |
y1c=y2c=h; y3c=0; y4=y4r=y4l=30/52h; x4=x1; x4r=x1r; x4l=x1l; |
| 715 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 716 |
serif(2,cap_stem,-90,cap_jut,cap_jut); |
| 717 |
serif(3,cap_stem,90,cap_jut,cap_jut); |
| 718 |
fill z4r--reverse serif_edge1--z4l--cycle; |
| 719 |
fill serif_edge3--reverse serif_edge2--cycle; |
| 720 |
x5=x2l; y5=cap_bar_height-1/2cap_bar; z6=z4; |
| 721 |
x5-x7=x7-x4r; y7=y5-2cap_bar; |
| 722 |
penpos6(cap_stem,180); |
| 723 |
penpos5(1.2vair,270); |
| 724 |
penpos7(1.2vair,270); |
| 725 |
penstroke z6e{down}...z7e..z5e; |
| 726 |
%currentpicture := currentpicture shifted(-3.3u,0); |
| 727 |
penlabels(1,2,3,4,5,6,7); |
| 728 |
endchar; |
| 729 |
|
| 730 |
beginchar(CYR_SHA,16u#+s#,cap_height#,0); |
| 731 |
italcorr cap_height#*sind 18-.82u#; |
| 732 |
if .5w <> good.x .5w: change_width; fi |
| 733 |
x1=x2=good.x (cap_jut+1/2cap_stem+s); |
| 734 |
y1c=h; y2c=0; x3=x2e; y3=y4=y7=y8=y2h; |
| 735 |
x4=x6c; x7=x6d; x8=x9c; |
| 736 |
x5=x6=good.x .5w; y5=y1; y6=y2; |
| 737 |
y9b=slab; x9=good.x w-x1; |
| 738 |
x10=x9; y10b=h-slab; |
| 739 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 740 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 741 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 742 |
serif(5,cap_stem,-90,cap_jut,cap_jut); |
| 743 |
serif(6,cap_stem,90,cap_jut,cap_jut); |
| 744 |
fill serif_edge6--reverse serif_edge5--cycle; |
| 745 |
serif(9,cap_stem,90,cap_jut,cap_jut); |
| 746 |
serif(10,cap_stem,-90,cap_jut,cap_jut); |
| 747 |
fill serif_edge9--reverse serif_edge10--cycle; |
| 748 |
penpos3(slab,90); |
| 749 |
penpos4(slab,90); |
| 750 |
penpos7(slab,90); |
| 751 |
penpos8(slab,90); |
| 752 |
penstroke z3e--z4e; |
| 753 |
penstroke z7e--z8e; |
| 754 |
penlabels(range 1 thru 10); |
| 755 |
endchar; |
| 756 |
|
| 757 |
beginchar(CYR_SHCHA,16u#+s#,cap_height#,comma_depth#); |
| 758 |
italcorr cap_height#*sind 18-.78u#; |
| 759 |
if .5w <> good.x .5w: change_width; fi |
| 760 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 761 |
y1c=h; y2c=0; x3=x2e; y3=y4=y7=y8=y2h; |
| 762 |
x4=x6c; x7=x6d; x8=x9c; |
| 763 |
y9b=slab; x9h=w-s; |
| 764 |
x10=x9; y10b=h-slab; |
| 765 |
x11e=w-s; y11=y9h; |
| 766 |
serif(9,cap_stem,90,cap_jut,cap_jut); |
| 767 |
serif(10,cap_stem,-90,cap_jut,cap_jut); |
| 768 |
fill serif_edge9--reverse serif_edge10--cycle; |
| 769 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 770 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 771 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 772 |
x5=x6=x1+(x10-x1)/2; y5=y1; y6=y2; |
| 773 |
serif(5,cap_stem,-90,cap_jut,cap_jut); |
| 774 |
serif(6,cap_stem,90,cap_jut,cap_jut); |
| 775 |
fill serif_edge6--reverse serif_edge5--cycle; |
| 776 |
penpos3(slab,90); |
| 777 |
penpos4(slab,90); |
| 778 |
penpos7(slab,90); |
| 779 |
penpos8(slab,90); |
| 780 |
penstroke z3e--z4e; |
| 781 |
penstroke z7e--z8e; |
| 782 |
T_serif(11,slab,border_height,1); |
| 783 |
fill T_edge11; |
| 784 |
penlabels(range 1 thru 11); |
| 785 |
endchar; |
| 786 |
|
| 787 |
beginchar(CYR_HARD_SIGN,13.5u#-c#,cap_height#,0); |
| 788 |
italcorr cap_height#*sind 18-3.25u#; |
| 789 |
x2r=x5-css_width; x1=x2; x8e=0; y8g=h; |
| 790 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 791 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 792 |
x7=x1d; y1c=h; y2c=0; |
| 793 |
y4-y5=y5-y6; x5=w-1/2cap_curve-s; |
| 794 |
y3=y4=cap_bar_height; x3=x2r; x4=x6=round(x3+5u-cap_stem); |
| 795 |
y6=y7=y2h; |
| 796 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 797 |
T_serif(8,cap_bar,border_height,0); |
| 798 |
fill T_edge8; |
| 799 |
penpos3(cap_bar,90); |
| 800 |
penpos4(cap_bar,90); |
| 801 |
penpos5(cap_curve,0); |
| 802 |
penpos6(cap_bar,-90); |
| 803 |
penpos7(cap_bar,-90); |
| 804 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e; |
| 805 |
%currentpicture := currentpicture shifted(-1.6u,0); |
| 806 |
penlabels(1,2,3,4,5,6,7,8); |
| 807 |
endchar; |
| 808 |
|
| 809 |
beginchar(CYR_YERU,16u#+c#,cap_height#,0); |
| 810 |
italcorr cap_height#*sind 18-.8u#; |
| 811 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 812 |
x7=x1d; |
| 813 |
y1c=h; y2c=0; |
| 814 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 815 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 816 |
y3=y4=cap_bar_height; x3=round x2r; x4=x6=round (x3+5u-cap_stem) - 1; |
| 817 |
y4-y5=y5-y6; x5=x2r+css_width; y8b=slab; x8h=w-s; |
| 818 |
y6=y7=y2h; x9=x8; y9b=h-slab; |
| 819 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 820 |
serif(8,cap_stem,90,cap_jut,cap_jut); |
| 821 |
serif(9,cap_stem,-90,cap_jut,cap_jut); |
| 822 |
fill serif_edge8--reverse serif_edge9--cycle; |
| 823 |
penpos3(cap_bar,90); |
| 824 |
penpos4(cap_bar,90); |
| 825 |
penpos5(cap_curve,0); |
| 826 |
penpos6(cap_bar,-90); |
| 827 |
penpos7(cap_bar,-90); |
| 828 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e; |
| 829 |
penlabels(1,2,3,4,5,6,7); |
| 830 |
endchar; |
| 831 |
|
| 832 |
beginchar(CYR_SOFT_SIGN,11u#+s#,cap_height#,0); |
| 833 |
italcorr cap_height#*sind 18-3.25u#; |
| 834 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 835 |
x7=x1d; |
| 836 |
y1c=h; y2c=0; |
| 837 |
y3=y4=cap_bar_height; x3=x2r; x4=x6=x3+5u-cap_stem; |
| 838 |
y4-y5=y5-y6; x5=w-1/2cap_curve-s; |
| 839 |
y6=y7=y2h; |
| 840 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 841 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 842 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 843 |
penpos3(cap_bar,90); |
| 844 |
penpos4(cap_bar,90); |
| 845 |
penpos5(cap_curve,0); |
| 846 |
penpos6(cap_bar,-90); |
| 847 |
penpos7(cap_bar,-90); |
| 848 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e; |
| 849 |
penlabels(1,2,3,4,5,6,7); |
| 850 |
endchar; |
| 851 |
|
| 852 |
beginchar(CYR_E,10u#+.5s#,cap_height#,0); |
| 853 |
italcorr cap_height#*sind 18-2.15u#; |
| 854 |
x1=16/39w; x5=.5w; y1=0; y5=h; |
| 855 |
y7=.5h; x7=w-1/2cap_curve-s; |
| 856 |
x9e=s; y9=0; |
| 857 |
dl_drop(9,cap_drop_round,16/39w-s,1.7cap_drop_round,slab); |
| 858 |
y8=0.1h-c; y6=0.9h+c; x8=x9+9/16(x7-x9); x6=x5+9/16(x7-x5); |
| 859 |
penpos5(cap_bar,-90); |
| 860 |
penpos6(o,-150); |
| 861 |
penpos7(cap_curve,-180); |
| 862 |
penpos8(o,-210); |
| 863 |
penpos1(cap_bar,-270); |
| 864 |
penstroke z5e{right}..z6e..{down}z7e{down}..z8e..{left}z1e; |
| 865 |
y2=y5; x2=x5-c; |
| 866 |
S_serif(2,slab,x1+c,1.5border_height); |
| 867 |
x3=x7-1/2cap_stem; y3=y4=cap_bar_height; x4=x2b-x1; |
| 868 |
penpos3(cap_bar,90); penpos4(cap_bar,90); |
| 869 |
penstroke z3e--z4e; fill z4r..z4l..cycle; |
| 870 |
fill S_serif_edge2 reflectedabout(z5r,z5l); |
| 871 |
fill dl_drop_edge9; |
| 872 |
%currentpicture := currentpicture shifted(-u,0); |
| 873 |
penlabels(1,2,3,4,5,6,7,8); |
| 874 |
endchar; |
| 875 |
|
| 876 |
beginchar(CYR_YU,16u#+s#,cap_height#,0); |
| 877 |
italcorr cap_height#*sind 18-2.2u#; |
| 878 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 879 |
y1c=h; y2c=0; |
| 880 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 881 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 882 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 883 |
penpos9(vair,90); |
| 884 |
penpos10(o,30); |
| 885 |
penpos3(cap_curve,0); |
| 886 |
penpos4(o,-30); |
| 887 |
penpos5(vair,-90); |
| 888 |
penpos6(o,-150); |
| 889 |
penpos7(cap_curve,-180); |
| 890 |
penpos8(o,-210); |
| 891 |
y3=y7=.5h; x7=w-1/2cap_curve-s; x3=x7-cap_o_width; y9=0; y5=h; x7-x5=x5-x3; x9=x5; |
| 892 |
y10=y8=0.1h-c; y4=y6=0.9h+c; x10=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5); |
| 893 |
penstroke z9e..z10e..z3e..z4e..z5e..z6e..z7e..z8e..cycle; |
| 894 |
x11=x1r; x12=x3-1/3cap_stem; y11=y12=cap_bar_height; |
| 895 |
penpos11(cap_bar,90); penpos12(cap_bar,90); |
| 896 |
penstroke z11e--z12e; |
| 897 |
penlabels(range 1 thru 12); |
| 898 |
endchar; |
| 899 |
|
| 900 |
beginchar(CYR_YA,11u#+s#,cap_height#,0); |
| 901 |
italcorr cap_height#*sind 18-.8u#; |
| 902 |
x1=x2=w-cap_jut-1/2cap_stem-s; |
| 903 |
y6=y10=y7=cap_bar_height; y3=y4=h-1/2slab; x7=x2l; |
| 904 |
y1c=h; y2c=0; x6=x4=x7-2.5u; x3=x1c; |
| 905 |
y4-y5=y5-y6; x5=x8-1.5c; x9=s; y9=0; y6-y8=y8-y9; x7-x10=3(x10-x6); x10-x8=x8-x9; |
| 906 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 907 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 908 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 909 |
penpos3(cap_bar,90); |
| 910 |
penpos4(cap_bar,90); |
| 911 |
penpos5(cap_curve,180); |
| 912 |
penpos7(cap_bar,270); |
| 913 |
penpos6(cap_bar,270); |
| 914 |
penpos8(cap_curve,0); |
| 915 |
penpos9(cap_bar,-90); |
| 916 |
penpos10(cap_bar,-90); fill z9l..z9r..cycle; |
| 917 |
penstroke z3e--z4e{left}..tension.9..z5e..tension.9..{right}z6e--z7e; |
| 918 |
penstroke z9e{right}..tension1..{up}z8e{up}..tension1..{right}z10e; |
| 919 |
penlabels(range 1 thru 10); |
| 920 |
endchar; |
| 921 |
currenttransform := identity; |
| 922 |
|
| 923 |
beginchar(CYR_a,9u#+c#,x_height#,0); |
| 924 |
x1=w-s-3/4stem; y1=h; y2=7/33h; z2=z1+whatever*dir -104; |
| 925 |
x3=x2+1/2stem+c; y3=2epsilon; x4=w-s-bar/3; y4=8/33h; |
| 926 |
penpos1(stem,180); |
| 927 |
penpos2(stem,180); |
| 928 |
penpos3(1.2vair,270); |
| 929 |
penpos4(bar,360); |
| 930 |
penstroke z1e--z2e{down}..{right}z3e{right}..tension1.2..{dir 60}z4e; |
| 931 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 932 |
x5=x1-3/2stem; y5=h; z7=z5+whatever*dir -104; y7=-2epsilon; |
| 933 |
x6=s+1/2curve+c; y6=.54h; y8=.46h; z8l=whatever[z1r,z2r]; |
| 934 |
penpos8(2bar,0); |
| 935 |
penpos5(vair,90); |
| 936 |
penpos6(curve,180); |
| 937 |
penpos7(vair,270); |
| 938 |
penstroke z5e{left}..tension1.1..{dir 256}z6e{dir 256}..tension.9..{right}z7e..tension1.3..{dir 76}z8e{dir 76}..tension1..{dir 166}z5e..cycle; |
| 939 |
z9=whatever[z1r,z2r]; y9=y12=h-c; z10=(x1r+c,h); z11=(x1l-c,h); |
| 940 |
z12=whatever[z1l,z2l]; |
| 941 |
unfill z9{up}..z10--z1r--z9..cycle; |
| 942 |
unfill z11--z1l--z12{up}..z11..cycle; |
| 943 |
penlabels(range 1 thru 66); |
| 944 |
endchar; |
| 945 |
|
| 946 |
beginchar(CYR_be,8u#+s#+stem#,asc_height#,0); |
| 947 |
penpos1(vair,90); |
| 948 |
penpos2(curve,0); |
| 949 |
penpos3(vair,-90); |
| 950 |
penpos4(curve,-180); |
| 951 |
x1=.5(w-stem)-1/2(x_height*sind 14/cosd 14); x3=.5(w-stem)+1/2(x_height*sind 14/cosd 14); y1=0; y3=x_height; |
| 952 |
y2=.54x_height; y4=.46x_height; x2=1/2curve+s; x4=w-1/2curve-stem-s; |
| 953 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 954 |
y5=y2; x5r=x2l; x6=23/35w; y6=46/51h; y7r=h; x7=w-s; |
| 955 |
penpos5(bar,180); |
| 956 |
penpos6(.9curve,90); |
| 957 |
penpos7(.8curve,90); |
| 958 |
penstroke z5e{dir 76}..{dir 14}z6e{dir 14}..{dir 30}z7e; |
| 959 |
penlabels(range 1 thru 8); |
| 960 |
endchar; |
| 961 |
|
| 962 |
beginchar(CYR_ve,8u#+c#,x_height#,0); |
| 963 |
penpos1(vair,90); |
| 964 |
penpos2(curve,0); |
| 965 |
penpos3(vair,-90); |
| 966 |
penpos4(curve,-180); |
| 967 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 968 |
y2=.54h; y4=4/5h; x2=1/2curve+s; x4=w-1/2curve-s; z5r=z2; x6=w-s-s-1/2curve; y6=9/33h; z7=z5; |
| 969 |
penpos5(vair,-270); |
| 970 |
penpos6(curve,180); |
| 971 |
penpos7(vair,270); |
| 972 |
penstroke z7e{dir 14}..tension.9..{dir 256}z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{dir 194}z5e; |
| 973 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 974 |
penlabels(range 1 thru 8); |
| 975 |
endchar; |
| 976 |
|
| 977 |
beginchar(CYR_ghe,7u#+s#,x_height#,0); |
| 978 |
x4=0.5w; top y4 = good.y (0.5h+1/3bar); y3=11.5/16h; x3=w-s-1/2curve; |
| 979 |
x2=11/18w; y2=h; x1=s+2/3curve; y1=24/33h; |
| 980 |
x5=s+1/2curve; y5=h-y3; x6=w-x2; y6=0; x7=w-x1; y7=h-y1; |
| 981 |
penpos1(bar,180); |
| 982 |
penpos2(1.2bar,90); |
| 983 |
penpos3(curve,0); |
| 984 |
penpos4(1.2bar,-90); |
| 985 |
penpos5(curve,0); |
| 986 |
penpos6(1.2bar,90); |
| 987 |
penpos7(bar,180); |
| 988 |
penstroke z1e{dir 60}..{right}z2e..z3e{dir -104}...z4e...{dir -104}z5e..z6e{right}..{dir 60}z7e; |
| 989 |
fill z7l..tension1.3..z7r..tension1.3..cycle; |
| 990 |
fill z1l..tension1.3..z1r..tension1.3..cycle; |
| 991 |
penlabels(range 1 thru 8); |
| 992 |
endchar; |
| 993 |
|
| 994 |
beginchar(CYR_de,8u#+s#+stem#,asc_height#,0); |
| 995 |
penpos1(vair,90); |
| 996 |
penpos2(curve,0); |
| 997 |
penpos3(vair,-90); |
| 998 |
penpos4(curve,-180); |
| 999 |
x1=.5(w-stem)-1/2(x_height*sind 14/cosd 14); x3=.5(w-stem)+1/2(x_height*sind 14/cosd 14); y1=0; y3=x_height; |
| 1000 |
y2=.54x_height; y4=.46x_height; x2=1/2curve+s; x4=w-1/2curve-stem-s; |
| 1001 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..tension1..{right}z3e..tension.9..{dir 256}z4e{dir 256}..tension1..{left}z1e..cycle; |
| 1002 |
y5=23/33x_height; z5=z4+whatever*dir 77; x6=22/35w; y6=h; |
| 1003 |
y56=y5+stem; z56=z4+whatever*dir 76; |
| 1004 |
x7=11/35w; y7=42/51h; |
| 1005 |
penpos5(curve,-180); |
| 1006 |
penpos56(.9curve,-180); |
| 1007 |
penpos6(1.2bar,-90); |
| 1008 |
penpos7(bar,0); |
| 1009 |
penstroke z4e{dir 76}..z5e{dir 76}..z56e..tension1..{dir 174}z6e{left}..z7e; |
| 1010 |
fill z7l..tension1.3..z7r..tension1.3..cycle; |
| 1011 |
penlabels(range 1 thru 8,56); |
| 1012 |
endchar; |
| 1013 |
|
| 1014 |
beginchar(CYR_ie,8u#+c#,x_height#,0); |
| 1015 |
penpos1(vair,90); |
| 1016 |
penpos2(curve,0); |
| 1017 |
penpos3(vair,-90); |
| 1018 |
penpos4(curve,-180); |
| 1019 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 1020 |
y2=.54h; y4=4/5h; x2=1/2curve+s; x4=w-1/2curve-s; z5r=z2; x6=w-s-s-1/2vair; y6=9/33h; |
| 1021 |
penpos5(vair,-270); |
| 1022 |
penpos6(vair,135); |
| 1023 |
penstroke z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{dir 194}z5e; |
| 1024 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 1025 |
penlabels(range 1 thru 8); |
| 1026 |
endchar; |
| 1027 |
|
| 1028 |
beginchar(CYR_ye,8u#+c#,asc_height#,0); |
| 1029 |
penpos1(vair,90); |
| 1030 |
penpos2(curve,0); |
| 1031 |
penpos3(vair,-90); |
| 1032 |
penpos4(curve,-180); |
| 1033 |
x1=.5w-1/2(x_height*sind 14/cosd 14); x3=.5w+1/2(x_height*sind 14/cosd 14); |
| 1034 |
y1=0; y3=x_height; y2=.54x_height; y4=4/5x_height; x2=1/2curve+s; |
| 1035 |
x4=w-1/2curve-s; z5r=z2; x6=w-s-s-1/2vair; y6=9/33x_height; |
| 1036 |
penpos5(vair,-270); |
| 1037 |
penpos6(vair,135); |
| 1038 |
penstroke z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{dir 194}z5e; |
| 1039 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 1040 |
z8r=(w,h-1/2curve); y7=y8; x7=x8-2curve; |
| 1041 |
penpos7(curve,0); penpos8(curve,0); |
| 1042 |
fill z7r..z7l..cycle; fill z8r..z8l..cycle; |
| 1043 |
penlabels(range 1 thru 8); |
| 1044 |
endchar; |
| 1045 |
|
| 1046 |
beginchar(CYR_zhe,15u#,x_height#,0); |
| 1047 |
penpos1(1.2vair,90); |
| 1048 |
penpos2(curve,0); |
| 1049 |
penpos3(vair,-90); |
| 1050 |
x1=x3-(h*sind 14/cosd 14); x3=w-s-3/4stem; y1=0; y3=h; |
| 1051 |
y2=.54h; x2=x1-3/4stem; x5=w-s-4/5stem; y5=7/33h; |
| 1052 |
penpos5(vair,135); z4=z3; |
| 1053 |
penstroke z5e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e; |
| 1054 |
fill z5l..tension1.5..z5r..tension1.5..cycle; |
| 1055 |
z77=(.5w,.5h); z9=z77+whatever*dir 76; y9=h; |
| 1056 |
z8=whatever[z9,z77]; y8=0; |
| 1057 |
penpos8(stem,0); penpos9(stem,0); |
| 1058 |
penstroke z8e--z9e; |
| 1059 |
ur_drop(4,drop_round,3/4stem,drop_round,bar); |
| 1060 |
fill ur_drop_edge4; |
| 1061 |
x10=w-x5; y10=26/33h; x11=w-x1; y11=h; x12=w-x2; y12=.46h; |
| 1062 |
x13=w-x3; y13=0; z14=z13; |
| 1063 |
penpos10(bar,135); penpos11(bar,90); |
| 1064 |
penpos12(curve,0); penpos13(bar,-90); |
| 1065 |
penstroke z10e..z11e{right}..{dir -104}z12e{dir -104}..{left}z13e; |
| 1066 |
fill z10l..tension1.5..z10r..tension1.5..cycle; z14=z13; |
| 1067 |
dl_drop(14,drop_round,3/4stem,drop_round,bar); |
| 1068 |
fill dl_drop_edge14; fill z14e..z14c..cycle; |
| 1069 |
x7=x12; x6=x2; y6=y7=bar_height; |
| 1070 |
penpos7(bar,90); penpos6(bar,90); |
| 1071 |
penstroke z6e--z7e; |
| 1072 |
penlabels(range 1 thru 13); |
| 1073 |
endchar; |
| 1074 |
|
| 1075 |
beginchar(CYR_ze,8u#,x_height#,0); |
| 1076 |
x1=2.5s+1/2vair; y1=26/33h; x2=.5w+1/2(h*sind 14/cosd 14); y2=h; |
| 1077 |
x3=w-s-1/2curve; y2-y3=y3-y4; x5=x1+s; |
| 1078 |
z4=z2+whatever*dir -104; y4=y5=bar_height; |
| 1079 |
z7=whatever[z2,z4]; y7=0; z6=z3+whatever*dir -100; |
| 1080 |
y4-y6=y6-y7; z8=z7; |
| 1081 |
penpos1(bar,135); penpos2(bar,90); |
| 1082 |
penpos3(curve,0); penpos4(bar,-90); |
| 1083 |
penpos5(bar,-90); penpos6(curve,180); |
| 1084 |
penpos7(bar,90); |
| 1085 |
penstroke z1e..z2e{right}..{dir -100}z3e{dir -100}..{left}z4e--z5e; |
| 1086 |
penstroke z4e{right}..{dir -100}z6e{dir -100}..{left}z7e; |
| 1087 |
fill z1l..tension1.5..z1r..tension1.5..cycle; |
| 1088 |
fill z5l..tension1.5..z5r..tension1.5..cycle; |
| 1089 |
dl_drop(8,drop_round,x7-s,1.2drop_round,bar); |
| 1090 |
fill dl_drop_edge8; fill z8e..z8c..cycle; |
| 1091 |
penlabels(range 1 thru 13); |
| 1092 |
endchar; |
| 1093 |
|
| 1094 |
beginchar(CYR_i,10u#,x_height#,0); |
| 1095 |
x1=w-s-4.8/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1096 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y6=0; y5=8/34h; |
| 1097 |
x5=s+1/2stem; x6=x5+stem; |
| 1098 |
penpos1(stem,180); penpos2(stem,180); |
| 1099 |
z8l=whatever[z2r,z1r]; y8l=15/33h; |
| 1100 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1101 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1102 |
penpos8(bar,360); |
| 1103 |
penstroke z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 1104 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1105 |
z7l=z5r+whatever*dir 76; y7l=h-bar; |
| 1106 |
serif(7,stem,-104,jut,0); |
| 1107 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 1108 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1109 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1110 |
penlabels(range 1 thru 12); |
| 1111 |
endchar; |
| 1112 |
|
| 1113 |
beginchar(CYR_short_i,10u#,asc_height#,0); |
| 1114 |
x1=w-s-4.8/4stem; y1=x_height; y2=10/33x_height; z2=z1+whatever*dir -104; |
| 1115 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33x_height; y3=y6=0; y5=8/34x_height; |
| 1116 |
x5=s+1/2stem; x6=x5+stem; |
| 1117 |
penpos1(stem,180); penpos2(stem,180); |
| 1118 |
z8l=whatever[z2r,z1r]; y8l=15/33x_height; |
| 1119 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1120 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1121 |
penpos8(bar,360); |
| 1122 |
penstroke z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 1123 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1124 |
z7l=z5r+whatever*dir 76; y7l=x_height-bar; |
| 1125 |
serif(7,stem,-104,jut,0); |
| 1126 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 1127 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1128 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1129 |
y9d=h; z9d=z7f+whatever*dir 76; |
| 1130 |
dl_drop(9,drop_round,stem,drop_round,bar); |
| 1131 |
fill dl_drop_edge9; fill z9e..z9c..cycle; |
| 1132 |
z10=z9; y11=h-bar; z11=z8+whatever*dir 76; |
| 1133 |
penpos10(bar,90); penpos11(bar,135); |
| 1134 |
penstroke z10e{right}..tension1.3..z11e; |
| 1135 |
fill z11l..tension1.3..z11r..tension1.3..cycle; |
| 1136 |
penlabels(range 1 thru 12); |
| 1137 |
endchar; |
| 1138 |
|
| 1139 |
beginchar(CYR_ka,10u#,x_height#,0); |
| 1140 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 1141 |
serif(7,stem,-104,jut,0); |
| 1142 |
x1=w-s-2stem; y1=bar_height-2.5bar; y2=6/33h; z2=z1+whatever*dir -104; |
| 1143 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y5=y6=0; |
| 1144 |
x8=x2-3/4stem; y8=bar_height; y9=bar_height-2bar; z9r=whatever[z6,z7f]; |
| 1145 |
penpos1(stem,180); penpos2(stem,180); |
| 1146 |
penpos3(bar,270); penpos4(bar,335); |
| 1147 |
penpos8(1.1bar,270); penpos9(1.2bar,0); |
| 1148 |
penstroke z9e{dir 68}..{right}z8e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1149 |
fill z5--z6--reverse serif_edge7--cycle; |
| 1150 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1151 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1152 |
x10=x3; y10=h; penpos10(1.2bar,270); z11=z10; |
| 1153 |
penstroke z9e{dir 60}..{dir 25}z10e; |
| 1154 |
ur_drop(11,drop_round,9/8drop_round,drop_round,1.2bar); |
| 1155 |
fill ur_drop_edge11; |
| 1156 |
penlabels(range 1 thru 12); |
| 1157 |
endchar; |
| 1158 |
|
| 1159 |
beginchar(CYR_el,10u#+c#,x_height#,0); |
| 1160 |
x1=w-s-5/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1161 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=0; |
| 1162 |
penpos1(stem,180); penpos2(stem,180); |
| 1163 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1164 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1165 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1166 |
x5=x1r; y5=h-1/2bar; x8=1/5w; y8=0; z9=z8; |
| 1167 |
y6=27/34h; y7=7/34h; x6=.5w; z7=z6+whatever*dir -108; |
| 1168 |
penpos5(vair,90); penpos6(bar,180); |
| 1169 |
penpos7(bar,180); penpos8(vair,90); |
| 1170 |
penstroke z5e{left}..z6e--z7e{dir -108}..{left}z8e; |
| 1171 |
dl_drop(9,1.1stem,x8-s,drop_round,bar); |
| 1172 |
fill dl_drop_edge9; fill z9e..z9c..cycle; |
| 1173 |
penlabels(range 1 thru 9); |
| 1174 |
endchar; |
| 1175 |
|
| 1176 |
beginchar(CYR_em,12u#+s#,x_height#,0); |
| 1177 |
x1=w-s-stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1178 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=9/33h; y3=0; |
| 1179 |
penpos1(stem,180); penpos2(stem,180); |
| 1180 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1181 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1182 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1183 |
z5r=z1r; z6=z5+whatever*dir -120; y6=0; |
| 1184 |
penpos5(bar,180); penpos6(bar,180); |
| 1185 |
penstroke z5e--z6e; fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 1186 |
z7l=z6r+whatever*dir 92; y7l=7/28h; |
| 1187 |
z8l=whatever[z6r,z7l]; y8l=h; |
| 1188 |
penpos7(.9stem,0); penpos8(.9stem,0); |
| 1189 |
penstroke z7e--z8e; fill z6r--z7l--z7r--cycle; |
| 1190 |
y9=h-bar; x9=x8l; y10=10/33h; z10=z9+whatever*dir -104; |
| 1191 |
y11=0; x11=s+stem; z12=z11; |
| 1192 |
penpos10(bar,0); penpos11(bar,-90); |
| 1193 |
serif(9,bar,-104,jut,0); |
| 1194 |
fill z10l--z10r--reverse serif_edge9--cycle; |
| 1195 |
penstroke z10e{dir -104}..{left}z11e; |
| 1196 |
dl_drop(12,drop_round,x11-s,drop_round,bar); |
| 1197 |
fill dl_drop_edge12; fill z12e..z12c..cycle; |
| 1198 |
penlabels(range 1 thru 12); |
| 1199 |
endchar; |
| 1200 |
|
| 1201 |
beginchar(CYR_en,10u#+s#,x_height#,0); |
| 1202 |
x1=w-s-4.8/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1203 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y5=y6=0; |
| 1204 |
penpos1(stem,180); penpos2(stem,180); |
| 1205 |
penpos3(bar,270); penpos4(bar,335); |
| 1206 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1207 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 1208 |
serif(7,stem,-104,jut,0); |
| 1209 |
fill z5--z6--reverse serif_edge7--cycle; |
| 1210 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1211 |
y8=y9=bar_height; z9=z2+whatever*dir 76; z8=whatever[z6,z7]; |
| 1212 |
penpos8(bar,90); penpos9(bar,90); |
| 1213 |
penstroke z8e--z9e; fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1214 |
penlabels(range 1 thru 12); |
| 1215 |
endchar; |
| 1216 |
|
| 1217 |
beginchar(CYR_o,8u#+s#,x_height#,0); |
| 1218 |
penpos1(vair,90); |
| 1219 |
penpos2(curve,0); |
| 1220 |
penpos3(vair,-90); |
| 1221 |
penpos4(curve,-180); |
| 1222 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 1223 |
y2=.54h; y4=.46h; x2=1/2curve+s; x4=w-1/2curve-s; |
| 1224 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 1225 |
italic_o_width := x4-x2; save italic_o_width; |
| 1226 |
penlabels(range 1 thru 8); |
| 1227 |
endchar; |
| 1228 |
|
| 1229 |
beginchar(CYR_pe,10u#+s#,x_height#,0); |
| 1230 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 1231 |
serif(7,stem,-104,jut,0); |
| 1232 |
x1=w-s-10.5/8stem; y1=26/33h; y2=10/33h; z2=z1+whatever*dir -108; |
| 1233 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y5=y6=0; |
| 1234 |
x8=x2; y8=h; y9=bar_height-bar; z9r=whatever[z6,z7f]; |
| 1235 |
penpos1(stem,180); penpos2(stem,180); |
| 1236 |
penpos3(bar,270); penpos4(bar,335); |
| 1237 |
penpos8(1.2bar,270); penpos9(bar,0); |
| 1238 |
penstroke z9e{dir 68}..{right}z8e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1239 |
fill z5--z6--reverse serif_edge7--cycle; |
| 1240 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1241 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1242 |
penlabels(range 1 thru 12); |
| 1243 |
endchar; |
| 1244 |
|
| 1245 |
beginchar(CYR_er,9u#+c#,x_height#,desc_depth#); |
| 1246 |
penpos1(vair,90); |
| 1247 |
penpos2(curve,0); |
| 1248 |
penpos3(vair,-90); |
| 1249 |
penpos4(curve,-180); |
| 1250 |
x1=x2+.5(x4-x2)-1/4(h*sind 14/cosd 14); x3=x2+.5(x4-x2)+3/4(h*sind 14/cosd 14); y1=0; y3=h; |
| 1251 |
y2=.54h; y4=.46h; x2=x4-italic_o_width+c; x4=w-1/2curve-s; |
| 1252 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 1253 |
y5=h-bar; z5=z2+whatever*dir 76; |
| 1254 |
serif(5,stem,-104,jut,0); fill z5e{dir 76}..z5d{left}..cycle; |
| 1255 |
y6=-d+bar; z6=whatever[z2,z5]; |
| 1256 |
serif(6,stem,76,.3jut,jut); |
| 1257 |
fill serif_edge6--reverse serif_edge5--cycle; |
| 1258 |
penlabels(range 1 thru 12); |
| 1259 |
endchar; |
| 1260 |
|
| 1261 |
beginchar(CYR_es,7.5u#,x_height#,0); |
| 1262 |
penpos1(vair,90); |
| 1263 |
penpos2(curve,0); |
| 1264 |
penpos3(vair,-90); |
| 1265 |
x1=4u-1/2(h*sind 14/cosd 14); x3=4u+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 1266 |
y2=.54h; x2=1/2curve+s; x6=8u-2.5s-1/2vair; y6=9/33h; |
| 1267 |
penpos6(vair,135); z4=z3; |
| 1268 |
penstroke z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e; |
| 1269 |
fill z6l..tension1.5..z6r..tension1.5..cycle; |
| 1270 |
ur_drop(4,drop_round,9/8drop_round,5/4drop_round,bar); |
| 1271 |
fill ur_drop_edge4; |
| 1272 |
penlabels(range 1 thru 8); |
| 1273 |
endchar; |
| 1274 |
|
| 1275 |
beginchar(CYR_te,round (8u#+.2s#),x_height#,0); |
| 1276 |
if .5w = good.x .5w: change_width; fi |
| 1277 |
currenttransform := identity slanted sind 14; |
| 1278 |
x2=.5w-w*sind 14/cosd 14+c; x1e=s-w*sind 14/cosd 14+c; |
| 1279 |
x4e=w-s-w*sind 14/cosd 14+c; |
| 1280 |
y1=y4=y2h; y2c=h; y3=y5=0; x3=.5w-1/2stem-w*sind 14/cosd 14+c; |
| 1281 |
x5=.5w+1/2stem-w*sind 14/cosd 14+c; |
| 1282 |
serif(2,stem,-90,jut,jut); |
| 1283 |
T_serif(1,bar,4/5border_height,0); |
| 1284 |
T_serif(4,bar,4/5border_height,1); |
| 1285 |
fill z3--z5--reverse serif_edge2--cycle; |
| 1286 |
fill T_edge1; fill T_edge4; |
| 1287 |
currenttransform := identity; |
| 1288 |
penlabels(1,2,3,4,5); |
| 1289 |
endchar; |
| 1290 |
|
| 1291 |
beginchar(CYR_u,10u#-c#,x_height#,desc_depth#); |
| 1292 |
x5=w-s-1/2stem; y5=h; y6=10/33h; z6=z5+whatever*dir -104; |
| 1293 |
y3=0; y2=8/34h; x2=s+stem; x3=x2+stem; |
| 1294 |
y7=0; z7=z6+whatever*dir -104; |
| 1295 |
penpos5(stem,180); penpos6(stem,180); |
| 1296 |
z8r=z7r+whatever*dir -104; y8r=-1/2d; |
| 1297 |
z4l=whatever[z6r,z5r]; y4l=15/33h; |
| 1298 |
penpos2(stem,180); penpos3(1.1bar,270); |
| 1299 |
y9=-d; x9=x2l; z10=z9; |
| 1300 |
penpos4(bar,360); penpos7(stem,180); |
| 1301 |
penpos8(.8stem,180); penpos9(bar,90); |
| 1302 |
penstroke z2e{dir -104}..z3e{right}..{dir 76}z4e; |
| 1303 |
z1l=z2r+whatever*dir 76; y1l=h-bar; |
| 1304 |
serif(1,stem,-104,jut,0); |
| 1305 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 1306 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 1307 |
penstroke z5e{dir -104}..z6e..z7e..z8e..{left}z9e; |
| 1308 |
dl_drop(10,1.1stem,x9-s,1.2drop_round,bar); |
| 1309 |
fill dl_drop_edge10; fill z10e..z10c..cycle; |
| 1310 |
penlabels(range 1 thru 12); |
| 1311 |
endchar; |
| 1312 |
|
| 1313 |
beginchar(CYR_ef,12u#+c#,asc_height#,desc_depth#); |
| 1314 |
penpos1(vair,90); |
| 1315 |
penpos2(.9curve,0); |
| 1316 |
penpos3(vair,-90); |
| 1317 |
penpos4(curve,-180); |
| 1318 |
x1=x2+.5(x4-x2)-3/8(x_height*sind 14/cosd 14); |
| 1319 |
x3=x2+.5(x4-x2)+5/8(x_height*sind 14/cosd 14); |
| 1320 |
y1=y6=0; y3=y8=x_height; y5=y4; x7=1/2curve+s; y7=y2; |
| 1321 |
y2=.52x_height; y4=.48x_height; x4=w-1/2curve-s; |
| 1322 |
x4-x2=x2-x7; x5=x2; |
| 1323 |
x8=x7+.5(x5-x7)+3/8(x_height*sind 14/cosd 14); |
| 1324 |
x6=x7+.5(x5-x7)-5/8(x_height*sind 14/cosd 14); |
| 1325 |
penpos6(vair,90); penpos7(curve,0); |
| 1326 |
penpos8(vair,-90); penpos5(.9curve,180); |
| 1327 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 1328 |
penstroke z6e{left}..tension.9..{dir 76}z7e{dir 76}..{right}z8e..tension.9..{dir 256}z5e{dir 256}..{left}z6e..cycle; |
| 1329 |
x5-x77=x77-x2; y2-y77=y77-y5; |
| 1330 |
y10=h; x10=w-s-stem; y11=44/34x_height; z11=z77+whatever*dir 76; |
| 1331 |
y12=-1/8d; z12=z77+whatever*dir -104; y13=-d; x13=s+stem; z9=z10; |
| 1332 |
penpos10(bar,90); penpos11(stem,180); |
| 1333 |
penpos12(stem,180); penpos13(bar,90); |
| 1334 |
penstroke z10e{left}..{dir -104}z11e--z12e{dir -104}..{left}z13e; |
| 1335 |
ur_drop(9,drop_round,stem,drop_round,bar); |
| 1336 |
fill ur_drop_edge9; z14=z13; |
| 1337 |
dl_drop(14,drop_round,stem,drop_round,bar); |
| 1338 |
fill dl_drop_edge14; fill z14e..z14c..cycle; |
| 1339 |
penlabels(range 1 thru 14,77); |
| 1340 |
endchar; |
| 1341 |
|
| 1342 |
beginchar(CYR_ha,10u#+c#,x_height#,0); |
| 1343 |
penpos1(1.2vair,90); |
| 1344 |
penpos2(curve,0); |
| 1345 |
penpos3(vair,-90); penpos12(curve,0); |
| 1346 |
x1=x3-(h*sind 14/cosd 14); x3=w-s-3/4stem; y1=0; y3=h; |
| 1347 |
y2=.54h; x2=x1-if design_size=17.32: stem else: 33/40stem fi; |
| 1348 |
x5=w-s-4/5stem; y5=7/33h; |
| 1349 |
penpos5(vair,135); z4=z3; |
| 1350 |
penstroke z5e..z1e{left}..{dir 76}z2e{dir 76}..{right}z3e; |
| 1351 |
fill z5l..tension1.5..z5r..tension1.5..cycle; |
| 1352 |
ur_drop(4,drop_round,3/4stem,drop_round,bar); |
| 1353 |
fill ur_drop_edge4; |
| 1354 |
x10=w-x5; y10=26/33h; x11=w-x1; y11=h; x12=w-x2; y12=.46h; |
| 1355 |
x13=w-x3; y13=-2epsilon; z14=z13; |
| 1356 |
penpos10(bar,135); penpos11(bar,90); |
| 1357 |
penpos13(bar,-90); |
| 1358 |
penstroke z10e..z11e{right}..{dir -104}z12e{dir -104}..{left}z13e; |
| 1359 |
fill z10l..tension1.5..z10r..tension1.5..cycle; z14=z13; |
| 1360 |
dl_drop(14,drop_round,3/4stem,drop_round,bar); |
| 1361 |
fill dl_drop_edge14; fill z14e..z14c..cycle; |
| 1362 |
penlabels(range 1 thru 13); |
| 1363 |
endchar; |
| 1364 |
|
| 1365 |
beginchar(CYR_tse,10u#,x_height#,desc_depth#); |
| 1366 |
x1=w-s-5/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1367 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y6=0; y5=8/34h; |
| 1368 |
x5=s+1/2stem; x6=x5+stem; |
| 1369 |
penpos1(stem,180); penpos2(stem,180); |
| 1370 |
z8l=whatever[z2r,z1r]; y8l=15/33h; |
| 1371 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1372 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1373 |
penpos8(bar,360); |
| 1374 |
penstroke z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 1375 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1376 |
z7l=z5r+whatever*dir 76; y7l=h-bar; |
| 1377 |
serif(7,stem,-104,jut,0); |
| 1378 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 1379 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1380 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1381 |
y9l=0; x9l=x3+bar; x10=x2+1/4stem; y10=-1/2d; |
| 1382 |
y11=-d; x11=x10-5/4stem; |
| 1383 |
penpos11(bar,90); penpos10(stem,180); penpos9(bar,120); |
| 1384 |
penstroke z9e..tension1.3..{down}z10e{down}..tension.8..{left}z11e; |
| 1385 |
fill z11l..tension1.3..z11r..tension1.3..cycle; |
| 1386 |
penlabels(range 1 thru 12); |
| 1387 |
endchar; |
| 1388 |
|
| 1389 |
beginchar(CYR_che,9u#,x_height#,0); |
| 1390 |
x7g=s; y7g=h-1/2bar; |
| 1391 |
serif(7,stem,-104,jut,0); |
| 1392 |
x1=w-s-stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1393 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=9/33h; y3=0; y6l=bar_height; y5=y6l+2bar; |
| 1394 |
z5=z7+whatever*dir -104; x6=x5+3/4stem; |
| 1395 |
penpos1(stem,180); penpos2(stem,180); |
| 1396 |
z8=whatever[z2r,z1r]; y8l=y5-1/2bar; |
| 1397 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1398 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1399 |
penpos8(1.2bar,256); |
| 1400 |
penstroke z5e{dir -104}..z6e{right}..{dir 25}z8e; |
| 1401 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1402 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 1403 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1404 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1405 |
penlabels(range 1 thru 12); |
| 1406 |
endchar; |
| 1407 |
|
| 1408 |
beginchar(CYR_sha,14u#,x_height#,0); |
| 1409 |
if .5w <> good.x .5w: change_width; fi |
| 1410 |
x1=w-s-5/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1411 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y6=y10=0; y5=y11=8/34h; |
| 1412 |
x11=s+1/2stem; x10=x11+stem; |
| 1413 |
z12=z11+whatever*dir 76; y12=h-bar; |
| 1414 |
y13=h; z13=whatever[z11,z12]; |
| 1415 |
x6=x5+stem; x1-x7=x7-x13; y7l=h; z5=z7+whatever*dir -104; |
| 1416 |
serif(12,stem,-104,jut,0); |
| 1417 |
penpos1(stem,180); penpos2(stem,180); |
| 1418 |
z8l=whatever[z2r,z1r]; y8l=y9l=15/33h; |
| 1419 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1420 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1421 |
penpos8(bar,360); penpos7(stem,180); |
| 1422 |
z9l=whatever[z5r,z7r]; |
| 1423 |
penstroke z7e--z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 1424 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1425 |
penpos11(stem,180); penpos10(1.1bar,270); |
| 1426 |
penpos9(bar,360); |
| 1427 |
fill z11r--z11l--reverse serif_edge12--cycle; |
| 1428 |
fill z12e{dir 76}..z12d{left}..cycle; |
| 1429 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1430 |
penstroke z11e{dir -104}..z10e{right}..{dir 76}z9e; |
| 1431 |
penlabels(range 1 thru 13); |
| 1432 |
endchar; |
| 1433 |
|
| 1434 |
beginchar(CYR_shcha,14u#,x_height#,desc_depth#); |
| 1435 |
if .5w <> good.x .5w: change_width; fi |
| 1436 |
x1=w-s-5/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1437 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y6=y10=0; y5=y11=8/34h; |
| 1438 |
x11=s+1/2stem; x10=x11+stem; |
| 1439 |
z12=z11+whatever*dir 76; y12=h-bar; |
| 1440 |
y13=h; z13=whatever[z11,z12]; |
| 1441 |
x6=x5+stem; x1-x7=x7-x13; y7l=h; z5=z7+whatever*dir -104; |
| 1442 |
serif(12,stem,-104,jut,0); |
| 1443 |
penpos1(stem,180); penpos2(stem,180); |
| 1444 |
z8l=whatever[z2r,z1r]; y8l=y9l=15/33h; |
| 1445 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1446 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 1447 |
penpos8(bar,360); penpos7(stem,180); |
| 1448 |
z9l=whatever[z5r,z7r]; |
| 1449 |
penstroke z7e--z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 1450 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1451 |
penpos11(stem,180); penpos10(1.1bar,270); |
| 1452 |
penpos9(bar,360); |
| 1453 |
fill z11r--z11l--reverse serif_edge12--cycle; |
| 1454 |
fill z12e{dir 76}..z12d{left}..cycle; |
| 1455 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1456 |
penstroke z11e{dir -104}..z10e{right}..{dir 76}z9e; |
| 1457 |
y14l=0; x14l=x3+bar; x15=x2+1/4stem; y15=-1/2d; |
| 1458 |
y16=-d; x16=x15-5/4stem; |
| 1459 |
penpos16(bar,90); penpos15(stem,180); penpos14(bar,120); |
| 1460 |
penstroke z14e..tension1.3..{down}z15e{down}..tension.8..{left}z16e; |
| 1461 |
fill z16l..tension1.3..z16r..tension1.3..cycle; |
| 1462 |
penlabels(range 1 thru 16); |
| 1463 |
endchar; |
| 1464 |
|
| 1465 |
beginchar(CYR_soft_sign,8u#,x_height#,0); |
| 1466 |
y2=10/34h; x2=s+1/2stem; x3=x2+3/2stem; z5=z3+whatever*dir 76; y5=bar_height+bar; y4=.5y5; x4=w-s-1/2curve; y3=0; |
| 1467 |
y6l=y2+bar; z6l=z2l+whatever*dir 76; |
| 1468 |
penpos2(stem,180); penpos3(bar,270); |
| 1469 |
penpos4(curve,360); penpos5(bar,90); |
| 1470 |
penpos6(1.5bar,180); |
| 1471 |
penstroke z2e{dir -104}..z3e{right}..{dir 76}z4e{dir 76}..tension.9..{left}z5e{left}..{dir -104}z6e; |
| 1472 |
z1l=z2r+whatever*dir 76; y1l=h-bar; |
| 1473 |
serif(1,stem,-104,jut,0); |
| 1474 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 1475 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 1476 |
sss_italic_width :=x4-x2; save sss_italic_width; |
| 1477 |
penlabels(range 1 thru 13); |
| 1478 |
endchar; |
| 1479 |
|
| 1480 |
beginchar(CYR_yeru,12u#+s#,x_height#,0); |
| 1481 |
y2=10/34h; x2=s+1/2stem; x3=x2+3/2stem; z5=z3+whatever*dir 76; y5=bar_height+bar; y4=.5y5; x4=x2+sss_italic_width; y3=-2epsilon; |
| 1482 |
y6l=y2+bar; z6l=z2l+whatever*dir 76; |
| 1483 |
penpos2(stem,180); penpos3(bar,270); |
| 1484 |
penpos4(curve,360); penpos5(bar,90); |
| 1485 |
penpos6(1.5bar,180); |
| 1486 |
penstroke z2e{dir -104}..z3e{right}..{dir 76}z4e{dir 76}..tension.9..{left}z5e{left}..{dir -104}z6e; |
| 1487 |
z1l=z2r+whatever*dir 76; y1l=h-bar; |
| 1488 |
serif(1,stem,-104,jut,0); |
| 1489 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 1490 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 1491 |
x7=w-s-5/4stem; y7=h-bar; y8=10/33h; z8=z7+whatever*dir -104; |
| 1492 |
x9=x8+3/4stem; x10=w-s-1/2bar; y10=10/33h; y9=2epsilon; |
| 1493 |
penpos8(stem,180); |
| 1494 |
penpos9(1.1bar,270); penpos10(bar,335); |
| 1495 |
penstroke z8e{dir -104}..{right}z9e{dir 20}..{dir 65}z10e; |
| 1496 |
fill z10l..tension1.3..z10r..tension1.3..cycle; |
| 1497 |
serif(7,stem,-104,jut,0); |
| 1498 |
fill z8r--z8l--reverse serif_edge7--cycle; |
| 1499 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 1500 |
penlabels(range 1 thru 13); |
| 1501 |
endchar; |
| 1502 |
|
| 1503 |
beginchar(CYR_hard_sign,11u#-c#,x_height#,0); |
| 1504 |
y2=10/34h; x2=x4-sss_italic_width; x3=x2+3/2stem; z5=z3+whatever*dir 76; y5=bar_height+bar; y4=.5y5; x4=w-s-1/2curve; y3=0; |
| 1505 |
y6l=y2+bar; z6l=z2l+whatever*dir 76; |
| 1506 |
z1r=z2l+whatever*dir 76; y1=h; |
| 1507 |
penpos2(stem,180); penpos3(bar,270); |
| 1508 |
penpos4(curve,360); penpos5(bar,90); |
| 1509 |
penpos6(1.5bar,180); penpos1(bar,180); |
| 1510 |
penstroke z1e..z2e{dir -104}..z3e{right}..{dir 76}z4e{dir 76}..tension.9..{left}z5e{left}..{dir -104}z6e; |
| 1511 |
x10=s+1/3bar; y10=y5r+1/2bar; y11=h; z11=z10+whatever*dir 70; |
| 1512 |
penpos10(bar,0); penpos11(bar,0); |
| 1513 |
fill z10l..tension1.3..z10r..tension1.3..cycle; |
| 1514 |
fill z11l..tension1.3..z11r..tension1.3..cycle; |
| 1515 |
fill z1l..tension1.3..z1r..tension1.3..cycle; |
| 1516 |
penstroke z10e--z11e; |
| 1517 |
x7=x1r; y7=h-1/2bar; y8=h-5/8stem; x8=x11r+1/2stem; |
| 1518 |
x9r=x11r-.1c; y9r=h; penpos9(curve,70); |
| 1519 |
penpos7(bar,90); penpos8(.8curve,80); |
| 1520 |
penstroke z7e{dir 200}..{left}z8e..{dir 160}z9e; |
| 1521 |
penlabels(range 1 thru 13); |
| 1522 |
endchar; |
| 1523 |
|
| 1524 |
beginchar(CYR_e,7.5u#,x_height#,0); |
| 1525 |
x10=2.5s+1/2vair; y10=26/33h; x11=.5w+1/2(h*sind 14/cosd 14); y11=h; |
| 1526 |
x12=w-s-1/2curve; y12=.46h; |
| 1527 |
x13=.5w-1/2(h*sind 14/cosd 14); y13=0; z14=z13; |
| 1528 |
penpos10(bar,135); penpos11(bar,90); |
| 1529 |
penpos12(curve,0); penpos13(bar,-90); |
| 1530 |
penstroke z10e..z11e{right}..{dir -104}z12e{dir -104}..{left}z13e; |
| 1531 |
fill z10l..tension1.5..z10r..tension1.5..cycle; z14=z13; |
| 1532 |
dl_drop(14,drop_round,x13-s,1.2drop_round,bar); |
| 1533 |
fill dl_drop_edge14; fill z14e..z14c..cycle; |
| 1534 |
x1=x14c; x2=x12; y1=y2=bar_height; |
| 1535 |
penpos1(bar,90); penpos2(bar,90); |
| 1536 |
penstroke z1e--z2e; fill z1r..z1l..cycle; |
| 1537 |
penlabels(range 1 thru 13); |
| 1538 |
endchar; |
| 1539 |
|
| 1540 |
beginchar(CYR_yu,12u#+c#,x_height#,0); |
| 1541 |
penpos1(vair,90); |
| 1542 |
penpos2(curve,0); |
| 1543 |
penpos3(vair,-90); |
| 1544 |
penpos4(curve,-180); |
| 1545 |
x1=x2+.5(x4-x2)-1/2(h*sind 14/cosd 14); x3=x2+.5(x4-x2)+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 1546 |
y2=.54h; y4=.46h; x2=x4-italic_o_width; x4=w-1/2curve-s; |
| 1547 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 1548 |
x5=s; y5=y6=0; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 1549 |
serif(7,stem,-104,jut,0); |
| 1550 |
fill z5--z6--reverse serif_edge7--cycle; |
| 1551 |
y8=y9=bar_height; z8=whatever[z6,z7]; x9=x2; |
| 1552 |
penpos8(bar,90); penpos9(bar,90); |
| 1553 |
penstroke z8e--z9e; fill z7e{dir 76}..z7d{left}..cycle; |
| 1554 |
penlabels(range 1 thru 12); |
| 1555 |
endchar; |
| 1556 |
|
| 1557 |
beginchar(CYR_ya,10u#+c#,x_height#,0); |
| 1558 |
x1=w-s-stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 1559 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=2epsilon; |
| 1560 |
penpos1(stem,180); penpos2(stem,180); |
| 1561 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 1562 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 1563 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 1564 |
x5=x1r; y5=h-1/2bar; x6=x5-4/3stem; y6=h-1/2vair; |
| 1565 |
x7=12/40w; y8=y9=bar_height; z9=z5+whatever*dir -104; |
| 1566 |
x8=x9-stem; y5-y7l=y7l-y9; |
| 1567 |
penpos5(bar,90); penpos6(vair,90); |
| 1568 |
penpos7(curve,166); penpos8(bar,270); |
| 1569 |
penpos9(bar,270); x11=s+stem; y11=-2epsilon; |
| 1570 |
8(x8-x10)=9(x10-x11); y8-y10=y10-y11; z12=z11; |
| 1571 |
penpos10(.7curve,360); penpos11(bar,270); |
| 1572 |
penstroke z5e--z6e{left}..z7e{dir -104}..{right}z8e--z9e; |
| 1573 |
penstroke z9e{left}..tension.8..{dir -104}z10e{dir -104}..{left}z11e; |
| 1574 |
dl_drop(12,drop_round,stem,drop_round,bar); |
| 1575 |
fill dl_drop_edge12; fill z12e..z12c..cycle; |
| 1576 |
penlabels(range 1 thru 12); |
| 1577 |
endchar; |
| 1578 |
|
| 1579 |
currenttransform := identity slanted sind 18; |
| 1580 |
beginchar("A",13u#+s#,cap_height#,0); |
| 1581 |
z1=(.5w,h+1/13h); |
| 1582 |
x4l=w-x5r=s+cap_jut; y4l=y5r=slab; |
| 1583 |
numeric theta[]; |
| 1584 |
theta4=angle(z1-z4l); |
| 1585 |
theta5=angle(z1-z5r); |
| 1586 |
A_serif(4,1.3cap_bar,theta4,cap_jut,1.2cap_jut); |
| 1587 |
serif(5,cap_stem,theta5,cap_jut,cap_jut); |
| 1588 |
z0=z4r+whatever*dir theta4=z5l+whatever*dir theta5; |
| 1589 |
fill z1--A_serif_edge4--z0&z0--serif_edge5--z1&cycle; |
| 1590 |
penpos2(whatever,theta4); |
| 1591 |
penpos3(whatever,theta5); |
| 1592 |
y2r=y3r=20/52h; |
| 1593 |
y2l=y3l=y2r-cap_bar; |
| 1594 |
z2=whatever[z1,z4r]; |
| 1595 |
z3=whatever[z1,z5l]; |
| 1596 |
penstroke z2e--z3e; |
| 1597 |
y6=y7=h; z6=whatever[z1,z4b]; z7=whatever[z1,z5r]; |
| 1598 |
unfill z1..z6--z7..z1&cycle; |
| 1599 |
unfill z1..z6--z7..z1&cycle; |
| 1600 |
penlabels(range 0 thru 7); |
| 1601 |
endchar; |
| 1602 |
|
| 1603 |
beginchar("B",11u#+s#,cap_height#,0); |
| 1604 |
italcorr cap_height#*sind 18-2.2u#; |
| 1605 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1606 |
x3=x10=x1d; y3=y4=h-1/2slab; x4=x3+u; |
| 1607 |
y1c=h; y2c=0; |
| 1608 |
y6=y7=cap_bar_height; x6=x2r; x7=x9=x6+4.5u-cap_stem; |
| 1609 |
y7-y8=y8-y9; x8=w-1/2cap_curve-s; |
| 1610 |
y9=y10=y2h; |
| 1611 |
y4-y5=y5-y7; x5=x8-2/5cap_curve; y77=y7; x77=x4; |
| 1612 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1613 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1614 |
penpos3(slab,90); |
| 1615 |
penpos4(slab,90); |
| 1616 |
penpos5(cap_curve,0); |
| 1617 |
penpos77(slab,-90); |
| 1618 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1619 |
penpos6(cap_bar,90); |
| 1620 |
penpos7(cap_bar,90); |
| 1621 |
penpos8(cap_curve,0); |
| 1622 |
penpos9(cap_bar,-90); |
| 1623 |
penpos10(cap_bar,-90); |
| 1624 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z77e; |
| 1625 |
penstroke z6e--z7e{right}..tension.8..z8e..tension.8..{left}z9e--z10e; |
| 1626 |
penlabels(range 1 thru 10,77); |
| 1627 |
endchar; |
| 1628 |
|
| 1629 |
beginchar("C",10u#+s#,cap_height#,0); |
| 1630 |
italcorr cap_height#*sind 18-1.2u#; |
| 1631 |
x1=x5=23/42w; y1=0; y5=h; |
| 1632 |
y3=.5h; x3=1/2cap_curve+s; |
| 1633 |
y2=0.1h-c; y4=0.9h+c; x2=x4=x3+7/16(x1-x3); |
| 1634 |
penpos1(cap_bar,90); |
| 1635 |
penpos2(o,30); |
| 1636 |
penpos3(cap_curve,0); |
| 1637 |
penpos4(o,-30); |
| 1638 |
penpos5(cap_bar,-90); |
| 1639 |
penstroke z1e{left}..z2e..z3e..z4e..{right}z5e; |
| 1640 |
z6=z5; y7=y1; x7e=w-s; y8=y1; x8=x1-.1w; |
| 1641 |
S_serif(6,slab,w-s-c-x1,1.5border_height); |
| 1642 |
S_serif(7,slab,w-s-x1,1.5border_height); |
| 1643 |
fill S_serif_edge6; fill S_serif_edge7 reflectedabout(z1,z8); |
| 1644 |
%currentpicture := currentpicture shifted(-1.7u,0); |
| 1645 |
penlabels(range 1 thru 8); |
| 1646 |
endchar; |
| 1647 |
|
| 1648 |
beginchar("D",12u#,cap_height#,0); |
| 1649 |
italcorr cap_height#*sind 18-2.2u#; |
| 1650 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1651 |
y1c=h; y2c=0; |
| 1652 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1653 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1654 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1655 |
penpos3(cap_bar,90); |
| 1656 |
penpos4(cap_bar,90); |
| 1657 |
penpos5(o,30); |
| 1658 |
penpos6(cap_curve,0); |
| 1659 |
penpos7(o,-30); |
| 1660 |
penpos8(cap_bar,-90); |
| 1661 |
penpos9(cap_bar,-90); |
| 1662 |
x3=x9=x1d; |
| 1663 |
x8=x4=.5w; y8=y9=1/2cap_bar; y4=y3=h-1/2cap_bar; |
| 1664 |
y6=.5h; x6=w-1/2cap_curve-s; |
| 1665 |
y7=0.1h-c+1/2cap_bar; y5=0.9h+c-1/2cap_bar; x5=x7=x4+5/8(x6-x4); |
| 1666 |
penstroke z3e--z4e{right}..z5e..z6e..z7e..{left}z8e--z9e; |
| 1667 |
penlabels(range 1 thru 10,77); |
| 1668 |
endchar; |
| 1669 |
|
| 1670 |
beginchar("E",10u#+s#,cap_height#,0); |
| 1671 |
italcorr cap_height#*sind 18-1.2u#; |
| 1672 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1673 |
y4=y3=h-1/2slab; x4=x1d; |
| 1674 |
y1c=h; y2c=0; |
| 1675 |
y5=y3; x5e=w-s-c; |
| 1676 |
y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u; |
| 1677 |
T_serif(5,slab,border_height,1); |
| 1678 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1679 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1680 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1681 |
x3=x5a; |
| 1682 |
penpos3(cap_bar,-90); |
| 1683 |
penpos4(cap_bar,-90); |
| 1684 |
penstroke z3e--z4e; |
| 1685 |
fill T_edge5; |
| 1686 |
penpos6(cap_bar,90); |
| 1687 |
penpos7(cap_bar,90); |
| 1688 |
penstroke z6e--z7e; |
| 1689 |
T_serif(8,cap_bar,.8border_height,1); |
| 1690 |
fill T_edge8; |
| 1691 |
fill T_edge8 reflectedabout(z6,z7); |
| 1692 |
y9=y10=y11=y2h; x9=x2d; x11e=w-s; |
| 1693 |
T_serif(11,cap_bar,border_height,1); x10=x11; |
| 1694 |
penpos9(cap_bar,90); |
| 1695 |
penpos10(cap_bar,90); |
| 1696 |
penstroke z9e--z10e; |
| 1697 |
fill T_edge11 reflectedabout(z9,z10); |
| 1698 |
penlabels(range 1 thru 11); |
| 1699 |
endchar; |
| 1700 |
|
| 1701 |
beginchar("F",10u#+.5s#,cap_height#,0); |
| 1702 |
italcorr cap_height#*sind 18-.78u#; |
| 1703 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1704 |
y4=y3=h-1/2slab; x4=x1d; |
| 1705 |
y1c=h; y2c=0; |
| 1706 |
y5=y3; x5e=w-s; |
| 1707 |
y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u; |
| 1708 |
T_serif(5,slab,border_height,1); |
| 1709 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1710 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1711 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1712 |
x3=x5a; |
| 1713 |
penpos3(cap_bar,-90); |
| 1714 |
penpos4(cap_bar,-90); |
| 1715 |
penstroke z3e--z4e; |
| 1716 |
fill T_edge5; |
| 1717 |
penpos6(cap_bar,90); |
| 1718 |
penpos7(cap_bar,90); |
| 1719 |
penstroke z6e--z7e; |
| 1720 |
T_serif(8,cap_bar,.8border_height,1); |
| 1721 |
fill T_edge8; |
| 1722 |
fill T_edge8 reflectedabout(z6,z7); |
| 1723 |
penlabels(range 1 thru 8); |
| 1724 |
endchar; |
| 1725 |
|
| 1726 |
beginchar("G",10u#+cap_jut#+c#+s#,cap_height#,0); |
| 1727 |
italcorr cap_height#*sind 18-2.85u#; |
| 1728 |
x1=x5=23/42(w-cap_jut-c); y1=0; y5=h; |
| 1729 |
y3=.5h; x3=1/2cap_curve+s; |
| 1730 |
y2=0.1h-c; y4=0.9h+c; x2=x4=x3+7/16(x1-x3); |
| 1731 |
penpos1(cap_bar,90); |
| 1732 |
penpos2(o,30); |
| 1733 |
penpos3(cap_curve,0); |
| 1734 |
penpos4(o,-30); |
| 1735 |
penpos5(cap_bar,-90); |
| 1736 |
penstroke z1e{left}..z2e..z3e..z4e..{right}z5e; |
| 1737 |
z6=z5; y7=y1; x7e=w-s-cap_jut-c; y8=y1; x8=x1-.1(w-cap_jut-c); |
| 1738 |
S_serif(6,slab,w-s-2c-x1-cap_jut,1.5border_height); |
| 1739 |
S_serif(7,slab,w-s-x1-cap_jut+c,7/4border_height); |
| 1740 |
fill S_serif_edge6; fill S_serif_edge7 reflectedabout(z1,z8); |
| 1741 |
x9r=x7e; y9r=7/4border_height-1/2cap_bar; |
| 1742 |
serif(9,cap_stem,-90,cap_jut,cap_jut); |
| 1743 |
x10=x9l; x11=x9r; y10=y11=3/4cap_bar; |
| 1744 |
fill reverse serif_edge9--z10--z11--cycle; |
| 1745 |
%currentpicture := currentpicture shifted(-1.6u,0); |
| 1746 |
penlabels(range 1 thru 8); |
| 1747 |
endchar; |
| 1748 |
|
| 1749 |
beginchar("H",12u#+s#,cap_height#,0); |
| 1750 |
italcorr cap_height#*sind 18-.78u#; |
| 1751 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1752 |
x3=x4=w-x1; x5=x1r; x6=x3l; |
| 1753 |
y1c=y3c=h; y2c=y4c=0; |
| 1754 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1755 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1756 |
serif(3,cap_stem,-90,cap_jut,cap_jut); |
| 1757 |
serif(4,cap_stem,90,cap_jut,cap_jut); |
| 1758 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1759 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 1760 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 1761 |
y5=y6=cap_bar_height; penstroke z5e--z6e; |
| 1762 |
penlabels(1,2,3,4,5,6); |
| 1763 |
endchar; |
| 1764 |
|
| 1765 |
beginchar("I",2cap_jut#+cap_stem#+2s#,cap_height#,0); |
| 1766 |
italcorr cap_height#*sind 18-.82u#; |
| 1767 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1768 |
y1c=h; y2c=0; |
| 1769 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1770 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1771 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1772 |
endchar; |
| 1773 |
|
| 1774 |
beginchar("J",7u#,cap_height#,0); |
| 1775 |
italcorr cap_height#*sind 18-1.35u#; |
| 1776 |
x1=x4=w-cap_jut-1/2cap_stem-s; |
| 1777 |
y1c=h; y2=y3=y4=18/53h; x2=x1r; x3=x1l; |
| 1778 |
y5=0; x5=s+cap_drop_round; |
| 1779 |
serif(1,cap_stem,-90,1.2cap_jut,.6cap_jut); |
| 1780 |
fill z3--z2--reverse serif_edge1--cycle; |
| 1781 |
x7r=x4r; y7=3cap_bar; |
| 1782 |
penpos4(cap_stem,0); |
| 1783 |
penpos5(cap_bar,-90); |
| 1784 |
penpos7(2/3cap_stem,0); |
| 1785 |
penstroke z4e{down}..{down}z7e..{left}z5e; |
| 1786 |
x6e=s; y6=0; |
| 1787 |
dl_drop(6,cap_drop_round,x5-s,1.3drop_round,cap_bar); |
| 1788 |
fill dl_drop_edge6; |
| 1789 |
penlabels(1,2,3,4,5,6,7); |
| 1790 |
endchar; |
| 1791 |
|
| 1792 |
beginchar("K",13u#-c#,cap_height#,0); |
| 1793 |
italcorr cap_height#*sind 18-1.9u#; |
| 1794 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1795 |
y1c=h; y2c=0; |
| 1796 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1797 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1798 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1799 |
y7=cap_bar_height; x3l=w-cap_jut-.5cap_jut-cap_bar-s; y3l=h-cap_bar; |
| 1800 |
x5=x6=x1r; y5=cap_bar_height-cap_bar; y6=y5-1.3cap_bar; |
| 1801 |
numeric theta[]; |
| 1802 |
theta1=angle(z5-z3l); |
| 1803 |
A_serif(3,.9cap_bar,theta1,1.5cap_jut,.6cap_jut); |
| 1804 |
x4l=w-s-1.2cap_jut-cap_stem; y4l=cap_bar; |
| 1805 |
z7=z3r+whatever*dir theta1; |
| 1806 |
theta2=angle(z7-z4l); |
| 1807 |
serif(4,cap_stem,theta2,.8cap_jut,cap_jut); |
| 1808 |
z8=z3r+whatever*dir theta1=z4r+whatever*dir theta2; |
| 1809 |
fill z5--z6--z7--serif_edge4--z8--reverse A_serif_edge3--cycle; |
| 1810 |
penlabels(range 1 thru 8); |
| 1811 |
endchar; |
| 1812 |
|
| 1813 |
beginchar("L",10u#+c#,cap_height#,0); |
| 1814 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1815 |
y1c=h; y2c=0; |
| 1816 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1817 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1818 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1819 |
y3=y4=y5=y2h; x3=x2d; x5e=w-s; |
| 1820 |
T_serif(5,cap_bar,border_height,1); x4=x5; |
| 1821 |
penpos3(cap_bar,90); |
| 1822 |
penpos4(cap_bar,90); |
| 1823 |
penstroke z3e--z4e; |
| 1824 |
fill T_edge5 reflectedabout(z3,z4); |
| 1825 |
penlabels(1,2,3,4,5); |
| 1826 |
endchar; |
| 1827 |
|
| 1828 |
beginchar("M",13u#+s#,cap_height#,0); |
| 1829 |
italcorr cap_height#*sind 18-.8u#; |
| 1830 |
x1g=s; y1c=0; y2=h-cap_bar; |
| 1831 |
A_serif(1,cap_bar,90,jut,jut); |
| 1832 |
x2=x1; serif(2,cap_bar,-90,jut,jut); |
| 1833 |
fill A_serif_edge1--reverse serif_edge2--cycle; |
| 1834 |
x3h=x4h=w-s; y3g=h-1/2cap_bar; y4c=0; |
| 1835 |
serif(3,cap_stem,-90,.51cap_bar, jut); |
| 1836 |
serif(4,cap_stem,90,jut,jut); |
| 1837 |
fill serif_edge4--reverse serif_edge3--cycle; |
| 1838 |
z5l=z3g; penpos5(bar,-18); penpos6(bar,-18); |
| 1839 |
z6=z5+whatever*dir -109; y6=0; |
| 1840 |
penstroke z5e--z6e; |
| 1841 |
z7l=z6l+whatever*dir 109; y7l=11/54h; |
| 1842 |
z8l=whatever[z6l,z7l]; y8l=h; |
| 1843 |
penpos7(cap_stem,0); penpos8(cap_stem,0); |
| 1844 |
penstroke z7e--z8e; fill z6l--z7l--z7r--cycle; |
| 1845 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 1846 |
penlabels(range 1 thru 8); |
| 1847 |
endchar; |
| 1848 |
|
| 1849 |
beginchar("N",12u#-c#,cap_height#,0); |
| 1850 |
italcorr cap_height#*sind 18-.8u#; |
| 1851 |
x1=x2=cap_jut+1/2cap_bar+s; |
| 1852 |
x3=w-x1; y1c=y3c=h; y2c=y4=y5=0; |
| 1853 |
x4=x3r; x5=x3l; |
| 1854 |
serif(1,cap_bar,-90,cap_jut,1.3cap_jut); |
| 1855 |
A_serif(2,cap_bar,90,cap_jut,cap_jut); |
| 1856 |
A_serif(3,cap_bar,-90,cap_jut,cap_jut); |
| 1857 |
fill A_serif_edge2--reverse serif_edge1--cycle; |
| 1858 |
numeric theta[]; y7=y1h; x7=x1h-cap_stem; |
| 1859 |
theta1=angle(z5-z7); |
| 1860 |
z6=z3l+whatever*dir -90=z1h+whatever*dir theta1; |
| 1861 |
fill z6--z1h--z7--z5{down}..{up}z4--reverse A_serif_edge3--cycle; |
| 1862 |
unfill z1b--z1l--z1a--cycle; |
| 1863 |
penlabels(1,2,3,4,5,6,7); |
| 1864 |
endchar; |
| 1865 |
|
| 1866 |
beginchar("O",11u#+s#,cap_height#,0); |
| 1867 |
italcorr cap_height#*sind 18-2.2u#; |
| 1868 |
penpos1(vair,90); |
| 1869 |
penpos2(o,30); |
| 1870 |
penpos3(cap_curve,0); |
| 1871 |
penpos4(o,-30); |
| 1872 |
penpos5(vair,-90); |
| 1873 |
penpos6(o,-150); |
| 1874 |
penpos7(cap_curve,-180); |
| 1875 |
penpos8(o,-210); |
| 1876 |
x1=x5=.5w; y1=0; y5=h; |
| 1877 |
y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s; |
| 1878 |
y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5); |
| 1879 |
penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle; |
| 1880 |
%currentpicture := currentpicture shifted(-1.8u,0); |
| 1881 |
penlabels(range 1 thru 8); |
| 1882 |
endchar; |
| 1883 |
|
| 1884 |
beginchar("P",10u#+s#,cap_height#,0); |
| 1885 |
italcorr cap_height#*sind 18-1.55u#; |
| 1886 |
x1=x2=x3=cap_jut+1/2cap_stem+s; |
| 1887 |
y3=y4=cap_bar2_height; y7=y6=h-1/2slab; x7=x3+c; |
| 1888 |
y1c=h; y2c=0; x6=x4=x3+3u; |
| 1889 |
y5-y4=y6-y5; x5=w-1/2cap_curve-s; |
| 1890 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1891 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1892 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1893 |
penpos3(cap_bar,-90); |
| 1894 |
penpos4(cap_bar,-90); |
| 1895 |
penpos5(cap_curve,0); |
| 1896 |
penpos7(cap_bar,90); |
| 1897 |
penpos6(cap_bar,90); |
| 1898 |
penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e; |
| 1899 |
penlabels(1,2,3,4,5,6,7); |
| 1900 |
endchar; |
| 1901 |
|
| 1902 |
beginchar("Q",11u#+s#,cap_height#,comma_depth#); |
| 1903 |
italcorr cap_height#*sind 18-2.2u#; |
| 1904 |
penpos1(vair,90); |
| 1905 |
penpos2(o,30); |
| 1906 |
penpos3(cap_curve,0); |
| 1907 |
penpos4(o,-30); |
| 1908 |
penpos5(vair,-90); |
| 1909 |
penpos6(o,-150); |
| 1910 |
penpos7(cap_curve,-180); |
| 1911 |
penpos8(o,-210); |
| 1912 |
x1=x5=.5w; y1=0; y5=h; |
| 1913 |
y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s; |
| 1914 |
y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5); |
| 1915 |
penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle; |
| 1916 |
x11=x12-1.5c; x12=x7l-c; y11=y12=-comma_depth; |
| 1917 |
y9=0; x9=x1-c; y9-y10=y10-y11; x11-x10=x10-x9; |
| 1918 |
penpos9(cap_bar,90); penpos10(cap_curve,0); |
| 1919 |
penpos11(cap_bar,90); penpos12(cap_bar,90); |
| 1920 |
penstroke z9e{dir -20}..tension.8..z10e..tension.8..{right}z11e--z12e; |
| 1921 |
fill z12r..z12l..cycle; |
| 1922 |
%currentpicture := currentpicture shifted(-1.8u,0); |
| 1923 |
penlabels(range 1 thru 12); |
| 1924 |
endchar; |
| 1925 |
|
| 1926 |
beginchar("R",11u#+s#,cap_height#,0); |
| 1927 |
italcorr cap_height#*sind 18-2.83u#; |
| 1928 |
x1=x2=cap_jut+1/2cap_stem+s; |
| 1929 |
y6=y10=y7=cap_bar_height; y3=y4=h-1/2slab; x7=x2r; |
| 1930 |
y1c=h; y2c=0; x6=x4=x7+2.5u; x3=x1d; |
| 1931 |
y4-y5=y5-y6; x5=x8; x9=w-s-1/2cap_bar; y9=0; y6-y8=y8-y9; x10=x6; x9-x8=6/7(x8-x10); |
| 1932 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1933 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1934 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1935 |
penpos3(cap_bar,90); |
| 1936 |
penpos4(cap_bar,90); |
| 1937 |
penpos5(cap_curve,0); |
| 1938 |
penpos7(cap_bar,-90); |
| 1939 |
penpos6(cap_bar,-90); |
| 1940 |
penpos8(cap_curve,-180); |
| 1941 |
penpos9(cap_bar,-90); |
| 1942 |
penpos10(cap_bar,-90); |
| 1943 |
penstroke z3e--z4e{right}..tension.9..z5e..tension.9..{left}z6e--z7e; |
| 1944 |
penstroke z9e{left}..tension.8..{up}z8e{up}..tension.8..{left}z10e; |
| 1945 |
fill z9l..z9r..cycle; |
| 1946 |
penlabels(range 1 thru 10); |
| 1947 |
endchar; |
| 1948 |
|
| 1949 |
beginchar("S",9u#+s#,cap_height#,0); |
| 1950 |
italcorr cap_height#*sind 18-1.8u#; |
| 1951 |
x6=x7=1/2w; y6=y7=0; |
| 1952 |
S_serif(7,cap_bar,x6-s,1.5border_height); |
| 1953 |
y5=13/53h; x5=w-s-1/2(1.9hair); |
| 1954 |
y4=28/53h; x4=18/38w; y3=40/53h; x3=s+c+1/2(1.9cap_bar); |
| 1955 |
x2=.5w-c; y2=h; z1=z2; |
| 1956 |
penpos6(cap_bar,-90); |
| 1957 |
penpos5(1.9hair,0); |
| 1958 |
penpos4(1.1cap_curve,90); |
| 1959 |
penpos3(1.9hair,0); |
| 1960 |
penpos2(cap_bar,-90); |
| 1961 |
penstroke z6e{right}..{up}z5e{up}..tension.8..z4e..tension.8..{up}z3e..{right}z2e; |
| 1962 |
fill S_serif_edge7 rotatedaround(z6,180); |
| 1963 |
S_serif(1,cap_bar,x5-x2-cap_bar,1.2border_height); |
| 1964 |
fill S_serif_edge1; |
| 1965 |
penlabels(1,2,3,4,5,6,7); |
| 1966 |
endchar; |
| 1967 |
|
| 1968 |
beginchar("T",round (11u#+s#),cap_height#,0); |
| 1969 |
italcorr cap_height#*sind 18-.8u#; |
| 1970 |
x1=x2=.5w; y1c=h; y2c=0; |
| 1971 |
y3=y4=h-1/2slab; x3e=s; x1-x3e=x4e-x1; |
| 1972 |
serif(1,cap_stem,-90,1.2cap_jut,1.2cap_jut); |
| 1973 |
serif(2,cap_stem,90,cap_jut,cap_jut); |
| 1974 |
fill serif_edge2--reverse serif_edge1--cycle; |
| 1975 |
T_serif(3,cap_bar,round border_height,0); |
| 1976 |
T_serif(4,cap_bar,round border_height,1); |
| 1977 |
fill T_edge3; |
| 1978 |
fill T_edge4; |
| 1979 |
if x1c>x3: y5=y6=y7=y8=h-1/2cap_bar; x5=x3a; x6=x1c; x7=x1e; x8=x4a; |
| 1980 |
penpos5(cap_bar,90); penpos6(cap_bar,90); |
| 1981 |
penpos7(cap_bar,90); penpos8(cap_bar,90); |
| 1982 |
penstroke z5e--z6e; |
| 1983 |
penstroke z7e--z8e; fi |
| 1984 |
%currentpicture := currentpicture shifted(-3u,0); |
| 1985 |
penlabels(range 1 thru 8); |
| 1986 |
endchar; |
| 1987 |
|
| 1988 |
beginchar("U",12u#+s#,cap_height#,0); |
| 1989 |
italcorr cap_height#*sind 18-.8u#; |
| 1990 |
x1=cap_jut+1/2cap_stem+s; |
| 1991 |
x3=w-s-cap_jut-1/2cap_bar; |
| 1992 |
y1c=y3c=h; y2=y4=y5=y6=y24=y56=16/53h; x2=x1l; |
| 1993 |
x4=x1r; x5=x3l; x6=x3r; |
| 1994 |
serif(1,cap_stem,-90,cap_jut,cap_jut); |
| 1995 |
A_serif(3,cap_bar,-90,cap_jut,cap_jut); |
| 1996 |
fill z2--z4--reverse serif_edge1--cycle; |
| 1997 |
fill z5--z6--reverse A_serif_edge3--cycle; |
| 1998 |
x7=x1+.5(x3-x1); y7=0; x4-x24=x24-x2; x6-x56=x56-x5; |
| 1999 |
penpos24(cap_stem,-180); penpos7(vair,-90); |
| 2000 |
penpos56(cap_bar,0); |
| 2001 |
penstroke z24e{down}..tension.9..{right}z7e{right}..tension.9..{up}z56e; |
| 2002 |
%currentpicture := currentpicture shifted(-2.5u,0); |
| 2003 |
penlabels(range 1 thru 7,24,56); |
| 2004 |
endchar; |
| 2005 |
|
| 2006 |
beginchar("V",12u#,cap_height#,0); |
| 2007 |
italcorr cap_height#*sind 18-.8u#; |
| 2008 |
x1l=cap_jut+s; x3r=w-s-cap_jut; |
| 2009 |
y1l=y3r=h-cap_bar; x4=.5w-1/2cap_bar; x5=.5w+1/2cap_bar; |
| 2010 |
y4=y5=1/2cap_bar; |
| 2011 |
numeric theta[]; |
| 2012 |
theta1=angle(z4-z1l); |
| 2013 |
theta2=angle(z5-z3r); |
| 2014 |
serif(1,cap_stem,theta1,cap_jut,cap_jut); |
| 2015 |
A_serif(3,cap_bar,theta2,1.3cap_jut,cap_jut); |
| 2016 |
z2=z1r+whatever*dir theta1=z3l+whatever*dir theta2; |
| 2017 |
fill z4{down}..{up}z5--reverse A_serif_edge3--z2--reverse serif_edge1--z4&cycle; |
| 2018 |
%currentpicture := currentpicture shifted(-3.5u,0); |
| 2019 |
penlabels(1,2,3,4,5,6,7); |
| 2020 |
endchar; |
| 2021 |
|
| 2022 |
beginchar("W",17u#,cap_height#,0); |
| 2023 |
italcorr cap_height#*sind 18-.8u#; |
| 2024 |
x9l=.5w-.3cap_stem; x7r=w-s-cap_jut; |
| 2025 |
y9l=y7r=y1l=h-cap_bar; x5=x9l+.5(x7r-x9l)-1/2cap_bar; x6=x9l+.5(x7r-x9l)+1/2cap_bar; |
| 2026 |
y5=y6=y2=y3=1/2cap_bar; |
| 2027 |
numeric theta[]; |
| 2028 |
theta1=angle(z5-z9l); |
| 2029 |
theta2=angle(z6-z7r); |
| 2030 |
serif(9,cap_stem,theta1,cap_jut,cap_jut); |
| 2031 |
A_serif(7,cap_bar,theta2,1.3cap_jut,cap_jut); |
| 2032 |
z8=z9r+whatever*dir theta1=z7l+whatever*dir theta2; |
| 2033 |
x1l=s+cap_jut; |
| 2034 |
serif(1,cap_stem,theta1,cap_jut,cap_jut); |
| 2035 |
z2=z1l+whatever*dir theta1; x3=x2+cap_bar; |
| 2036 |
z4=z3+whatever*dir (theta2-180)=z9l+whatever*dir theta1; |
| 2037 |
y11=y8; z11=z1r+whatever*dir theta1; |
| 2038 |
z10=z11+whatever*dir (theta2-180)=z9l+whatever*dir theta1; |
| 2039 |
fill z5{down}..{up}z6--reverse A_serif_edge7--z8--reverse serif_edge9--z10--z11--reverse serif_edge1--z2{down}..{up}z3--z4--z5&cycle; |
| 2040 |
%currentpicture := currentpicture shifted(-3.5u,0); |
| 2041 |
penlabels(range 1 thru 11); |
| 2042 |
endchar; |
| 2043 |
|
| 2044 |
beginchar("X",12u#+s#,cap_height#,0); |
| 2045 |
italcorr cap_height#*sind 18-1.25u#; |
| 2046 |
y3=y4=slab; x3=w-s-cap_jut-1/2cap_stem; x4=s+cap_jut+1/2slab; |
| 2047 |
y1=y2=h-slab; x1=s+cap_jut+1/2cap_stem+c; x2=w-s-1.5c-cap_jut-1/2slab; |
| 2048 |
numeric theta[]; |
| 2049 |
theta1 = angle(z1-z3); |
| 2050 |
theta2 = angle(z2-z4); |
| 2051 |
serif(1,cap_stem,theta1-180,cap_jut,cap_jut); |
| 2052 |
A_serif(2,1.2cap_bar,theta2-180,cap_jut,cap_jut); |
| 2053 |
serif(3,cap_stem,theta1,cap_jut,cap_jut); |
| 2054 |
A_serif(4,1.2cap_bar,theta2,cap_jut,cap_jut); |
| 2055 |
fill serif_edge3--reverse serif_edge1--cycle; |
| 2056 |
fill A_serif_edge4--reverse A_serif_edge2--cycle; |
| 2057 |
penlabels(1,2,3,4); |
| 2058 |
endchar; |
| 2059 |
|
| 2060 |
beginchar("Y",12u#,cap_height#,0); |
| 2061 |
italcorr cap_height#*sind 18-.8u#; |
| 2062 |
x1l=cap_jut+s; x3r=w-s-cap_jut; |
| 2063 |
y1l=y3r=h-cap_bar; x4=.5w; |
| 2064 |
y4=8/25h; |
| 2065 |
numeric theta[]; |
| 2066 |
theta1=angle(z4-z1l); |
| 2067 |
theta2=angle(z4-z3r); |
| 2068 |
serif(1,cap_stem,theta1,cap_jut,cap_jut); |
| 2069 |
A_serif(3,cap_bar,theta2,1.3cap_jut,cap_jut); |
| 2070 |
z2=z1r+whatever*dir theta1=z3l+whatever*dir theta2; |
| 2071 |
y5c=0; x5=.5w+.5c; |
| 2072 |
serif(5,cap_stem,90,cap_jut,cap_jut); |
| 2073 |
x6=x5l; x7=x5r; |
| 2074 |
z6=z1l+whatever*dir theta1; |
| 2075 |
z7=z3r+whatever*dir theta2; |
| 2076 |
fill z6--serif_edge5--z7--reverse A_serif_edge3--z2--reverse serif_edge1--z6&cycle; |
| 2077 |
%currentpicture := currentpicture shifted(-3.2u,0); |
| 2078 |
penlabels(1,2,3,4,5,6,7); |
| 2079 |
endchar; |
| 2080 |
|
| 2081 |
beginchar("Z",9u#+1.5s#,cap_height#,0); |
| 2082 |
italcorr cap_height#*sind 18-.78u#; |
| 2083 |
x6=s+1/2cap_bar; y6=y7=y8=1/2cap_bar; |
| 2084 |
x8e=w-s; x7=x8; |
| 2085 |
T_serif(8,cap_bar,border_height,1); |
| 2086 |
penpos6(cap_bar,90); |
| 2087 |
penpos7(cap_bar,90); |
| 2088 |
penstroke z6e--z7e; fill z6r..z6l..cycle; |
| 2089 |
fill T_edge8 reflectedabout(z6,z7); |
| 2090 |
x9=w-s-c; y9=y10=0; x10=w-.85s; z11=z8d reflectedabout(z6,z7); |
| 2091 |
unfill z11{down}..z9--z10--cycle; |
| 2092 |
y5l=y6r; x5l=x6r-1/4cap_bar; |
| 2093 |
x4r=w-s-1/4cap_bar; y4=h-cap_bar; |
| 2094 |
penpos4(cap_stem/(cosd 18),0); |
| 2095 |
penpos5(cap_stem/(cosd 18),0); |
| 2096 |
penstroke z4e--z5e; |
| 2097 |
y3=y2=y1=h-1/2cap_bar; |
| 2098 |
x3=w-s-1/2cap_bar; x1e=s+c; |
| 2099 |
T_serif(1,cap_bar,border_height,0); |
| 2100 |
x2=x1; |
| 2101 |
penpos3(cap_bar,90); |
| 2102 |
penpos2(cap_bar,90); |
| 2103 |
penstroke z2e--z3e; fill z3l..z3r..cycle; |
| 2104 |
fill T_edge1; |
| 2105 |
x12=x1e; y12=y13=h; x13=x1e+.5c; |
| 2106 |
unfill z1d{up}..z13--z12--cycle; |
| 2107 |
penlabels(range 1 thru 13); |
| 2108 |
endchar; |
| 2109 |
currenttransform := identity; |
| 2110 |
|
| 2111 |
beginchar("a",9u#+c#,x_height#,0); |
| 2112 |
x1=w-s-3/4stem; y1=h; y2=7/33h; z2=z1+whatever*dir -104; |
| 2113 |
x3=x2+1/2stem+c; y3=2epsilon; x4=w-s-bar/3; y4=8/33h; |
| 2114 |
penpos1(stem,180); |
| 2115 |
penpos2(stem,180); |
| 2116 |
penpos3(1.2vair,270); |
| 2117 |
penpos4(bar,360); |
| 2118 |
penstroke z1e--z2e{down}..{right}z3e{right}..tension1.2..{dir 60}z4e; |
| 2119 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2120 |
x5=x1-3/2stem; y5=h; z7=z5+whatever*dir -104; y7=-3epsilon; |
| 2121 |
x6=s+1/2curve+c; y6=.54h; y8=.46h; z8l=whatever[z1r,z2r]; |
| 2122 |
penpos8(2bar,0); |
| 2123 |
penpos5(vair,90); |
| 2124 |
penpos6(curve,180); |
| 2125 |
penpos7(vair,270); |
| 2126 |
penstroke z5e{left}..tension1.1..{dir 256}z6e{dir 256}..tension.9..{right}z7e..tension1.3..{dir 76}z8e{dir 76}..tension1..{dir 166}z5e..cycle; |
| 2127 |
z9=whatever[z1r,z2r]; y9=y12=h-c; z10=(x1r+c,h); z11=(x1l-c,h); |
| 2128 |
z12=whatever[z1l,z2l]; |
| 2129 |
unfill z9{up}..z10--z1r--z9..cycle; |
| 2130 |
unfill z11--z1l--z12{up}..z11..cycle; |
| 2131 |
penlabels(range 1 thru 66); |
| 2132 |
endchar; |
| 2133 |
|
| 2134 |
beginchar("b",8u#+s#,asc_height#,0); |
| 2135 |
penpos1(vair,90); |
| 2136 |
penpos2(curve,0); |
| 2137 |
penpos3(vair,-90); |
| 2138 |
penpos4(curve,-180); |
| 2139 |
x1=.5w-1/2(x_height*sind 14/cosd 14); x3=.5w+1/2(x_height*sind 14/cosd 14); |
| 2140 |
y1=0; y3=x_height; y2=.54x_height; y4=.46x_height; x2=1/2curve+s; x4=w-1/2curve-s; |
| 2141 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 2142 |
y5=h-bar; z5=z2+whatever*dir 76; |
| 2143 |
serif(5,stem,-104,jut,0); |
| 2144 |
fill z2l--z2r--reverse serif_edge5--cycle; |
| 2145 |
fill z5e{dir 76}..z5d{left}..cycle; |
| 2146 |
penlabels(range 1 thru 8); |
| 2147 |
endchar; |
| 2148 |
|
| 2149 |
beginchar("c",7.5u#,x_height#,0); |
| 2150 |
penpos1(vair,90); |
| 2151 |
penpos2(curve,0); |
| 2152 |
penpos3(vair,-90); |
| 2153 |
x1=4u-1/2(h*sind 14/cosd 14); x3=4u+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 2154 |
y2=.54h; x2=1/2curve+s; x6=8u-2.5s-1/2vair; y6=9/33h; |
| 2155 |
penpos6(vair,135); z4=z3; |
| 2156 |
penstroke z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e; |
| 2157 |
fill z6l..tension1.5..z6r..tension1.5..cycle; |
| 2158 |
ur_drop(4,drop_round,9/8drop_round,5/4drop_round,bar); |
| 2159 |
fill ur_drop_edge4; |
| 2160 |
penlabels(range 1 thru 8); |
| 2161 |
endchar; |
| 2162 |
|
| 2163 |
beginchar("d",10u#,asc_height#,0); |
| 2164 |
x1=w-s-1/2stem; y1=h-bar; y2=11/33x_height; z2=z1+whatever*dir -104; |
| 2165 |
x3=x2+1/2stem; x4=w-s-1/2bar; y4=10/33x_height; y3=2epsilon; |
| 2166 |
serif(1,stem,-104,1.5jut,0); |
| 2167 |
penpos2(stem,180); |
| 2168 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2169 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 2170 |
penstroke z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2171 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2172 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2173 |
y6=-2epsilon; y8=x_height; x7=1/2curve+s; y7=.54x_height; |
| 2174 |
x8=x7+.5(x5-x7)+3/8(x_height*sind 14/cosd 14); |
| 2175 |
x6=x7+.5(x5-x7)-5/8(x_height*sind 14/cosd 14); |
| 2176 |
y5r=.46x_height; z5r=whatever[z1l,z2r]; |
| 2177 |
penpos6(vair,90); penpos7(curve,0); |
| 2178 |
penpos8(vair,-90); penpos5(.7curve,180); |
| 2179 |
penstroke z6e{left}..tension.9..{dir 76}z7e{dir 76}..{right}z8e..tension.9..{dir 256}z5e{dir 256}..{left}z6e..cycle; |
| 2180 |
penlabels(range 1 thru 12); |
| 2181 |
endchar; |
| 2182 |
|
| 2183 |
beginchar("e",8u#+c#,x_height#,0); |
| 2184 |
penpos1(vair,90); |
| 2185 |
penpos2(curve,0); |
| 2186 |
penpos3(vair,-90); |
| 2187 |
penpos4(curve,-180); |
| 2188 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 2189 |
y2=.54h; y4=4/5h; x2=1/2curve+s; x4=w-1/2curve-s; z5r=z2; x6=w-s-s-1/2vair; y6=9/33h; |
| 2190 |
penpos5(vair,-270); |
| 2191 |
penpos6(vair,135); |
| 2192 |
penstroke z6e..z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{dir 194}z5e; |
| 2193 |
fill z6l..tension1.3..z6r..tension1.3..cycle; |
| 2194 |
penlabels(range 1 thru 8); |
| 2195 |
endchar; |
| 2196 |
|
| 2197 |
beginchar("f",7u#+c#,asc_height#,desc_depth#); |
| 2198 |
x1d=w-s; y1d=x_height; y2=7/33x_height; |
| 2199 |
serif(1,stem,-104,1.2jut,jut); |
| 2200 |
z2=z1+whatever*dir -104; penpos2(stem,180); |
| 2201 |
y3l=-2/3d-c; z3l=whatever[z1f,z2l]; penpos3(1.1bar,180); |
| 2202 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2203 |
penstroke z2e{dir -104}..{dir -104}z3e; |
| 2204 |
z4=z3; dl_drop(4,drop_round,1/3d,drop_round,1.1bar); |
| 2205 |
y5=h-stem; z5=z1l+whatever*dir 80; |
| 2206 |
penpos5(bar,0); z6=z5; |
| 2207 |
ur_drop(6,drop_round,stem,drop_round,bar); |
| 2208 |
fill ur_drop_edge6 rotatedaround(z5,85); |
| 2209 |
fill dl_drop_edge4 rotatedaround(z3,76); |
| 2210 |
fill z3l..tension1.3..z3r..tension1.3..cycle; |
| 2211 |
fill z5l..tension1.3..z5r..tension1.3..cycle; |
| 2212 |
fill z1l..z5l--z5r..z1r--cycle; |
| 2213 |
penlabels(range 1 thru 12); |
| 2214 |
endchar; |
| 2215 |
|
| 2216 |
beginchar("g",9u#+c#,x_height#,desc_depth#); |
| 2217 |
currenttransform := identity slanted sind 14; |
| 2218 |
penpos1(vair,90); penpos2(o,30); |
| 2219 |
penpos3(curve,0); penpos4(o,-30); |
| 2220 |
penpos5(vair,-90); penpos6(o,-150); |
| 2221 |
penpos7(curve,-180); penpos8(o,-210); |
| 2222 |
y3=y7=2/3h; x3=1/2curve+s+c; x7=w-3/2stem-s; |
| 2223 |
x1=x5=x3+1/2(x7-x3); y1=3/11h; y5=h; |
| 2224 |
y2=y8=y1+0.1(8/11h); y4=y6=y1+0.9(8/11h); x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5); |
| 2225 |
penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle; |
| 2226 |
x9=x7; y9=y7+1/2(y6-y7); y10=h; x10=x7l+c; |
| 2227 |
x11e=w-s; y11=y10; |
| 2228 |
ur_drop(11,.8stem,x11e-x10,drop_round,bar); |
| 2229 |
penpos9(hair,180); penpos10(vair,90); |
| 2230 |
penstroke z9e{up}..{right}z10e; |
| 2231 |
fill ur_drop_edge11; |
| 2232 |
y12=y1; x12=x1; y13=y12/2; x13=s+1/4stem+.5c; |
| 2233 |
y14=y15=0; x14=x2r; x15=x8r; y16=y18=-d/2; x16=w-s-1/2stem; |
| 2234 |
x18=s+.7hair; y17=-d+1/2bar; x17=s+.6bar+9/20(x16-x18); x19=x14; y19l=y14r; |
| 2235 |
penpos12(vair,90); penpos13(1/2curve,180); penpos14(curve,270); |
| 2236 |
z144=z14; penpos144(curve,90); penpos15(curve,90);penpos16(1/2curve,0); |
| 2237 |
penpos17(vair,-90); penpos18(1.4hair,-180); penpos19(1.4vair,-270); |
| 2238 |
penstroke z12e{left}..{down}z13e{down}..{right}z14e; |
| 2239 |
penstroke z144e--z15e{right}..tension1..{down}z16e{down}..{left}z17e{left}..{up}z18e{up}..{right}z19e; |
| 2240 |
currenttransform := identity; |
| 2241 |
penlabels(range 1 thru 19); |
| 2242 |
endchar; |
| 2243 |
|
| 2244 |
beginchar("h",10u#+s#,asc_height#,0); |
| 2245 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 2246 |
serif(7,stem,-104,jut,0); |
| 2247 |
x1=w-s-10.5/8stem; y1=26/33x_height; y2=10/33x_height; z2=z1+whatever*dir -108; |
| 2248 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33x_height; y3=y5=y6=0; |
| 2249 |
x8=x2; y8=x_height; y9=bar_height-bar; z9r=whatever[z6,z7f]; |
| 2250 |
penpos1(stem,180); penpos2(stem,180); |
| 2251 |
penpos3(bar,270); penpos4(bar,335); |
| 2252 |
penpos8(1.2bar,270); penpos9(bar,0); |
| 2253 |
penstroke z9e{dir 68}..{right}z8e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2254 |
fill z5--z6--reverse serif_edge7--cycle; |
| 2255 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2256 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2257 |
penlabels(range 1 thru 12); |
| 2258 |
endchar; |
| 2259 |
|
| 2260 |
beginchar("i",5u#,asc_height#,0); |
| 2261 |
x1=w-s-stem; y1=x_height-bar; y2=11/33x_height; z2=z1+whatever*dir -104; |
| 2262 |
x3=x2+1/2stem; x4=w-s-1/2bar; y4=10/33x_height; y3=0; |
| 2263 |
serif(1,stem,-104,jut,0); |
| 2264 |
penpos2(stem,180); |
| 2265 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2266 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 2267 |
penstroke z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2268 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2269 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2270 |
x5=x1d-c; y5=h-3/2stem; penpos5(curve,0); |
| 2271 |
fill z5l..z5r..cycle; |
| 2272 |
penlabels(range 1 thru 12); |
| 2273 |
endchar; |
| 2274 |
|
| 2275 |
beginchar("j",7u#,asc_height#,desc_depth#); |
| 2276 |
x5=w-s-1/2stem; x1d=x5+c; y5=h-3/2stem; penpos5(curve,0); |
| 2277 |
y1d=x_height; y2=7/33x_height; serif(1,stem,-104,jut,0); |
| 2278 |
z2=z1+whatever*dir -104; penpos2(stem,180); |
| 2279 |
y3l=-2/3d-c; z3l=whatever[z1f,z2l]; penpos3(1.1bar,180); |
| 2280 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2281 |
penstroke z2e{dir -104}..{dir -104}z3e; |
| 2282 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2283 |
fill z5l..z5r..cycle; z4=z3; |
| 2284 |
dl_drop(4,drop_round,1/3d,drop_round,1.1bar); |
| 2285 |
fill dl_drop_edge4 rotatedaround(z3,76); |
| 2286 |
fill z3l..tension1.3..z3r..tension1.3..cycle; |
| 2287 |
penlabels(range 1 thru 12); |
| 2288 |
endchar; |
| 2289 |
|
| 2290 |
beginchar("k",10u#,asc_height#,0); |
| 2291 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 2292 |
serif(7,stem,-104,1.2jut,0); |
| 2293 |
x1=w-s-2stem; y1=bar_height-2.5bar; y2=6/33x_height; z2=z1+whatever*dir -104; |
| 2294 |
x3=x2+3/4stem; x4=w-s-bar; y4=9/33x_height; y3=y5=y6=0; |
| 2295 |
x8=x2-stem; y8=y9=bar_height; z9r=whatever[z6,z7f]; |
| 2296 |
penpos1(stem,180); penpos2(stem,180); |
| 2297 |
penpos3(bar,270); penpos4(bar,335); |
| 2298 |
penpos8(1.1bar,270); penpos9(1.1bar,270); |
| 2299 |
penstroke z9e{right}..{right}z8e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2300 |
fill z5--z6--reverse serif_edge7--cycle; |
| 2301 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2302 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2303 |
y11=x_height; x11e=w-s; |
| 2304 |
ur_drop(11,drop_round,7/8drop_round,drop_round,1bar); |
| 2305 |
z12=z11; x12-x10=x10-x8; y12-y10=y10-y8; |
| 2306 |
penpos10(bar,-18); penpos12(bar,270); |
| 2307 |
penstroke z8e{right}..{dir 72}z10e{dir 72}..{right}z12e; |
| 2308 |
fill ur_drop_edge11; |
| 2309 |
penlabels(range 1 thru 12); |
| 2310 |
endchar; |
| 2311 |
|
| 2312 |
beginchar("l",5u#,asc_height#,0); |
| 2313 |
x1=w-s-1/2stem; y1=h-bar; y2=11/33x_height; z2=z1+whatever*dir -104; |
| 2314 |
x3=x2+1/2stem; x4=w-s-1/2bar; y4=10/33x_height; y3=0; |
| 2315 |
serif(1,stem,-104,jut,0); |
| 2316 |
penpos2(stem,180); |
| 2317 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2318 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 2319 |
penstroke z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2320 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2321 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2322 |
penlabels(range 1 thru 12); |
| 2323 |
endchar; |
| 2324 |
|
| 2325 |
beginchar("m",14u#+c#,x_height#,0); |
| 2326 |
x11=s+1/2stem; z12=z11+whatever*dir 76; y12=h-bar; |
| 2327 |
y11=0; serif(12,stem,-104,jut,0); penpos11(stem,0); |
| 2328 |
x1=w-s-9/8stem; y1=26/33h; y2=10/33h; z2=z1+whatever*dir -108; |
| 2329 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=0; |
| 2330 |
x5=x2; y5=y9=h; y6r=y10l=bar_height-bar; z6r=z7r+whatever*dir 76; |
| 2331 |
y13=0; z13=z1+whatever*dir -104; x13-x7=x7-x11; y7=0; |
| 2332 |
y8=y1; z8=z7+whatever*dir 76; x1-x5=x8-x9; z10l=whatever[z11r,z12f]; |
| 2333 |
penpos1(stem,180); penpos2(stem,180); |
| 2334 |
penpos3(bar,270); penpos4(bar,335); |
| 2335 |
penpos5(1.2bar,270); penpos6(bar,0); |
| 2336 |
penpos7(stem,0); penpos8(stem,0); |
| 2337 |
penpos9(1.2bar,90); penpos10(bar,180); |
| 2338 |
penstroke z6e{dir 68}..{right}z5e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2339 |
fill z11l--z11r--reverse serif_edge12--cycle; |
| 2340 |
fill z12e{dir 76}..z12d{left}..cycle; |
| 2341 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2342 |
penstroke z10e{dir 68}..{right}z9e..z8e{dir -104}..z7e; |
| 2343 |
penlabels(range 1 thru 13); |
| 2344 |
endchar; |
| 2345 |
|
| 2346 |
beginchar("n",10u#+s#,x_height#,0); |
| 2347 |
x5=s; x6=x5+stem; z7l=z5+whatever*dir 76; y7l=h-bar; |
| 2348 |
serif(7,stem,-104,jut,0); |
| 2349 |
x1=w-s-10.5/8stem; y1=26/33h; y2=10/33h; z2=z1+whatever*dir -108; |
| 2350 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y5=y6=0; |
| 2351 |
x8=x2; y8=h; y9=bar_height-bar; z9r=whatever[z6,z7f]; |
| 2352 |
penpos1(stem,180); penpos2(stem,180); |
| 2353 |
penpos3(bar,270); penpos4(bar,335); |
| 2354 |
penpos8(1.2bar,270); penpos9(bar,0); |
| 2355 |
penstroke z9e{dir 68}..{right}z8e..z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2356 |
fill z5--z6--reverse serif_edge7--cycle; |
| 2357 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2358 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2359 |
penlabels(range 1 thru 12); |
| 2360 |
endchar; |
| 2361 |
|
| 2362 |
beginchar("o",8u#+s#,x_height#,0); |
| 2363 |
penpos1(vair,90); |
| 2364 |
penpos2(curve,0); |
| 2365 |
penpos3(vair,-90); |
| 2366 |
penpos4(curve,-180); |
| 2367 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 2368 |
y2=.54h; y4=.46h; x2=1/2curve+s; x4=w-1/2curve-s; |
| 2369 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 2370 |
penlabels(range 1 thru 8); |
| 2371 |
endchar; |
| 2372 |
|
| 2373 |
beginchar("p",9u#+c#,x_height#,desc_depth#); |
| 2374 |
penpos1(vair,90); |
| 2375 |
penpos2(curve,0); |
| 2376 |
penpos3(vair,-90); |
| 2377 |
penpos4(curve,-180); |
| 2378 |
x1=x2+.5(x4-x2)-1/4(h*sind 14/cosd 14); x3=x2+.5(x4-x2)+3/4(h*sind 14/cosd 14); y1=0; y3=h; |
| 2379 |
y2=.54h; y4=.46h; x2=x4-italic_o_width+c; x4=w-1/2curve-s; |
| 2380 |
penstroke z1e{left}..tension.9..{dir 76}z2e{dir 76}..{right}z3e..tension.9..{dir 256}z4e{dir 256}..{left}z1e..cycle; |
| 2381 |
y5=h-bar; z5=z2+whatever*dir 76; |
| 2382 |
serif(5,stem,-104,jut,0); fill z5e{dir 76}..z5d{left}..cycle; |
| 2383 |
y6=-d+bar; z6=whatever[z2,z5]; |
| 2384 |
serif(6,stem,76,.3jut,jut); |
| 2385 |
fill serif_edge6--reverse serif_edge5--cycle; |
| 2386 |
penlabels(range 1 thru 12); |
| 2387 |
endchar; |
| 2388 |
|
| 2389 |
beginchar("q",9u#,x_height#,desc_depth#); |
| 2390 |
x1=w-s-1/2stem; y1=h-1/2bar; y2=-d+bar; z2=z1+whatever*dir -104; |
| 2391 |
serif(2,stem,76,1.3jut,1.3jut); |
| 2392 |
penpos1(stem,180); |
| 2393 |
fill z1l--z1r--serif_edge2--cycle; |
| 2394 |
y6=0; y8=h; x7=1/2curve+s; y7=.54h; |
| 2395 |
x8=x7+.5(x5-x7)+3/8(x_height*sind 14/cosd 14); |
| 2396 |
x6=x7+.5(x5-x7)-5/8(x_height*sind 14/cosd 14); |
| 2397 |
y5r=.46x_height; z5r=whatever[z1r,z2l]; |
| 2398 |
penpos6(vair,90); penpos7(curve,0); |
| 2399 |
penpos8(vair,-90); penpos5(.7curve,180); |
| 2400 |
penstroke z6e{left}..tension.9..{dir 76}z7e{dir 76}..{right}z8e..tension.9..{dir 256}z5e{dir 256}..{left}z6e..cycle; |
| 2401 |
penlabels(range 1 thru 12); |
| 2402 |
endchar; |
| 2403 |
|
| 2404 |
beginchar("r",9u#-c#,x_height#,0); |
| 2405 |
y2=0; x2=s+1/2stem; penpos2(stem,180); |
| 2406 |
z1l=z2r+whatever*dir 76; y1l=h-bar; |
| 2407 |
serif(1,stem,-104,jut,0); |
| 2408 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2409 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2410 |
y3l=15/33h; z3l=whatever[z2l,z1f]; |
| 2411 |
y4=h; x4=w-s-3/4stem; z5=z4; |
| 2412 |
penpos3(1.2bar,180); penpos4(1.1bar,90); |
| 2413 |
penstroke z3e{dir 76}..{right}z4e; |
| 2414 |
ur_drop(5,drop_round,3/4stem,drop_round,1.1bar); |
| 2415 |
fill ur_drop_edge5; |
| 2416 |
penlabels(range 1 thru 12); |
| 2417 |
endchar; |
| 2418 |
|
| 2419 |
beginchar("s",8u#-s#,x_height#,0); |
| 2420 |
z4=(.5w,.55h); y2=h; y6=0; y5=9/34h; |
| 2421 |
z2=z4+whatever*dir 78; z6=z4+whatever*dir -100; |
| 2422 |
x5=w-s-.7stem; x3=s+.9stem; y3=27/34h; |
| 2423 |
z34=z4+whatever*dir 150; z45=z4+whatever*dir -40; |
| 2424 |
x34=x4-stem*sind 40; x45=x4+stem*sind 40; |
| 2425 |
penpos2(bar,90); penpos3(.6stem,180); |
| 2426 |
penpos34(stem,240); penpos5(.6stem,180); |
| 2427 |
penpos6(bar,90); penpos45(stem,240); |
| 2428 |
penstroke z2e{left}..z3e{down}..{dir -40}z34e{dir -40}..{dir -40}z45e{dir -40}..{down}z5e{down}..{left}z6e; |
| 2429 |
z1=z2; z7=z6; |
| 2430 |
ur_drop(1,.9drop_round,w-s-x2,drop_round,bar); |
| 2431 |
fill ur_drop_edge1; |
| 2432 |
dl_drop(7,drop_round,x6-s,1.2drop_round,bar); |
| 2433 |
fill dl_drop_edge7; fill z7e..z7c..cycle; |
| 2434 |
penlabels(range 1 thru 12,34,45); |
| 2435 |
endchar; |
| 2436 |
|
| 2437 |
beginchar("t",5u#+s#,asc_height#,0); |
| 2438 |
x1=w-s-1/2stem-1.2jut; y1=x_height-bar; y2=9/33x_height; |
| 2439 |
z2=z1+whatever*dir -104; z5=whatever[z2,z1]; y5=h-stem; |
| 2440 |
x3=x2+1/2stem; x4=w-s-bar; y4=10/33x_height; y3=0; |
| 2441 |
serif(1,stem,-104,1.2jut,1.2jut); |
| 2442 |
penpos2(stem,180); penpos5(.95stem,0); |
| 2443 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2444 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 2445 |
penstroke z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2446 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2447 |
fill z1l--z5l--z5r--z1r--cycle; |
| 2448 |
penlabels(range 1 thru 12); |
| 2449 |
endchar; |
| 2450 |
|
| 2451 |
beginchar("u",10u#,x_height#,0); |
| 2452 |
x1=w-s-4.8/4stem; y1=h; y2=10/33h; z2=z1+whatever*dir -104; |
| 2453 |
x3=x2+3/4stem; x4=w-s-1/2bar; y4=10/33h; y3=y6=0; y5=8/34h; |
| 2454 |
x5=s+1/2stem; x6=x5+stem; |
| 2455 |
penpos1(stem,180); penpos2(stem,180); |
| 2456 |
z8l=whatever[z2r,z1r]; y8l=15/33h; |
| 2457 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 2458 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 2459 |
penpos8(bar,360); |
| 2460 |
penstroke z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 2461 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 2462 |
z7l=z5r+whatever*dir 76; y7l=h-bar; |
| 2463 |
serif(7,stem,-104,jut,0); |
| 2464 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 2465 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2466 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 2467 |
penlabels(range 1 thru 12); |
| 2468 |
endchar; |
| 2469 |
|
| 2470 |
beginchar("v",9u#-c#,x_height#,0); |
| 2471 |
y2=10/33h; x2=s+1/2stem; |
| 2472 |
x3=x2+stem; x4=w-s-1/2bar; y4=26/33h; y3=0; |
| 2473 |
penpos2(stem,180); |
| 2474 |
penpos3(1.1bar,270); penpos4(bar,0); |
| 2475 |
penstroke z2e{dir -104}..{right}z3e{dir 5}..tension1.3..{dir 80}z4e; |
| 2476 |
z7=z2+whatever*dir 76; y7=h-bar; |
| 2477 |
serif(7,stem,-104,jut,0); z9=z4; |
| 2478 |
fill z2r--z2l--reverse serif_edge7--cycle; |
| 2479 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2480 |
ul_drop(9,1.1drop_round,7/33h,.9drop_round,bar); |
| 2481 |
fill ul_drop_edge9 rotatedaround(z4,-90); |
| 2482 |
penlabels(range 1 thru 12); |
| 2483 |
endchar; |
| 2484 |
|
| 2485 |
beginchar("w",12u#+s#,x_height#,0); |
| 2486 |
z77=(.5w,.5h); z1=z77+whatever*dir 76; y1=h; y2=10/33h; |
| 2487 |
z2=z1+whatever*dir -104; |
| 2488 |
x3=x2+stem; x4=w-s-1/2bar; y4=26/33h; y3=y6=0; y5=8/34h; |
| 2489 |
x5=s+1/2stem; x6=x5+stem; |
| 2490 |
penpos1(stem,180); penpos2(stem,180); |
| 2491 |
z8l=whatever[z2r,z1r]; y8l=15/33h; |
| 2492 |
penpos3(1.1bar,270); penpos4(bar,0); |
| 2493 |
penpos5(stem,180); penpos6(1.1bar,270); |
| 2494 |
penpos8(bar,360); |
| 2495 |
penstroke z5e{dir -104}..z6e{right}..{dir 76}z8e; |
| 2496 |
penstroke z1e{dir -104}..z2e{dir -104}..{right}z3e{dir 5}..tension1.3..{dir 80}z4e; |
| 2497 |
z7l=z5r+whatever*dir 76; y7l=h-bar; |
| 2498 |
serif(7,stem,-104,jut,0); z9=z4; |
| 2499 |
fill z5r--z5l--reverse serif_edge7--cycle; |
| 2500 |
fill z7e{dir 76}..z7d{left}..cycle; |
| 2501 |
ul_drop(9,1.1drop_round,7/33h,.9drop_round,bar); |
| 2502 |
fill ul_drop_edge9 rotatedaround(z4,-90); |
| 2503 |
penlabels(range 1 thru 12); |
| 2504 |
endchar; |
| 2505 |
|
| 2506 |
beginchar("x",10u#+c#,x_height#,0); |
| 2507 |
penpos1(1.2vair,90); |
| 2508 |
penpos2(curve,0); |
| 2509 |
penpos3(vair,-90); |
| 2510 |
x1=x3-(h*sind 14/cosd 14); x3=w-s-3/4stem; y1=0; y3=h; |
| 2511 |
y2=.54h; x2=x1-if design_size=17.32: stem else: 33/40stem fi; |
| 2512 |
x5=w-s-4/5stem; y5=7/33h; |
| 2513 |
penpos5(vair,135); z4=z3; |
| 2514 |
penstroke z5e..z1e{left}..{dir 76}z2e{dir 76}..{right}z3e; |
| 2515 |
fill z5l..tension1.5..z5r..tension1.5..cycle; |
| 2516 |
ur_drop(4,drop_round,3/4stem,drop_round,bar); |
| 2517 |
fill ur_drop_edge4; |
| 2518 |
x10=w-x5; y10=26/33h; x11=w-x1; y11=h; x12=w-x2; y12=.46h; |
| 2519 |
x13=w-x3; y13=-2epsilon; z14=z13; |
| 2520 |
penpos10(bar,135); penpos11(bar,90); |
| 2521 |
penpos12(curve,0); penpos13(bar,-90); |
| 2522 |
penstroke z10e..z11e{right}..{dir -104}z12e{dir -104}..{left}z13e; |
| 2523 |
fill z10l..tension1.5..z10r..tension1.5..cycle; z14=z13; |
| 2524 |
dl_drop(14,drop_round,3/4stem,drop_round,bar); |
| 2525 |
fill dl_drop_edge14; fill z14e..z14c..cycle; |
| 2526 |
penlabels(range 1 thru 13); |
| 2527 |
endchar; |
| 2528 |
|
| 2529 |
beginchar("y",10u#-c#,x_height#,desc_depth#); |
| 2530 |
x5=w-s-1/2stem; y5=h; y6=10/33h; z6=z5+whatever*dir -104; |
| 2531 |
y3=0; y2=8/34h; x2=s+stem; x3=x2+stem; |
| 2532 |
y7=0; z7=z6+whatever*dir -104; |
| 2533 |
penpos5(stem,180); penpos6(stem,180); |
| 2534 |
z8r=z7r+whatever*dir -104; y8r=-1/2d; |
| 2535 |
z4l=whatever[z6r,z5r]; y4l=15/33h; |
| 2536 |
penpos2(stem,180); penpos3(1.1bar,270); |
| 2537 |
y9=-d; x9=x2l; z10=z9; |
| 2538 |
penpos4(bar,360); penpos7(stem,180); |
| 2539 |
penpos8(.8stem,180); penpos9(bar,90); |
| 2540 |
penstroke z2e{dir -104}..z3e{right}..{dir 76}z4e; |
| 2541 |
z1l=z2r+whatever*dir 76; y1l=h-bar; |
| 2542 |
serif(1,stem,-104,jut,0); |
| 2543 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 2544 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 2545 |
penstroke z5e{dir -104}..z6e..z7e..z8e..{left}z9e; |
| 2546 |
dl_drop(10,1.1stem,x9-s,1.2drop_round,bar); |
| 2547 |
fill dl_drop_edge10; fill z10e..z10c..cycle; |
| 2548 |
penlabels(range 1 thru 12); |
| 2549 |
endchar; |
| 2550 |
|
| 2551 |
beginchar("z",8u#,x_height#,0); |
| 2552 |
y2=y3=h-1/2(.8stem); y1=y2l+1/2bar; |
| 2553 |
x3=w-s-3/4stem; x1e=s+1/2stem; x2=x1; |
| 2554 |
T_serif(1,bar,.8border_height,0); |
| 2555 |
penpos3(.8stem,90); penpos2(.8stem,90); |
| 2556 |
penstroke z2e--z3e; fill T_edge1; |
| 2557 |
x12=x1e; y12=y13=h; x13=x1e+2c; |
| 2558 |
fill z1r--z1f--z12--z2r--cycle; |
| 2559 |
unfill z1d{up}..z13--z12--cycle; |
| 2560 |
x4=w-s-bar*sind 45; y4=h-bar*sind 28; |
| 2561 |
x5=w-x4; y5=h-y4; z34=(x4,h); |
| 2562 |
penpos4(bar,152); penpos5(bar,152); |
| 2563 |
penstroke z4e--z5e; fill z4l..tension1.2..z4r..tension1.2..cycle; |
| 2564 |
fill z5l..tension1.2..z5r..tension1.2..cycle; |
| 2565 |
fill z3l--z3r--z34--cycle; |
| 2566 |
x7=.5w; y7=.4stem; penpos7(.9stem,90); |
| 2567 |
x8l=x7+.9stem; y8l=0; penpos8(.6stem,90); |
| 2568 |
x9=w-s-.9stem; y9=bar; penpos9(bar,90); z10=z9; |
| 2569 |
penstroke z5e{dir 62}..{right}z7e..z8e..z9e; |
| 2570 |
dl_drop(10,drop_round,1.2stem,drop_round,bar); |
| 2571 |
fill dl_drop_edge10 reflectedabout(z9l,z9r) rotatedaround(z9,28); |
| 2572 |
fill z9r..z9l..cycle; |
| 2573 |
penlabels(range 1 thru 13); |
| 2574 |
endchar; |
| 2575 |
|
| 2576 |
beginchar(hex"30",10u#,cap_height#,0); |
| 2577 |
penpos1(vair,90); |
| 2578 |
penpos2(cap_curve,0); |
| 2579 |
penpos3(vair,-90); |
| 2580 |
penpos4(cap_curve,-180); |
| 2581 |
x1=.5w-1/2(h*sind 10/cosd 10); x3=.5w+1/2(h*sind 10/cosd 10); y1=0; y3=h; |
| 2582 |
y2=.47h; y4=.53h; x2=1/2cap_curve+s; x4=w-1/2cap_curve-s; |
| 2583 |
penstroke z1e{left}..tension.9..{dir 80}z2e{dir 80}..tension1.2..{right}z3e..tension.9..{dir 260}z4e{dir 260}..tension1.2..{left}z1e..cycle; |
| 2584 |
penlabels(1,2,3,4,5,6,7,8); |
| 2585 |
endchar; |
| 2586 |
|
| 2587 |
beginchar(hex"31",10u#-3/2s#,cap_height#,0); |
| 2588 |
y1c=0; x1g=s; y2=y3=h; x3=x2-1/2cap_stem; |
| 2589 |
serif(1,cap_stem,72,1.5cap_jut,1.5cap_jut); |
| 2590 |
z2=z1f+whatever*dir 72; |
| 2591 |
y6=y7=h-cap_stem; y5=y4=y6+cap_bar; y8=y6+.3c; |
| 2592 |
z8=z1a+whatever*dir 72; |
| 2593 |
x7=x3-1.4stem; x6=x5=x7-.8cap_stem; x4=x7-cap_bar; |
| 2594 |
fill serif_edge1--z2{dir 150}..{dir 210}z3{dir 230}..{left}z4--z5{left}..z6--z7..z8--cycle; |
| 2595 |
penlabels(1,2,3,4,5,6,7,8); |
| 2596 |
endchar; |
| 2597 |
|
| 2598 |
beginchar(hex"32",10u#,cap_height#,0); |
| 2599 |
y2=43/53h; x3=24/37w; y3=h; x2=10/37h; |
| 2600 |
z1=z3; x4=w-s-1/2cap_curve; y4=41/53h; |
| 2601 |
x5=s+1/2hair; y5=6/53h; x6=x5+2cap_bar; y6=y5+1/2cap_bar; |
| 2602 |
y7=1/2curve-1/4cap_bar; x7=.47w; x8=w-s-2.5cap_bar; |
| 2603 |
y8=15/53h; penpos6(.4cap_stem,90); |
| 2604 |
penpos7(cap_curve,90); penpos8(bar,150); |
| 2605 |
penpos2(bar,0); penpos3(vair,-90); |
| 2606 |
penpos4(cap_curve,180); penpos5(bar,180); |
| 2607 |
penstroke z3e{right}..{dir -104}z4e{dir -100}.. {dir -104}z5e; %z2e{dir 76}..{right} |
| 2608 |
penstroke z5e..z6e{dir 10}..z7e{dir -10}..{dir 60}z8e; |
| 2609 |
fill z8r..tension1.3..z8l..tension1.3..cycle; |
| 2610 |
ul_drop(1,cap_drop_round,x3-x2+bar,1.8cap_curve,cap_bar); |
| 2611 |
fill ul_drop_edge1;% rotatedaround(z2,90); |
| 2612 |
x9=s-.1c; y9=1/2cap_bar; y10=-1/2cap_bar; x10=x9+cap_bar; |
| 2613 |
x11=x10+cap_bar; y11=1/3cap_bar; x12=x11-2/3cap_bar; y12=3/2cap_bar; |
| 2614 |
fill z5r..z9..z10..z11{up}..z12..{dir 10}z6l{dir 130}..{dir 190}z5r..cycle; |
| 2615 |
penlabels(range 1 thru 12); |
| 2616 |
endchar; |
| 2617 |
|
| 2618 |
beginchar(hex"33",10u#-c#,cap_height#,0); |
| 2619 |
penpos2(vair,90); penpos5(cap_bar,-90); |
| 2620 |
penpos4(vair,-90); penpos3(cap_curve,-180); |
| 2621 |
x2=.5w-1/2(h*sind 14/cosd 14); y2=0; y4=cap_bar_height+c; |
| 2622 |
z4=z2+whatever*dir 76; y5=y4-1/3cap_bar-.5c; |
| 2623 |
y3=12/53h; x5=cap_curve+s+bar; x3=w-1.2cap_curve-s; z1=z2; |
| 2624 |
y6=y5r; x6=x5; x7=w-s-1/2cap_curve; y7=41/53h; z8=z4+whatever*dir 82; |
| 2625 |
y8=h; z9=z8; penpos67(cap_bar,110); penpos8(cap_bar,-90); |
| 2626 |
penpos6(cap_bar,90); penpos7(.9cap_curve,180); z67=z4; |
| 2627 |
penstroke z5e...{right}z4e..tension1..{dir 256}z3e{dir 256}..tension1..{left}z2e; |
| 2628 |
penstroke z8e{right}..tension.9..{dir -100}z7e{dir -100}..tension.9..z67e{dir 210}..z6e; |
| 2629 |
fill z5l..tension1.2..z6l..tension1.2..cycle; |
| 2630 |
dl_drop(1,cap_stem,x1-s,cap_drop_round,cap_bar); |
| 2631 |
fill dl_drop_edge1; fill z1e..z1c..cycle; |
| 2632 |
ul_drop(9,.8cap_drop_round,x8-x5+bar,1.4cap_curve,cap_bar); |
| 2633 |
fill ul_drop_edge9; |
| 2634 |
penlabels(1,2,3,4,5,6,7,8,9,67); |
| 2635 |
endchar; |
| 2636 |
|
| 2637 |
beginchar(hex"34",10u#,cap_height#,0); |
| 2638 |
y1c=0; x1g=s+1/2cap_stem; y2=h-stem; |
| 2639 |
serif(1,cap_stem,72,1.5cap_jut,1.5cap_jut); |
| 2640 |
z2=z1+whatever*dir 72; penpos2(cap_stem,0); |
| 2641 |
fill serif_edge1--z2r--z2l--cycle; |
| 2642 |
z3r=whatever[z1f,z2r]; y3r=h; penpos3(.7cap_stem,0); |
| 2643 |
penstroke z2e--z3e; y6=y7=16/53h; x7=w-2s; x6=s+1/2cap_bar; |
| 2644 |
penpos6(1.2cap_bar,90); penpos7(1.2cap_bar,90); |
| 2645 |
penstroke z6e--z7e; fill z6l..tension1.4..z6r..tension1.4..cycle; |
| 2646 |
fill z7l..tension1.2..z7r..tension1.2..cycle; |
| 2647 |
z5l=z6r; z4l=z3l; penpos4(1.2cap_bar,-20); penpos5(1.2cap_bar,-20); |
| 2648 |
penstroke z4e--z5e; |
| 2649 |
penlabels(1,2,3,4,5,6,7,8); |
| 2650 |
endchar; |
| 2651 |
|
| 2652 |
beginchar(hex"35",10u#-c#,cap_height#,0); |
| 2653 |
penpos2(vair,90); penpos5(cap_bar,0); |
| 2654 |
penpos4(vair,-90); penpos3(cap_curve,-180); |
| 2655 |
x2=.5w-1/2(h*sind 14/cosd 14); y2=0; y4=34/54h; z4=z2+whatever*dir 76; |
| 2656 |
y5=y4-3cap_bar; y3=15/53h; x5=cap_curve+s; x3=w-1.2cap_curve-s; z1=z2; |
| 2657 |
penstroke z5e...{right}z4e..tension1..{dir 256}z3e{dir 256}..tension1.2..{left}z2e; |
| 2658 |
z6=z5+whatever*dir 72; y6=h-1/3cap_bar; |
| 2659 |
penpos6(cap_bar,0); penstroke z5e--z6e; |
| 2660 |
fill z6r..tension1.5..z6l..tension1.5..cycle; |
| 2661 |
fill z5r..tension1.3..z5l..tension1.3..cycle; |
| 2662 |
y7r=y6r; x7r=x6r-.05c; y8=h-4/6cap_curve; |
| 2663 |
x8=x7+5/4cap_curve; x9=w-s-cap_bar*sind 25; |
| 2664 |
y9=h-cap_bar*cosd 45; penpos7(cap_curve,72); penpos8(.7cap_curve,90); |
| 2665 |
penpos9(1.2cap_bar,120); penstroke z7e{dir -18}..z8e..z9e; |
| 2666 |
fill z9r..tension1.3..z9l..tension1.3..cycle; |
| 2667 |
dl_drop(1,cap_stem,x1-s,cap_drop_round,cap_bar); |
| 2668 |
fill dl_drop_edge1; fill z1e..z1c..cycle; |
| 2669 |
penlabels(1,2,3,4,5,6,7,8,9); |
| 2670 |
endchar; |
| 2671 |
|
| 2672 |
beginchar(hex"36",10u#-s#,cap_height#,0); |
| 2673 |
penpos1(vair,90); penpos4(.8cap_curve,0); |
| 2674 |
penpos3(vair,-90); penpos2(cap_curve,-180); |
| 2675 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 2676 |
y4=38/53h; y2=.53h; x4=cap_curve+s; x2=w-1/2cap_curve-s; |
| 2677 |
x5=.505w; y5=21/53h; penpos5(vair,90); z7=z1; |
| 2678 |
y6r=y2+2s; z6r=z2r+whatever*dir 76; penpos6(2cap_bar,-180); |
| 2679 |
penstroke z6e{dir 256}..{left}z5e{left}..tension.9..{dir 76}z4e{dir 76}..tension.9..{right}z3e..tension1..{dir 256}z2e{dir 256}..tension1.2..{left}z1e; z8=(.5w,.5h); |
| 2680 |
dl_drop(7,cap_stem,x1-s,cap_drop_round,bar); |
| 2681 |
fill dl_drop_edge7; fill z7e..z7c..cycle; |
| 2682 |
currentpicture := currentpicture rotatedaround(z8,180); |
| 2683 |
penlabels(1,2,3,4,5,6,7,8); |
| 2684 |
endchar; |
| 2685 |
|
| 2686 |
beginchar(hex"37",9u#-c#,cap_height#,0); |
| 2687 |
x1=s+1/2cap_bar; y1=36/53h; y2=.975h; z2=z1+whatever*dir 70; |
| 2688 |
x3=16.5/34w; y4=44/53h; y3=47/53h; z4=z3+whatever*dir -45; |
| 2689 |
x5=24/34w; y5=43/53h; x6=w-s-1/2*(3/2cap_bar); y6=y2; |
| 2690 |
x7=8/34w; y7=1/2cap_curve; |
| 2691 |
penpos1(cap_bar,180); penpos2(cap_bar,180); |
| 2692 |
penpos3(.9cap_curve,45); penpos4(.9cap_curve,45); |
| 2693 |
penpos5(2cap_bar,110); penpos6(3/2cap_bar,180); |
| 2694 |
z67l=z6l; |
| 2695 |
penpos7(cap_curve,180); penpos67(cap_bar,180); |
| 2696 |
penstroke z1e--z2e; |
| 2697 |
penstroke z1e{dir 70}..{dir -45}z3e--z4e{dir -45}..z5e..{up}z6e; |
| 2698 |
penstroke z67e{down}..{dir -94}z7e; |
| 2699 |
fill z7r..z7l..cycle; fill z1r..tension1.3..z1l..tension1.3..cycle; |
| 2700 |
fill z2r..tension1.3..z2l..tension1.3..cycle; |
| 2701 |
fill z6r..tension1.3..z6l..tension1.3..cycle; |
| 2702 |
penlabels(range 1 thru 12); |
| 2703 |
endchar; |
| 2704 |
|
| 2705 |
beginchar(hex"38",10u#,cap_height#,0); |
| 2706 |
y1=0; x1=15/37w; y5=h; z5=z1+whatever*dir 78; |
| 2707 |
y7=28/53h; z7=whatever[z1,z5]; x2=s+1/2(.6cap_stem); |
| 2708 |
x4=w-x2; y2=13/53h; y4=43/53h; z3=z7; y6=41/53h; 2(x5-x6)=3(x4-x5); |
| 2709 |
5(x1-x2)=4(x8-x1); y8=11/53h; penpos7(cap_stem,48); |
| 2710 |
y67l=y7+.4cap_stem; y78=y7-cap_stem; |
| 2711 |
z67l=z7l+whatever*dir 132; penpos67(.9cap_stem,30); |
| 2712 |
z78=whatever[z67,z7]; penpos78(.9cap_stem,30); |
| 2713 |
penpos1(cap_bar,-90); penpos2(.7stem,-180); |
| 2714 |
penpos3(cap_bar,-235); penpos4(.6stem,-180); |
| 2715 |
penpos5(cap_bar,-90); penpos6(.8stem, 0); |
| 2716 |
penpos8(.8stem,0); |
| 2717 |
penstroke z1e{left}..{dir 78}z2e{dir 78}..z3e..{dir 78}z4e{dir 78}..{left}z5e{left}..{down}z6e..z67e..z7e..z78e..{dir -102}z8e{dir -102}..{left}z1e; |
| 2718 |
penlabels(1,2,3,4,5,6,7,8,67,78); |
| 2719 |
endchar; |
| 2720 |
|
| 2721 |
beginchar(hex"39",10u#-s#,cap_height#,0); |
| 2722 |
penpos1(vair,90); penpos4(.8cap_curve,0); |
| 2723 |
penpos3(vair,-90); penpos2(cap_curve,-180); |
| 2724 |
x1=.5w-1/2(h*sind 14/cosd 14); x3=.5w+1/2(h*sind 14/cosd 14); y1=0; y3=h; |
| 2725 |
y4=38/53h; y2=.53h; x4=cap_curve+s; x2=w-1/2cap_curve-s; |
| 2726 |
x5=.505w; y5=21/53h; penpos5(vair,90); z7=z1; |
| 2727 |
y6r=y2+2s; z6r=z2r+whatever*dir 76; penpos6(2cap_bar,-180); |
| 2728 |
penstroke z6e{dir 256}..{left}z5e{left}..tension.9..{dir 76}z4e{dir 76}..tension.9..{right}z3e..tension1..{dir 256}z2e{dir 256}..tension1.2..{left}z1e; z8=(.5w,.5h); |
| 2729 |
dl_drop(7,cap_stem,x1-s,cap_drop_round,cap_bar); |
| 2730 |
fill dl_drop_edge7; fill z7e..z7c..cycle; |
| 2731 |
penlabels(1,2,3,4,5,6,7,8); |
| 2732 |
endchar; |
| 2733 |
|
| 2734 |
beginchar(oct"56",cap_stem#+2s#,cap_stem#,0); |
| 2735 |
z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem); |
| 2736 |
fill z1..z2..cycle; |
| 2737 |
endchar; |
| 2738 |
|
| 2739 |
beginchar(oct"54",cap_stem#+2s#+c#,cap_stem#,comma_depth#); |
| 2740 |
currenttransform := identity slanted sind 14; |
| 2741 |
z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem); |
| 2742 |
z6=(.5w-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2743 |
x3=x6; y3=-d+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2744 |
z7=(.5w-.5c,h); |
| 2745 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle; |
| 2746 |
penlabels(1,2,3,4,5,6,7); |
| 2747 |
endchar; |
| 2748 |
|
| 2749 |
beginchar(hex"60",cap_stem#+2s#+c#,asc_height#,comma_depth#); |
| 2750 |
z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem); |
| 2751 |
z6=(.5w-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2752 |
x3=x6; y3=-d+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2753 |
z7=(.5w-.5c,cap_stem); z8=(.5w,.5h-1/2d+1/2c); |
| 2754 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle rotatedaround(z8,180); |
| 2755 |
penlabels(1,2,3,4,5,6,7); |
| 2756 |
endchar; |
| 2757 |
|
| 2758 |
beginchar(oct"41", cap_stem#+2s#,cap_height#,0); "Exclamation mark"; |
| 2759 |
italcorr cap_height#*sind 18-1.55u#; |
| 2760 |
z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem); |
| 2761 |
fill z1..z2..cycle; |
| 2762 |
x3=.5w-1/2cap_bar; x4=.5w+1/2cap_bar; y3=y4=3/2cap_stem; |
| 2763 |
x6=x1; x5=x2; y5=y6=h; |
| 2764 |
fill z6--z3..z4--z5{up}..z6&cycle; |
| 2765 |
endchar; |
| 2766 |
|
| 2767 |
beginchar(hex"22",2cap_stem#+3s#+2c#,cap_height#,0); |
| 2768 |
z1=(s,h-1/2cap_stem); z2=(x1+cap_stem+c,h-1/2cap_stem); |
| 2769 |
z6=(s+.5(x2-x1)-.5c,h-cap_stem); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2770 |
x3=x6; y3=h-cap_stem-comma_depth+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2771 |
z7=(s+1/2cap_stem-.5c,h); |
| 2772 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle; |
| 2773 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle shifted(cap_stem+3c,0); |
| 2774 |
currentpicture := currentpicture shifted((sind 18)*-w*1.3,0); |
| 2775 |
penlabels(1,2,3,4,5,6,7); |
| 2776 |
endchar; |
| 2777 |
|
| 2778 |
beginchar(hex"5C",2cap_stem#+3s#+2c#,cap_height#,comma_depth#); |
| 2779 |
z1=(s,1/2cap_stem); z2=(x1+cap_stem+c,1/2cap_stem); |
| 2780 |
z6=(s+.5(x2-x1)-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2781 |
x3=x6; y3=-d+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2782 |
z7=(s+1/2cap_stem-.5c,cap_stem); z8=(.5w,.5h-1/2d+1/2c); |
| 2783 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle; |
| 2784 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle shifted(cap_stem+3c,0); |
| 2785 |
currentpicture := currentpicture rotatedaround(z8,180); |
| 2786 |
penlabels(1,2,3,4,5,6,7); |
| 2787 |
endchar; |
| 2788 |
currenttransform := identity; |
| 2789 |
|
| 2790 |
beginchar(hex"7b",10u#-1.5c#,x_height#,0); "En dash"; |
| 2791 |
z1=(s+1/2bar,bar_height); z2=(w-s-1/2bar,bar_height); |
| 2792 |
penpos1(bar,90); penpos2(bar,90); |
| 2793 |
fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle; |
| 2794 |
penlabels(1,2); |
| 2795 |
endchar; |
| 2796 |
|
| 2797 |
beginchar(hex"3D",10u#+1.5c#,x_height#,0); |
| 2798 |
z1=(s+1/2bar,bar_height-3c); z2=(w-s-1/2bar,bar_height-3c); |
| 2799 |
penpos1(bar,90); penpos2(bar,90); |
| 2800 |
fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle; |
| 2801 |
z3=(s+1/2bar,bar_height+3c); z4=(w-s-1/2bar,bar_height+3c); |
| 2802 |
penpos3(bar,90); penpos4(bar,90); |
| 2803 |
fill z3l{left}..{right}z3r--z4r{right}..{left}z4l--z3l&cycle; |
| 2804 |
penlabels(1,2,3,4); |
| 2805 |
endchar; |
| 2806 |
|
| 2807 |
beginchar(hex"23",13u#,asc_height#,body_depth#); |
| 2808 |
z1=(s+1/2bar,bar_height-5c); z2=(w-s-1/2bar,bar_height-5c); |
| 2809 |
penpos1(1.5bar,90); penpos2(1.5bar,90); |
| 2810 |
fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle; |
| 2811 |
z3=(s+1/2bar,bar_height+5c); z4=(w-s-1/2bar,bar_height+5c); |
| 2812 |
penpos3(1.5bar,90); penpos4(1.5bar,90); |
| 2813 |
fill z3l{left}..{right}z3r--z4r{right}..{left}z4l--z3l&cycle; |
| 2814 |
z5=(.5w-5c,bar_height); z6=(.5w+5c,bar_height); |
| 2815 |
z7=z5+whatever*dir 76; y7=h; z8=whatever[z5,z7]; y8=-d; |
| 2816 |
penpos7(1.5bar,0); penpos8(1.5bar,0); |
| 2817 |
fill z7l{up}..{down}z7r--z8r{down}..{up}z8l--z7l&cycle; |
| 2818 |
z9=z6+whatever*dir 76; y9=h; z10=whatever[z6,z9]; y10=-d; |
| 2819 |
penpos9(1.5bar,0); penpos10(1.5bar,0); |
| 2820 |
fill z9l{up}..{down}z9r--z10r{down}..{up}z10l--z9l&cycle; |
| 2821 |
penlabels(1,2,3,4,5,6,7,8,9,10); |
| 2822 |
endchar; |
| 2823 |
|
| 2824 |
beginchar(hex"7c",14u#,x_height#,0); "Em dash"; |
| 2825 |
z1=(s+1/2bar,bar_height); z2=(w-s-1/2bar,bar_height); |
| 2826 |
penpos1(bar,90); penpos2(bar,90); |
| 2827 |
fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle; |
| 2828 |
penlabels(1,2); |
| 2829 |
endchar; |
| 2830 |
|
| 2831 |
beginchar(oct"55",2cap_jut#+cap_stem#+2s#,x_height#,0); "hyphen"; |
| 2832 |
x1=s+.9cap_bar; x2=w-s-.9cap_bar; |
| 2833 |
y1l=y2l=17/33h; |
| 2834 |
penpos1(1.8bar,90); penpos2(1.8bar,90); |
| 2835 |
penstroke z1e--z2e; |
| 2836 |
fill z1r..z1l..cycle; fill z2r..z2l..cycle; |
| 2837 |
penlabels(1,2); |
| 2838 |
endchar; |
| 2839 |
|
| 2840 |
beginchar(hex"5F",1.1stem#+2s#,x_height#+2.1stem#,0); |
| 2841 |
z1=(.5w,h); z2=(.5w,h-1.1stem); |
| 2842 |
fill z1..z2..cycle; |
| 2843 |
penlabels(1,2); |
| 2844 |
endchar; |
| 2845 |
|
| 2846 |
beginchar(hex"7E",7u#,body_height#,0); |
| 2847 |
pickup pencircle xscaled .6pt yscaled .2pt rotated 55; |
| 2848 |
z4=(w-s-c,h-s); x1=s+c; y1=y4-1/2cap_stem; |
| 2849 |
y2-y1=y4-y3=3(y4-y1); z2-z1=z4-z3=whatever * dir 55; |
| 2850 |
draw z1..controls z2 and z3..z4; |
| 2851 |
penlabels(1,2,3,4); |
| 2852 |
endchar; |
| 2853 |
|
| 2854 |
currenttransform := identity slanted sind 14; |
| 2855 |
beginchar(hex"3C",7u#-2c#,x_height#,0); "looks like <<"; |
| 2856 |
italcorr x_height#*sind 18-1.45u#; |
| 2857 |
x2l=x3l=s+1/2bar; y2l=.5h+1/2bar; y3l=.5h-1/2bar; |
| 2858 |
x1l=x4l=.5w; y1l=h-1/2bar; y4l=1/2bar; |
| 2859 |
penpos1(bar,0); penpos2(stem,0); |
| 2860 |
penpos3(stem,0); penpos4(bar,0); |
| 2861 |
numeric theta[]; |
| 2862 |
theta1=angle(z2l-z1l); theta2=angle(z4l-z3l); |
| 2863 |
theta3=theta1+180; theta4=theta2+180; |
| 2864 |
fill z1r{up}..{dir theta1}z1l--z2l{dir theta1}..{dir theta2}z3l--z4l{dir theta2}..{up}z4r--z3r{dir theta4}..{dir theta3}z2r--z1r&cycle; |
| 2865 |
x5r=x8r=w-s; y5r=h-2bar; y8r=2bar; x6r=x7r=w-s-.6stem; |
| 2866 |
y6r=y2l; y7r=y3l; |
| 2867 |
penpos5(bar,0); penpos6(.8stem,0); |
| 2868 |
penpos7(.8stem,0); penpos8(bar,0); |
| 2869 |
theta5=angle(z6r-z5r); theta6=angle(z8r-z7r); |
| 2870 |
theta7=theta5+180; theta8=theta6+180; |
| 2871 |
fill z5r{up}..{dir theta5}z5l--z6l{dir theta5}..{dir theta6}z7l--z8l{dir theta6}..{up}z8r--z7r{dir theta8}..{dir theta7}z6r--z5r&cycle; |
| 2872 |
%currentpicture := currentpicture shifted(-1.2u,0); |
| 2873 |
penlabels(1,2,3,4,5,6,7,8); |
| 2874 |
endchar; |
| 2875 |
|
| 2876 |
beginchar(hex"3E",7u#-2c#,x_height#,0); |
| 2877 |
italcorr x_height#*sind 18-1.73u#; |
| 2878 |
x2l=x3l=s+1/2bar; y2l=.5h+1/2bar; y3l=.5h-1/2bar; |
| 2879 |
x1l=x4l=.5w; y1l=h-1/2bar; y4l=1/2bar; |
| 2880 |
penpos1(bar,0); penpos2(stem,0); |
| 2881 |
penpos3(stem,0); penpos4(bar,0); |
| 2882 |
numeric theta[]; |
| 2883 |
theta1=angle(z2l-z1l); theta2=angle(z4l-z3l); |
| 2884 |
theta3=theta1+180; theta4=theta2+180; |
| 2885 |
fill z1r{up}..{dir theta1}z1l--z2l{dir theta1}..{dir theta2}z3l--z4l{dir theta2}..{up}z4r--z3r{dir theta4}..{dir theta3}z2r--z1r&cycle; |
| 2886 |
x5r=x8r=w-s; y5r=h-2bar; y8r=2bar; x6r=x7r=w-s-.6stem; |
| 2887 |
y6r=y2l; y7r=y3l; |
| 2888 |
penpos5(bar,0); penpos6(.8stem,0); |
| 2889 |
penpos7(.8stem,0); penpos8(bar,0); |
| 2890 |
theta5=angle(z6r-z5r); theta6=angle(z8r-z7r); |
| 2891 |
theta7=theta5+180; theta8=theta6+180; |
| 2892 |
z10=(.5w,.5h); |
| 2893 |
fill z5r{up}..{dir theta5}z5l--z6l{dir theta5}..{dir theta6}z7l--z8l{dir theta6}..{up}z8r--z7r{dir theta8}..{dir theta7}z6r--z5r&cycle; |
| 2894 |
currentpicture := currentpicture rotatedaround(z10,180) shifted((sind 18)*w*1.3,0); |
| 2895 |
penlabels(1,2,3,4,5,6,7,8); |
| 2896 |
endchar; |
| 2897 |
|
| 2898 |
beginchar(hex"3B",cap_stem#+2s#+c#,x_height#+c#,comma_depth#); |
| 2899 |
italcorr x_height#*sind 18-1.35u#; |
| 2900 |
z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem); |
| 2901 |
z6=(.5w-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2902 |
x3=x6; y3=-d+3/2c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2903 |
z7=(.5w-.5c,cap_stem); |
| 2904 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle; |
| 2905 |
z8=(s,h-1/2cap_stem); z9=(w-s,h-1/2cap_stem); |
| 2906 |
fill z8..z9..cycle; |
| 2907 |
penlabels(1,2,3,4,5,6,7,8,9); |
| 2908 |
endchar; |
| 2909 |
|
| 2910 |
beginchar(hex"3A",cap_stem#+2s#+c#,x_height#+c#,comma_depth#); |
| 2911 |
italcorr x_height#*sind 18-1.35u#; |
| 2912 |
z1=(s,h-1/2cap_stem); z2=(w-s,h-1/2cap_stem); |
| 2913 |
fill z1..z2..cycle; |
| 2914 |
penlabels(1,2,3,4); |
| 2915 |
z3=(s,1/2cap_stem); z4=(w-s,1/2cap_stem); |
| 2916 |
fill z3..z4..cycle; |
| 2917 |
penlabels(1,2,3,4); |
| 2918 |
endchar; |
| 2919 |
|
| 2920 |
beginchar(hex"2B",2cap_jut#+cap_stem#+2s#,x_height#,0); |
| 2921 |
x1=s+.9cap_bar; x2=w-s-.9cap_bar; |
| 2922 |
y1l=y2l=17/33h; |
| 2923 |
penpos1(1.8bar,90); penpos2(1.8bar,90); |
| 2924 |
penstroke z1e--z2e; |
| 2925 |
fill z1r..z1l..cycle; fill z2r..z2l..cycle; |
| 2926 |
x3=x4=.5w; y3=y2+1/2(x2-x1); y4=y2-1/2(x2-x1); |
| 2927 |
penpos3(1.8bar,0); penpos4(1.8bar,0); |
| 2928 |
penstroke z3e--z4e; |
| 2929 |
fill z3r..z3l..cycle; fill z4r..z4l..cycle; |
| 2930 |
%currentpicture := currentpicture shifted(-u,0); |
| 2931 |
penlabels(1,2,3,4); |
| 2932 |
endchar; |
| 2933 |
|
| 2934 |
beginchar(hex"2F",2s#+bar#,body_height#,body_depth#); |
| 2935 |
italcorr body_height#*sind 18-1.72u#; |
| 2936 |
z1=(.5w,h-.5bar); z2=(.5w,-d+.5bar); |
| 2937 |
%pickup pencircle xscaled bar yscaled bar; |
| 2938 |
penpos1(bar,0); penpos2(bar,0); |
| 2939 |
penstroke z1e--z2e; fill z1r..z1l..cycle; |
| 2940 |
fill z2r..z2l..cycle; |
| 2941 |
penlabels(1,2); |
| 2942 |
endchar; |
| 2943 |
|
| 2944 |
beginchar(hex"27",cap_stem#+2s#+c#,x_height#+2.1stem#,0); |
| 2945 |
z1=(s,h-1/2cap_stem); z2=(w-s,h-1/2cap_stem); |
| 2946 |
z6=(.5w-.5c,h-cap_stem); x5=x6+1/2bar+.5c; y5=y6-1/2bar; |
| 2947 |
x3=x6; y3=h-stem-comma_depth+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45; |
| 2948 |
z7=(.5w-.5c,h); |
| 2949 |
fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle; |
| 2950 |
currentpicture := currentpicture shifted((sind 18)*-w*1.3,0); |
| 2951 |
penlabels(1,2,3,4,5,6,7); |
| 2952 |
endchar; |
| 2953 |
|
| 2954 |
beginchar(hex"28",5u#,body_height#,body_depth#); |
| 2955 |
italcorr body_height#*sind 18-1.8u#; |
| 2956 |
x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30; |
| 2957 |
x2=s+1/2stem; y2=-d+1/2(h+d); |
| 2958 |
penpos1(bar,150); penpos2(curve,180); |
| 2959 |
penpos3(bar,210); |
| 2960 |
penstroke z1e..z2e..z3e; |
| 2961 |
fill z1r..z1l..cycle; fill z3r..z3l..cycle; |
| 2962 |
penlabels(1,2,3); |
| 2963 |
endchar; |
| 2964 |
|
| 2965 |
beginchar(hex"29",5u#,body_height#,body_depth#); |
| 2966 |
italcorr body_height#*sind 18-3.65u#; |
| 2967 |
x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30; |
| 2968 |
x2=s+1/2stem; y2=-d+1/2(h+d); |
| 2969 |
penpos1(bar,150); penpos2(curve,180); |
| 2970 |
penpos3(bar,210); |
| 2971 |
penstroke z1e..z2e..z3e; |
| 2972 |
fill z1r..z1l..cycle; fill z3r..z3l..cycle; |
| 2973 |
z4=(.5w,-d+1/2(h+d)); |
| 2974 |
currentpicture := currentpicture rotatedaround(z4,180) shifted((sind 18)*w*1.3,0); |
| 2975 |
penlabels(1,2,3); |
| 2976 |
endchar; |
| 2977 |
|
| 2978 |
beginchar(hex"0E",5u#,body_height#,body_depth#); |
| 2979 |
italcorr body_height#*sind 18-1.8u#; |
| 2980 |
x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30; |
| 2981 |
x2=s+1/2bar; y2=-d+1/2(h+d); |
| 2982 |
penpos1(bar,0); penpos2(bar,0); |
| 2983 |
penpos3(bar,0); |
| 2984 |
penstroke z1e--z2e--z3e; |
| 2985 |
fill z1r..z1l..cycle; fill z3r..z3l..cycle; |
| 2986 |
penlabels(1,2,3); |
| 2987 |
endchar; |
| 2988 |
|
| 2989 |
beginchar(hex"0F",5u#,body_height#,body_depth#); |
| 2990 |
x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30; |
| 2991 |
x2=s+1/2bar; y2=-d+1/2(h+d); |
| 2992 |
penpos1(bar,0); penpos2(bar,0); |
| 2993 |
penpos3(bar,0); |
| 2994 |
penstroke z1e--z2e--z3e; |
| 2995 |
fill z1r..z1l..cycle; fill z3r..z3l..cycle; |
| 2996 |
z4=(.5w,-d+1/2(h+d)); |
| 2997 |
currentpicture := currentpicture rotatedaround(z4,180) shifted((sind 18)*w*1.3,0); |
| 2998 |
penlabels(1,2,3); |
| 2999 |
endchar; |
| 3000 |
|
| 3001 |
beginchar(hex"5B",2s#+3cap_bar#,body_height#,body_depth#); |
| 3002 |
italcorr body_height#*sind 18-1.7u#; |
| 3003 |
z1=(w-s-1/2cap_bar,h-1/2bar); z2=(s+1/2cap_bar,h-1/2cap_bar); |
| 3004 |
z3=(x2,h); z4=(x3,-d); z5=(x2,-d+1/2bar); |
| 3005 |
z6=(x1,y5); penpos1(bar,90); penpos2(bar,90); |
| 3006 |
penpos3(bar,0); penpos4(bar,0); |
| 3007 |
penpos5(bar,90); penpos6(bar,90); |
| 3008 |
penstroke z1e--z2e; penstroke z3e--z4e; penstroke z5e--z6e; |
| 3009 |
fill z1r..z1l..cycle; fill z6r..z6l..cycle; |
| 3010 |
penlabels(1,2,3,4,5,6); |
| 3011 |
endchar; |
| 3012 |
|
| 3013 |
beginchar(hex"5D",2s#+3cap_bar#,body_height#,body_depth#); |
| 3014 |
italcorr body_height#*sind 18-1.7u#; |
| 3015 |
z1=(w-s-1/2cap_bar,h-1/2bar); z2=(s+1/2cap_bar,h-1/2cap_bar); |
| 3016 |
z3=(x1,h); z4=(x3,-d); z5=(x2,-d+1/2bar); |
| 3017 |
z6=(x1,y5); penpos1(bar,90); penpos2(bar,90); |
| 3018 |
penpos3(bar,0); penpos4(bar,0); |
| 3019 |
penpos5(bar,90); penpos6(bar,90); |
| 3020 |
penstroke z1e--z2e; penstroke z3e--z4e; penstroke z5e--z6e; |
| 3021 |
fill z2r..z2l..cycle; fill z5r..z5l..cycle; |
| 3022 |
penlabels(1,2,3,4,5,6); |
| 3023 |
endchar; |
| 3024 |
|
| 3025 |
beginchar(hex"B9",16u#,cap_height#,0); |
| 3026 |
italcorr cap_height#*sind 18-2.78u#; |
| 3027 |
x1=x2=cap_jut+1/2cap_bar+s+cap_stem; |
| 3028 |
x3=w-x1-1/2cap_stem; y1c=h; y4=y5=0; |
| 3029 |
x4=x3r; x5=x3l; y2=12/53h; y3=h-y2; |
| 3030 |
x8=x2-stem; y8=0; z9=z8; |
| 3031 |
dl_drop(9,cap_drop_round,x8-s,1.1drop_round,cap_bar); |
| 3032 |
fill dl_drop_edge9; penpos8(bar,-90); |
| 3033 |
serif(1,cap_bar,-90,cap_jut,1.3cap_jut); |
| 3034 |
penpos2(bar,0); penpos3(bar,0); |
| 3035 |
penstroke z2e{down}..{left}z8e; |
| 3036 |
fill z2l--z2r--reverse serif_edge1--cycle; |
| 3037 |
numeric theta[]; y7=y1h; x7=x1h-cap_stem; |
| 3038 |
theta1=angle(z5-z7); x10=x3+stem; y10=h; z11=z10; |
| 3039 |
penpos10(bar,-90); penstroke z3e{up}..{right}z10e; |
| 3040 |
ur_drop(11,cap_drop_round,x8-s,1.1drop_round,cap_bar); |
| 3041 |
fill ur_drop_edge11; |
| 3042 |
z6=z3l+whatever*dir -90=z1h+whatever*dir theta1; |
| 3043 |
fill z6--z1h--z7--z5{down}..{up}z4--z3r--z3l--cycle; |
| 3044 |
unfill z1b--z1l--z1a--cycle; |
| 3045 |
y12=y13=2cap_bar; x12=x4+2cap_bar+s; x13=w-2s; |
| 3046 |
penpos12(.4stem,90); penpos13(.4stem,90); |
| 3047 |
penstroke z12e--z13e; y16=y11d-4.5cap_bar; |
| 3048 |
x13-x14=x14-x12; x16=x14; y14=y13+4.5cap_bar; |
| 3049 |
x17=w-s-.2stem; x17-x16=x16-x15; y16-y15=y15-y14; |
| 3050 |
y17=y15; penpos17(.7stem,0); penpos16(bar,90); |
| 3051 |
penpos15(.7stem,180); penpos14(bar,270); |
| 3052 |
penstroke z17e{up}..{left}z16e{left}..{down}z15e{down}..{right}z14e{right}..{up}z17e; |
| 3053 |
fill z12l..tension1.2..z12r..tension1.2..cycle; |
| 3054 |
fill z13l..tension1.2..z13r..tension1.2..cycle; |
| 3055 |
penlabels(range 1 thru 17); |
| 3056 |
endchar; |
| 3057 |
|
| 3058 |
beginchar(hex"24",9u#-s#,body_height#,body_height#-cap_height#); |
| 3059 |
italcorr body_height#*sind 18-2.5u#; |
| 3060 |
x6=x7=1/2w-c; y6=y7=0; |
| 3061 |
dl_drop(7,cap_drop_round,x6-s,1.5drop_round,cap_bar); |
| 3062 |
y5=12/53cap_height; x5=w-s-1/2(1.9hair); |
| 3063 |
y4=1/2cap_height; x4=19/38w; y3=41/53cap_height; x3=s+1/2(1.9cap_bar); |
| 3064 |
x2=.5w+c; y2=cap_height; z1=z2; |
| 3065 |
penpos6(cap_bar,-90); penpos5(1.9hair,0); |
| 3066 |
penpos4(1.1cap_curve,90); penpos3(1.9hair,0); |
| 3067 |
penpos2(cap_bar,-90); |
| 3068 |
penstroke z6e{right}..z5e{up}..tension.8..z4e..tension.8..{up}z3e..{right}z2e; |
| 3069 |
fill dl_drop_edge7; |
| 3070 |
ur_drop(1,cap_drop_round,w-s-x2,1.5drop_round,cap_bar); |
| 3071 |
fill ur_drop_edge1; |
| 3072 |
z8=(.5w,h); z9=(.5w,-d); |
| 3073 |
penpos8(cap_bar,0); penpos9(cap_bar,0); |
| 3074 |
penstroke z8e--z9e; |
| 3075 |
fill z9r..z9l..cycle; fill z8r..z8l..cycle; |
| 3076 |
%currentpicture := currentpicture shifted(-.7u,0); |
| 3077 |
penlabels(1,2,3,4,5,6,7); |
| 3078 |
endchar; |
| 3079 |
|
| 3080 |
beginchar(hex"25",12u#,asc_height#,0); |
| 3081 |
italcorr asc_height#*sind 18-2.95u#; |
| 3082 |
penpos1(vair,90); penpos2(.6curve,0); |
| 3083 |
penpos3(vair,-90); penpos4(.6curve,-180); |
| 3084 |
y1=.55h; y3=h; y3-y4=y4-y1; y2=y4; x2=1/4curve+s; x4=5/2curve+s; |
| 3085 |
x4-x1=x1-x2; x3=x1; |
| 3086 |
penstroke z1e{left}..tension.9..{up}z2e{up}..tension1.2..{right}z3e..tension.9..{down}z4e{down}..tension1.2..{left}z1e..cycle; |
| 3087 |
penpos5(vair,90); penpos6(.6curve,0); |
| 3088 |
penpos7(vair,-90); penpos8(.6curve,-180); |
| 3089 |
y5=0; y7=.45h; y7-y8=y8-y5; y6=y8; x8=w-1/4curve-s; x6=w-5/2curve-s; |
| 3090 |
x8-x5=x5-x6; x7=x5; |
| 3091 |
penstroke z5e{left}..tension.9..{up}z6e{up}..tension1.2..{right}z7e..tension.9..{down}z8e{down}..tension1.2..{left}z5e..cycle; |
| 3092 |
x9l=x7; y9=h; x10r=x1; y10=0; |
| 3093 |
penpos9(1.2bar,0); penpos10(1.2bar,0); |
| 3094 |
penstroke z9e--z10e; |
| 3095 |
%currentpicture := currentpicture shifted(-1.4u,0); |
| 3096 |
penlabels(1,2,3,4,5,6,7,8,9,10); |
| 3097 |
endchar; |
| 3098 |
|
| 3099 |
beginchar(hex"26",14u#,cap_height#,0); |
| 3100 |
x4=x8=x3+.5curve; y6=0; y2=h; x2=x3+1.3cap_curve; |
| 3101 |
y7=13/53h; y5=9/53h; x5=x7+3.5cap_curve; x6=x7+1.8cap_curve; |
| 3102 |
y4=y8=30/53h; y1=44/53h; y3=42/53h; x3=4s+curve; |
| 3103 |
x1=x3+2.1cap_curve; x7=s+1/2cap_curve; |
| 3104 |
x10=w-s; y10=9/53h; x10-x9=x9-x5; y9=1/5cap_curve; |
| 3105 |
th:=angle(z4-z5)+5; th1:=th-11; x11h=w-s-c; y11h=y1-4s; |
| 3106 |
A_serif(11,cap_bar,-110,cap_jut,cap_jut); z12l=z11a; |
| 3107 |
penpos6(cap_bar,-90); penpos5(cap_stem,45); |
| 3108 |
penpos4(cap_stem,45); penpos3(2.5hair,0); |
| 3109 |
penpos2(cap_bar,-90); penpos1(2hair,-180); |
| 3110 |
penpos7(cap_curve,-180); penpos8(cap_bar,-250); |
| 3111 |
penpos9(.5cap_curve,70); penpos10(cap_bar,150); |
| 3112 |
penpos12(cap_bar,0); |
| 3113 |
penstroke z10e..z9e..z5e{dir th}..{dir th1}z4e..tension.9..{up}z3e{up}..tension1..z2e{right}..tension.9..z1e{down}..tension.9..z8e..tension.9..{down}z7e..tension.9..{right}z6e{dir 8}..{dir 70}z12e; |
| 3114 |
fill z12l--z12r..reverse A_serif_edge11--cycle; |
| 3115 |
currentpicture := currentpicture shifted(-.9u,0); |
| 3116 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12); |
| 3117 |
endchar; |
| 3118 |
currenttransform := identity; |
| 3119 |
|
| 3120 |
beginchar(hex"40",13u#,x_height#+2curve#,2curve#); |
| 3121 |
a_width:=8.772u+c-2s; |
| 3122 |
x1=2s+a_width-s-3/4stem+1.5curve; y1=x_height; y2=7/33x_height; z2=z1+whatever*dir -104; |
| 3123 |
x3=x2+1/2stem+c; y3=2epsilon; x4=3s+a_width+1.5curve; y4=15/33x_height; |
| 3124 |
penpos1(stem,180); penpos2(stem,180); |
| 3125 |
penpos3(1.2vair,270); penpos4(bar,360); |
| 3126 |
x5=x1-1.4stem; y5=x_height; z7=z5+whatever*dir -104; y7=-2epsilon; |
| 3127 |
x6=s+1/2curve+c+1.6curve; y6=.54x_height; y8=.46x_height; z8l=whatever[z1r,z2r]; |
| 3128 |
x13=x5; y13=h-1/2bar; x14=s+1/2bar; y14=y6; y15=-d+1/2bar; x15=x7; |
| 3129 |
x16=x4; y16=-d+3bar; penpos7(vair,270); penpos16(bar,270); |
| 3130 |
penpos13(bar,90); penpos14(bar,180); penpos15(bar,270); |
| 3131 |
penpos8(2bar,0); penpos5(vair,90); penpos6(curve,180); |
| 3132 |
penstroke z1e--z2e{down}..{right}z3e{right}..tension1.2..{dir 80}z4e..z13e{left}..z14e..{right}z15e..z16e; |
| 3133 |
penstroke z5e{left}..tension1.1..{dir 256}z6e{dir 256}..tension.9..{right}z7e..tension1.3..{dir 76}z8e{dir 76}..tension1..{dir 166}z5e..cycle; |
| 3134 |
z9=whatever[z1r,z2r]; y9=y12=x_height-c; z10=(x1r+c,x_height); z11=(x1l-c,x_height); |
| 3135 |
z12=whatever[z1l,z2l]; |
| 3136 |
unfill z9{up}..z10--z1r--z9..cycle; |
| 3137 |
unfill z11--z1l--z12{up}..z11..cycle; |
| 3138 |
fill z16r..z16l..cycle; |
| 3139 |
penlabels(range 1 thru 66); |
| 3140 |
endchar; |
| 3141 |
|
| 3142 |
beginchar(hex"12",2cap_stem#+s#,body_height#,0); |
| 3143 |
y1=h-.45cap_stem*cosd 45; x1=s+.45cap_stem*cosd 45; |
| 3144 |
x2=w-s+cap_bar*cosd 45; z2=z1+whatever*dir -45; |
| 3145 |
penpos1(.9cap_stem,45); penpos2(cap_bar,45); |
| 3146 |
penstroke z1e--z2e; |
| 3147 |
fill z1r..tension1.2..z1l..tension1.2..cycle; |
| 3148 |
fill z2r..tension1.2..z2l..tension1.2..cycle; |
| 3149 |
penlabels(range 1 thru 5); |
| 3150 |
endchar; |
| 3151 |
|
| 3152 |
beginchar(hex"13",2cap_stem#+s#,body_height#,0); |
| 3153 |
y1=h-.45cap_stem*cosd 45; x1=w-s-.45cap_stem*cosd 45; |
| 3154 |
x2=s-cap_bar*cosd 45; z2=z1+whatever*dir -135; |
| 3155 |
penpos1(.9cap_stem,135); penpos2(cap_bar,135); |
| 3156 |
penstroke z1e--z2e; |
| 3157 |
fill z1r..tension1.2..z1l..tension1.2..cycle; |
| 3158 |
fill z2r..tension1.2..z2l..tension1.2..cycle; |
| 3159 |
penlabels(range 1 thru 5); |
| 3160 |
endchar; |
| 3161 |
|
| 3162 |
beginchar(hex"3F",8u#+c#,cap_height#,0); |
| 3163 |
x1=s+1/2cap_stem; y1=1/2cap_stem; |
| 3164 |
penpos1(cap_stem,0); |
| 3165 |
fill z1r..z1l..cycle; |
| 3166 |
y2=cap_stem+4/5cap_bar; z2=z1+whatever*dir 78; |
| 3167 |
z3l=z2l+whatever*dir 78; y3l=21/53h; |
| 3168 |
penpos2(cap_bar,0); penpos3(1.3cap_bar,0); |
| 3169 |
penstroke z2e--z3e; |
| 3170 |
z4r=z3l; penpos4(cap_bar,90); |
| 3171 |
y5=y4; x5=x4+2cap_bar; penpos7(cap_bar,-90); |
| 3172 |
x6=w-s-1/2cap_curve; y6=35/51h; x7=18/31w; y7=h; |
| 3173 |
penpos5(cap_bar,90); penpos6(cap_curve,180); z8=z7; |
| 3174 |
penstroke z4e--z5e{right}..tension1.2..{dir 78}z6e{dir 78}..tension1.1..{left}z7e; |
| 3175 |
ul_drop(8,.8cap_drop_round,x7-x3,cap_curve,cap_bar); |
| 3176 |
fill ul_drop_edge8; |
| 3177 |
penlabels(1,2,3,4,5,6,7,8); |
| 3178 |
endchar; |
| 3179 |
|
| 3180 |
beginchar(hex"10",5u#,asc_height#,0); |
| 3181 |
x1=w-s-stem; y1=x_height-bar; y2=11/33x_height; z2=z1+whatever*dir -104; |
| 3182 |
x3=x2+1/2stem; x4=w-s-1/2bar; y4=10/33x_height; y3=0; |
| 3183 |
serif(1,stem,-104,jut,0); |
| 3184 |
penpos2(stem,180); |
| 3185 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 3186 |
penpos3(1.1bar,270); penpos4(bar,335); |
| 3187 |
penstroke z2e{dir -104}..{right}z3e{dir 20}..{dir 65}z4e; |
| 3188 |
fill z4l..tension1.3..z4r..tension1.3..cycle; |
| 3189 |
fill z1e{dir 76}..z1d{left}..cycle; |
| 3190 |
penlabels(range 1 thru 12); |
| 3191 |
endchar; |
| 3192 |
|
| 3193 |
beginchar(hex"11",7u#-c#,asc_height#,desc_depth#); |
| 3194 |
x1d=w-s; y1d=x_height; y2=7/33x_height; serif(1,stem,-104,jut,0); |
| 3195 |
z2=z1+whatever*dir -104; penpos2(stem,180); |
| 3196 |
y3l=-2/3d-c; z3l=whatever[z1f,z2l]; penpos3(1.1bar,180); |
| 3197 |
fill z2r--z2l--reverse serif_edge1--cycle; |
| 3198 |
penstroke z2e{dir -104}..{dir -104}z3e; |
| 3199 |
fill z1e{dir 76}..z1d{left}..cycle; z4=z3; |
| 3200 |
dl_drop(4,drop_round,1/3d,drop_round,1.1bar); |
| 3201 |
fill dl_drop_edge4 rotatedaround(z3,76); |
| 3202 |
fill z3l..tension1.3..z3r..tension1.3..cycle; |
| 3203 |
penlabels(range 1 thru 12); |
| 3204 |
endchar; |
| 3205 |
|
| 3206 |
beginchar(hex"2A",3cap_stem#+3s#,body_height#,0); |
| 3207 |
x1=x2=x3=x4=.5w; y1=h-1/2stem; y2=y1-cap_stem; y3=y2-bar; y4=y3-bar; |
| 3208 |
penpos1(stem,0); penpos2(cap_bar,0); penpos3(2cap_bar,0); |
| 3209 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle; |
| 3210 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,60); |
| 3211 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,120); |
| 3212 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,180); |
| 3213 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,240); |
| 3214 |
fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,300); |
| 3215 |
penlabels(range 1 thru 12); |
| 3216 |
endchar; |
| 3217 |
|
| 3218 |
beginchar(hex"5E",6u#,body_height#,0); |
| 3219 |
x1=s+.45cap_bar*cosd 45; x2=w/2; y2=h-bar; |
| 3220 |
z1=z2+whatever*dir -135; x3=w-x1; z3=z2+whatever*dir -45; |
| 3221 |
penpos1(bar,135); penpos2(2bar,90); penpos3(bar,45); |
| 3222 |
penstroke z1e--z2e--z3e; |
| 3223 |
fill z1r..z1l..cycle; fill z3r..z3l..cycle; |
| 3224 |
penlabels(1,2,3); |
| 3225 |
endchar; |
| 3226 |
|
| 3227 |
beginchar(hex"16",6u#,body_height#,0); |
| 3228 |
x1=s; x2=w-x1; y1=y2=h-4bar; |
| 3229 |
penpos1(.8bar,90); penpos2(.8bar,90); |
| 3230 |
penstroke z1e--z2e; |
| 3231 |
fill z1r..z1l..cycle; fill z2r..z2l..cycle; |
| 3232 |
penlabels(1,2); |
| 3233 |
endchar; |
| 3234 |
|
| 3235 |
beginchar(hex"7F",2stem#+4s#,x_height#+2.1stem#,0); |
| 3236 |
z1=(s+.5stem,h); z2=(s+.5stem,h-stem); |
| 3237 |
fill z1..z2..cycle; |
| 3238 |
z3=(w-s-.5stem,h); z4=(w-s-.5stem,h-stem); |
| 3239 |
fill z3..z4..cycle; |
| 3240 |
penlabels(1,2,3,4); |
| 3241 |
endchar; |
| 3242 |
|
| 3243 |
ligtable "7": |
| 3244 |
"8" kern -kk#, |
| 3245 |
"A" kern -kkk#, |
| 3246 |
CYR_A kern -kkk#, |
| 3247 |
"f" kern -kk#, |
| 3248 |
"j" kern -kkk#, |
| 3249 |
"g" kern -kkk#, |
| 3250 |
CYR_el kern -kkk#, |
| 3251 |
CYR_em kern -kkk#, |
| 3252 |
CYR_u kern -k#, |
| 3253 |
CYR_er kern -k#, |
| 3254 |
CYR_ya kern -kk#, |
| 3255 |
"c" kern -k#, |
| 3256 |
"q" kern -k#, |
| 3257 |
"p" kern -k#; |
| 3258 |
|
| 3259 |
ligtable CYR_A: "A": |
| 3260 |
CYR_O kern -k#, |
| 3261 |
CYR_ES kern -k#, |
| 3262 |
CYR_TE kern -k#, |
| 3263 |
CYR_U kern -kk#, |
| 3264 |
CYR_EF kern -k#, |
| 3265 |
CYR_CHE kern -kk#, |
| 3266 |
CYR_HARD_SIGN kern -k#, |
| 3267 |
CYR_che kern -k#, |
| 3268 |
"W" kern -kkk#, |
| 3269 |
"V" kern -kkk#, |
| 3270 |
"Y" kern -kk#, |
| 3271 |
"T" kern -k#; |
| 3272 |
|
| 3273 |
ligtable CYR_GHE: CYR_TE: "T": |
| 3274 |
CYR_A kern -kk#, |
| 3275 |
CYR_DE kern -k#, |
| 3276 |
CYR_EL kern -kk#, |
| 3277 |
"l" kern kk#, |
| 3278 |
"t" kern k#, |
| 3279 |
"i" kern k#, |
| 3280 |
"k" kern kk#, |
| 3281 |
"b" kern kk#, |
| 3282 |
"h" kern kk#; |
| 3283 |
|
| 3284 |
ligtable CYR_E: CYR_YU: |
| 3285 |
CYR_U kern -k#, |
| 3286 |
CYR_be kern k#, |
| 3287 |
CYR_te kern kk#, |
| 3288 |
CYR_o kern k#, |
| 3289 |
CYR_pe kern k#, |
| 3290 |
CYR_er kern k#, |
| 3291 |
CYR_ka kern k#, |
| 3292 |
CYR_en kern k#, |
| 3293 |
CYR_che kern kk#, |
| 3294 |
CYR_sha kern kk#, |
| 3295 |
CYR_yu kern k#, |
| 3296 |
CYR_u kern k#, |
| 3297 |
"b" kern k#, |
| 3298 |
"t" kern kk#, |
| 3299 |
CYR_HA kern -k#; |
| 3300 |
|
| 3301 |
ligtable CYR_O: CYR_EF: "D": "O": "Q": |
| 3302 |
CYR_yeru kern k#, |
| 3303 |
CYR_pe kern k#, |
| 3304 |
CYR_en kern k#, |
| 3305 |
CYR_o kern k#, |
| 3306 |
CYR_be kern k#, |
| 3307 |
CYR_HA kern -k#, |
| 3308 |
CYR_te kern kk#, |
| 3309 |
CYR_ef kern k#, |
| 3310 |
CYR_er kern k#, |
| 3311 |
CYR_ka kern k#, |
| 3312 |
CYR_che kern kk#, |
| 3313 |
CYR_sha kern kk#, |
| 3314 |
CYR_yu kern k#, |
| 3315 |
CYR_u kern k#, |
| 3316 |
"o" kern k#, |
| 3317 |
"e" kern k#, |
| 3318 |
"q" kern k#, |
| 3319 |
"l" kern k#, |
| 3320 |
"p" kern k#, |
| 3321 |
"t" kern k#, |
| 3322 |
"u" kern kk#, |
| 3323 |
"b" kern k#, |
| 3324 |
"X" kern -k#; |
| 3325 |
|
| 3326 |
ligtable CYR_ER: "P": |
| 3327 |
CYR_A kern -kk#, |
| 3328 |
CYR_el kern -k#, |
| 3329 |
CYR_te kern k#, |
| 3330 |
CYR_pe kern k#, |
| 3331 |
"p" kern k#, |
| 3332 |
CYR_ka kern k#, |
| 3333 |
CYR_en kern k#, |
| 3334 |
CYR_che kern kk#, |
| 3335 |
CYR_sha kern kk#, |
| 3336 |
CYR_yu kern k#, |
| 3337 |
CYR_u kern k#, |
| 3338 |
"i" kern k#, |
| 3339 |
"b" kern k#, |
| 3340 |
"u" kern k#, |
| 3341 |
"l" kern k#, |
| 3342 |
"r" kern k#; |
| 3343 |
|
| 3344 |
ligtable CYR_ES: "C": |
| 3345 |
CYR_i kern kk#, |
| 3346 |
CYR_pe kern k#, |
| 3347 |
CYR_ve kern k#, |
| 3348 |
"7" kern kk#, |
| 3349 |
"l" kern kk#, |
| 3350 |
"n" kern k#, |
| 3351 |
"h" kern k#, |
| 3352 |
CYR_o kern k#; |
| 3353 |
|
| 3354 |
ligtable CYR_EN: |
| 3355 |
CYR_i kern k#; |
| 3356 |
|
| 3357 |
ligtable CYR_U: |
| 3358 |
CYR_A kern -kkk#, |
| 3359 |
CYR_O kern -k#, |
| 3360 |
CYR_ES kern -k#, |
| 3361 |
CYR_EF kern -k#; |
| 3362 |
|
| 3363 |
ligtable CYR_HA: "X": |
| 3364 |
CYR_ES kern -k#, |
| 3365 |
CYR_EF kern -k#, |
| 3366 |
CYR_O kern -k#, |
| 3367 |
"O" kern -k#, |
| 3368 |
"Q" kern -k#, |
| 3369 |
"C" kern -k#, |
| 3370 |
"G" kern -k#; |
| 3371 |
|
| 3372 |
ligtable CYR_be: |
| 3373 |
CYR_a kern -kk#, |
| 3374 |
CYR_o kern -kk#, |
| 3375 |
"a" kern -kk#, |
| 3376 |
"o" kern -kk#, |
| 3377 |
"e" kern -kk#, |
| 3378 |
"c" kern -k#, |
| 3379 |
"x" kern -kk#, |
| 3380 |
"p" kern -kk#, |
| 3381 |
CYR_ie kern -kk#, |
| 3382 |
CYR_ze kern -kk#, |
| 3383 |
CYR_el kern -kk#, |
| 3384 |
CYR_em kern -kk#, |
| 3385 |
CYR_es kern -k#, |
| 3386 |
CYR_ef kern -k#, |
| 3387 |
CYR_ha kern -kk#, |
| 3388 |
CYR_e kern -kk#, |
| 3389 |
CYR_ye kern -k#, |
| 3390 |
CYR_ya kern -kk#, |
| 3391 |
CYR_yeru kern -k#, |
| 3392 |
CYR_ve kern -k#, |
| 3393 |
CYR_ghe kern -kk#, |
| 3394 |
CYR_de kern -k#, |
| 3395 |
CYR_zhe kern -kk#, |
| 3396 |
CYR_i kern -k#, |
| 3397 |
CYR_ka kern -kk#, |
| 3398 |
CYR_en kern -kk#, |
| 3399 |
CYR_pe kern -kk#, |
| 3400 |
CYR_er kern -kk#, |
| 3401 |
CYR_u kern -kk#, |
| 3402 |
"y" kern -kk#, |
| 3403 |
CYR_tse kern -kk#, |
| 3404 |
CYR_che kern -k#, |
| 3405 |
CYR_sha kern -k#, |
| 3406 |
CYR_shcha kern -k#, |
| 3407 |
CYR_soft_sign kern -k#, |
| 3408 |
CYR_yu kern -kk#; |
| 3409 |
|
| 3410 |
ligtable CYR_de: |
| 3411 |
CYR_em kern -kk#, |
| 3412 |
CYR_a kern -kk#, |
| 3413 |
"a" kern -kk#, |
| 3414 |
"c" kern -kk#, |
| 3415 |
"p" kern -kk#, |
| 3416 |
"o" kern -k#, |
| 3417 |
"e" kern -k#, |
| 3418 |
"n" kern -kk#, |
| 3419 |
CYR_zhe kern -kk#, |
| 3420 |
CYR_ze kern -kk#, |
| 3421 |
CYR_el kern -kkk#, |
| 3422 |
CYR_pe kern -kk#, |
| 3423 |
CYR_er kern -kk#, |
| 3424 |
CYR_es kern -kk#, |
| 3425 |
CYR_u kern -kk#, |
| 3426 |
CYR_ha kern -kk#, |
| 3427 |
CYR_ya kern -kk#, |
| 3428 |
CYR_be kern -k#, |
| 3429 |
CYR_ve kern -k#, |
| 3430 |
CYR_ghe kern -k#, |
| 3431 |
CYR_ie kern -k#, |
| 3432 |
CYR_ye kern -k#, |
| 3433 |
CYR_ka kern -k#, |
| 3434 |
CYR_en kern -k#, |
| 3435 |
CYR_o kern -k#, |
| 3436 |
CYR_ef kern -k#, |
| 3437 |
CYR_tse kern -k#, |
| 3438 |
CYR_sha kern -k#, |
| 3439 |
CYR_hard_sign kern -k#, |
| 3440 |
CYR_e kern -k#, |
| 3441 |
CYR_yu kern -k#; |
| 3442 |
|
| 3443 |
ligtable CYR_ghe: |
| 3444 |
CYR_el kern -k#; |
| 3445 |
|
| 3446 |
ligtable CYR_pe: "n": |
| 3447 |
"y" kern -k#, |
| 3448 |
CYR_u kern -k#, |
| 3449 |
"f" kern -kk#, |
| 3450 |
"j" kern -kk#, |
| 3451 |
"g" kern -k#; |
| 3452 |
|
| 3453 |
ligtable CYR_te: |
| 3454 |
CYR_em kern -k#, |
| 3455 |
CYR_ie kern -k#, |
| 3456 |
CYR_el kern -kkk#; |
| 3457 |
|
| 3458 |
ligtable CYR_u: "y": |
| 3459 |
CYR_el kern -k#, |
| 3460 |
CYR_em kern -k#, |
| 3461 |
CYR_ie kern -k#, |
| 3462 |
CYR_ka kern -k#, |
| 3463 |
CYR_ya kern -k#, |
| 3464 |
CYR_ye kern -k#, |
| 3465 |
"f" kern -kk#, |
| 3466 |
"j" kern -kk#; |
| 3467 |
|
| 3468 |
ligtable "I": "H": "N": "U": |
| 3469 |
"l" kern kk#, |
| 3470 |
"t" kern k#, |
| 3471 |
"i" kern k#, |
| 3472 |
"k" kern kk#, |
| 3473 |
"b" kern kk#, |
| 3474 |
"h" kern kk#; |
| 3475 |
|
| 3476 |
ligtable "L": |
| 3477 |
"T" kern -kk#, |
| 3478 |
"W" kern -k#, |
| 3479 |
"V" kern -k#, |
| 3480 |
"Y" kern -kk#; |
| 3481 |
|
| 3482 |
ligtable "S": |
| 3483 |
"b" kern k#, |
| 3484 |
"c" kern k#, |
| 3485 |
"l" kern k#, |
| 3486 |
"t" kern k#, |
| 3487 |
"j" kern -k#, |
| 3488 |
"o" kern k#; |
| 3489 |
|
| 3490 |
ligtable "V": "W": |
| 3491 |
"A" kern -kkk#, |
| 3492 |
"l" kern kk#, |
| 3493 |
"t" kern k#, |
| 3494 |
"i" kern k#, |
| 3495 |
"k" kern kk#, |
| 3496 |
"b" kern kk#, |
| 3497 |
"h" kern kk#; |
| 3498 |
|
| 3499 |
ligtable "d": |
| 3500 |
"f" kern -kk#, |
| 3501 |
"g" kern -k#, |
| 3502 |
"j" kern -kk#; |
| 3503 |
|
| 3504 |
ligtable "f": |
| 3505 |
"g" kern -k#, |
| 3506 |
"f" kern -kk#, |
| 3507 |
"a" kern -k#, |
| 3508 |
"c" kern -k#, |
| 3509 |
"d" kern -k#, |
| 3510 |
"e" kern -k#, |
| 3511 |
"o" kern -k#, |
| 3512 |
"q" kern -k#, |
| 3513 |
"r" kern -k#, |
| 3514 |
"s" kern -k#, |
| 3515 |
"x" kern -k#, |
| 3516 |
"z" kern -k#, |
| 3517 |
"j" kern -k#; |
| 3518 |
|
| 3519 |
ligtable "g": |
| 3520 |
"i" kern k#, |
| 3521 |
"u" kern k#, |
| 3522 |
"t" kern k#, |
| 3523 |
"f" kern -k#, |
| 3524 |
"v" kern k#, |
| 3525 |
"w" kern k#; |
| 3526 |
|
| 3527 |
ligtable "o": "b": "p": "e": |
| 3528 |
"W" kern -kkk#, |
| 3529 |
"V" kern -kkk#, |
| 3530 |
"X" kern -kk#, |
| 3531 |
"e" kern k#, |
| 3532 |
"f" kern -kk#, |
| 3533 |
"j" kern -kk#, |
| 3534 |
"o" kern k#; |
| 3535 |
|
| 3536 |
ligtable "r": |
| 3537 |
"g" kern -k#, |
| 3538 |
"a" kern -k#; |
| 3539 |
|
| 3540 |
ligtable "s": "z": |
| 3541 |
"f" kern -kk#, |
| 3542 |
"j" kern -kk#; |
| 3543 |
|
| 3544 |
ligtable "t": |
| 3545 |
"f" kern -k#, |
| 3546 |
"a" kern -k#; |
| 3547 |
|
| 3548 |
ligtable "v": "w": |
| 3549 |
"f" kern -kk#, |
| 3550 |
"g" kern -k#, |
| 3551 |
"j" kern -kk#; |
| 3552 |
|
| 3553 |
ligtable "c": CYR_es: |
| 3554 |
"j" kern -kk#; |
| 3555 |
|
| 3556 |
ligtable "x": CYR_ha: |
| 3557 |
CYR_el kern -kk#, |
| 3558 |
CYR_em kern -kk#, |
| 3559 |
"j" kern -kk#; |
| 3560 |
|
| 3561 |
ligtable oct"55": |
| 3562 |
oct"55" =: hex"7b"; |
| 3563 |
ligtable hex"7b": |
| 3564 |
oct"55" =: hex"7c"; |
| 3565 |
end |