Debian Codegraph @

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