Debian Codegraph @

texmf-dist/fonts/source/public/obnov/obnsl17.mf

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