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