Debian Codegraph @

texmf-dist/fonts/source/public/obnov/obnsl7.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 := 7pt#;
6 o# := .32pt#;
7 u# := 15/35pt#;
8 bar# := 7.5/36pt#;
9 slab# := 7.5/36pt#;
10 cap_bar# := 7.5/36pt#;
11 vair# := 7.5/36pt#;
12 hair# := 7.5/36pt#;
13 jut# := 15/36pt#;
14 cap_jut# := 20/36pt#;
15 stem# := 23/36pt#;
16 curve# := 23.7/36pt#;
17 cap_stem# := 27/36pt#;
18 cap_curve# := 27.5/36pt#;
19 s# := .32pt#;
20 c# := .16pt#;
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.7*slab#;
41 drop_round# := 6.9/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 13.5u#;
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,z4l]; z7=whatever[z1,z5e];
181 unfill z1..z6--z7..z1&cycle;
182 unfill z1..z6--z7..z1&cycle;
183 penlabels(range 0 thru 7);
184 endchar;
185
186 beginchar(CYR_BE,11u#+s#,cap_height#,0);
187 italcorr cap_height#*sind 18-1.65u#;
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.12u#;
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-.85u#;
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.05u#;
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.19u#;
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.19u#;
315 x1=x2=cap_jut+1/2cap_stem+s;
316 y4=y3=h-1/2slab; x4=x1d;
317 y1c=h; y2c=0;
318 y5=y3; x5e=w-s-c;
319 y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u;
320 T_serif(5,slab,border_height,1);
321 serif(1,cap_stem,-90,cap_jut,cap_jut);
322 serif(2,cap_stem,90,cap_jut,cap_jut);
323 fill serif_edge2--reverse serif_edge1--cycle;
324 x3=x5a;
325 penpos3(cap_bar,-90);
326 penpos4(cap_bar,-90);
327 penstroke z3e--z4e;
328 fill T_edge5;
329 penpos6(cap_bar,90);
330 penpos7(cap_bar,90);
331 penstroke z6e--z7e;
332 T_serif(8,cap_bar,.8border_height,1);
333 fill T_edge8;
334 fill T_edge8 reflectedabout(z6,z7);
335 y9=y10=y11=y2h; x9=x2d; x11e=w-s;
336 T_serif(11,cap_bar,border_height,1); x10=x11;
337 penpos9(cap_bar,90);
338 penpos10(cap_bar,90);
339 penstroke z9e--z10e;
340 fill T_edge11 reflectedabout(z9,z10);
341 x12=x13=x2r; y12=h+1/4cap_stem; y13=y12+cap_stem;
342 x14=x15=x12+2cap_stem; y14=y12; y15=y13;
343 fill z12..z13..cycle; fill z14..z15..cycle;
344 penlabels(range 1 thru 15);
345 endchar;
346
347 beginchar(CYR_ZHE,round (16u#+s#),cap_height#,0);
348 italcorr cap_height#*sind 18-1.2u#;
349 if .5w = good.x .5w: change_width; fi
350 x8=x9=.5w; y8c=h; y9c=0;
351 serif(8,cap_stem,-90,cap_jut,cap_jut);
352 serif(9,cap_stem,90,cap_jut,cap_jut);
353 fill serif_edge9--reverse serif_edge8--cycle;
354 x7=x8l; y7=y4=y10=y11=cap_bar_height; x4=x7-1.5u;
355 x10=x8r; x11=x10+1.5u; x16=w-s; y16=0; x16-x15=x15-x11; y11-y15=y15-y16;
356 x6=s; y6=0; y4-y5=y5-y6; x4-x5=x5-x6;
357 penpos7(cap_bar,90);
358 penpos4(cap_bar,90);
359 penpos5(cap_curve,180);
360 penpos6(cap_bar,90);
361 penpos10(cap_bar,90);
362 penpos11(cap_bar,90);
363 penpos15(cap_curve,0);
364 penpos16(cap_bar,90);
365 penstroke z6e{right}..tension.8..{up}z5e{up}..tension.8..{right}z4e--z7e;
366 penstroke z16e{left}..tension.8..{up}z15e{up}..tension.8..{left}z11e--z10e;
367 x12=x15-1/2cap_stem; y13=h; x13-x12=x12-x11; y13-y12=y12-y11;
368 penpos12(hair,180);
369 penpos13(cap_bar,90);
370 penstroke z11e{right}..tension.8..{up}z12e{up}..tension.8..{right}z13e;
371 y14=h; x14a=x13;
372 ur_drop(14,cap_drop_round,.9cap_drop_round,cap_drop_round,cap_bar);
373 fill ur_drop_edge14;
374 x3=x5+1/2cap_stem; y2=h; x4-x3=x3-x2; y2-y3=y3-y4;
375 penpos3(hair,0);
376 penpos2(cap_bar,90);
377 penstroke z4e{left}..tension.8..{up}z3e{up}..tension.8..{left}z2e;
378 y1=h; x1a=x2; fill z6l..z6r..cycle;
379 ul_drop(1,cap_drop_round,.9cap_drop_round,cap_drop_round,cap_bar);
380 fill ul_drop_edge1; fill z16l..z16r..cycle;
381 penlabels(range 1 thru 16);
382 endchar;
383
384 beginchar(CYR_ZE,10u#+.5s#,cap_height#,0);
385 italcorr cap_height#*sind 18-2u#;
386 x7=18/39w; y7=0; y4=y5=y44=cap_bar_height;
387 x4=x6-3/2cap_stem; x5=x4-3u;
388 x6=w-s-1/2cap_curve; y4-y6=y6-y7;
389 x2=.5w; y2=h; x3=x6-1/3cap_curve; y2-y3=y3-y4;
390 x44=x2; z1=z2;
391 penpos2(cap_bar,90);
392 penpos3(cap_curve,0);
393 penpos44(cap_bar,-90);
394 penpos4(cap_bar,90);
395 penpos5(cap_bar,90);
396 penpos6(cap_curve,0);
397 penpos7(cap_bar,-90);
398 penstroke z2e{right}..tension.9..{down}z3e{down}..tension.9..{left}z44e;
399 penstroke z5e--z4e{right}..tension.8..{down}z6e{down}..tension.8..{left}z7e;
400 fill z5r..z5l..cycle;
401 S_serif(1,slab,.5w-3c,1.4border_height);
402 fill S_serif_edge1 reflectedabout(z2r,z2l);
403 x8e=s; y8=0;
404 dl_drop(8,cap_drop_round,18/39w-s,1.5cap_drop_round,slab);
405 fill dl_drop_edge8;
406 %currentpicture := currentpicture shifted(-u,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-.84u#;
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-.84u#;
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);
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.2u#;
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-.8u#;
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.2cap_jut,1.2cap_jut);
485 fill A_serif_edge4..z3r--z3l..cycle;
486 serif(7,cap_stem,-90,cap_jut,cap_jut);
487 serif(8,cap_stem,90,cap_jut,cap_jut);
488 fill serif_edge8--reverse serif_edge7--cycle;
489 x5=x4d; y5=y6=y7h; x6=x7c;
490 penpos5(cap_bar,90);
491 penpos6(cap_bar,90);
492 penstroke z5e--z6e;
493 %currentpicture := currentpicture shifted(-.5u,0);
494 penlabels(1,2,3,4,5,6,7,8);
495 endchar;
496
497 beginchar(CYR_EM,13u#,cap_height#,0);
498 italcorr cap_height#*sind 18-.84u#;
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-.84u#;
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-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-.84u#;
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.5u#;
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.13u#;
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-.84u#;
608 x1=x2=.5w; y1c=h; y2c=0;
609 y3=y4=h-1/2slab; x3e=s; x1-x3e=x4e-x1;
610 serif(1,cap_stem,-90,1.2cap_jut,1.2cap_jut);
611 serif(2,cap_stem,90,cap_jut,cap_jut);
612 fill serif_edge2--reverse serif_edge1--cycle;
613 T_serif(3,cap_bar,round border_height,0);
614 T_serif(4,cap_bar,round border_height,1);
615 fill T_edge3;
616 fill T_edge4;
617 if x1c>x3: y5=y6=y7=y8=h-1/2cap_bar; x5=x3a; x6=x1c; x7=x1e; x8=x4a;
618 penpos5(cap_bar,90); penpos6(cap_bar,90);
619 penpos7(cap_bar,90); penpos8(cap_bar,90);
620 penstroke z5e--z6e;
621 penstroke z7e--z8e; fi
622 %currentpicture := currentpicture shifted(-2.9u,0);
623 penlabels(range 1 thru 8);
624 endchar;
625
626 beginchar(CYR_U,13u#+s#,cap_height#,0);
627 italcorr cap_height#*sind 18-.84u#;
628 x1l=s+cap_jut; y1l=.98h-cap_bar;
629 x3r=w-s-.8cap_jut; y3r=.98h-cap_bar;
630 x4=33/60w; y4=6/53h;
631 numeric theta[];
632 theta1 = angle(z4-z1l);
633 theta2 = angle(z4-z3r);
634 serif(1,cap_stem,theta1,cap_jut,cap_jut);
635 A_serif(3,1.2cap_bar,theta2,1.2cap_jut,.8cap_jut);
636 z2 = z1r+whatever*dir theta1=z3l+whatever*dir theta2;
637 fill z4--serif_edge1--z2&z2--A_serif_edge3--z4&cycle;
638 z5r=z4; y6=0; x6=x4-1.2cap_stem; z7l=z2;
639 penpos7(1.2cap_bar,theta2+90);
640 penpos5(1.2cap_bar,theta2+90);
641 penpos6(1.2cap_bar,-90);
642 penstroke z7e--z5e{dir theta2}...{left}z6e;
643 z8=z6;
644 dl_drop(8,cap_drop_round,2u, 10/53h, round 1.2cap_bar);
645 fill dl_drop_edge8;
646 %currentpicture := currentpicture shifted(-3.2u,0);
647 penlabels(range 1 thru 8);
648 endchar;
649
650 beginchar(CYR_EF,round (14u#+s#),cap_height#,0);
651 italcorr cap_height#*sind 18-2u#;
652 if .5w = good.x .5w: change_width; fi
653 x1=x2=.5w; y2c=0; y1h=h;
654 y6=y7=y8=y9=1.3cap_jut; y4=y3=y11=y12=h-1.3cap_jut+1/2slab;
655 x3=x7=x2l; x8=x12=x2r; x4=x6=x3-u; x11=x9=x12+u;
656 x5=s+1/2cap_curve; x10-x1=x1-x5; y4-y5=y5-y6; y10=y5;
657 serif(1,cap_stem,-90,cap_jut,cap_jut);
658 serif(2,cap_stem,90,cap_jut,cap_jut);
659 fill serif_edge2--reverse serif_edge1--cycle;
660 penpos3(cap_bar,90);
661 penpos4(cap_bar,90);
662 penpos5(cap_curve,180);
663 penpos6(cap_bar,270);
664 penpos7(cap_bar,270);
665 penpos8(cap_bar,-90);
666 penpos9(cap_bar,-90);
667 penpos10(cap_curve,0);
668 penpos11(cap_bar,90);
669 penpos12(cap_bar,90);
670 penstroke z3e--z4e{left}..tension.8..{down}z5e{down}..tension.8..{right}z6e--z7e;
671 penstroke z8e--z9e{right}..tension.8..{up}z10e{up}..tension.8..{left}z11e--z12e;
672 penlabels (range 1 thru 12);
673 %currentpicture := currentpicture shifted(-1.7u,0);
674 endchar;
675
676 beginchar(CYR_HA,12u#+s#,cap_height#,0);
677 italcorr cap_height#*sind 18-1.25u#;
678 y3=y4=slab; x3=w-s-cap_jut-1/2cap_stem; x4=s+cap_jut+1/2slab;
679 y1=y2=h-slab; x1=s+cap_jut+1/2cap_stem+c; x2=w-s-1.5c-cap_jut-1/2slab;
680 numeric theta[];
681 theta1 = angle(z1-z3);
682 theta2 = angle(z2-z4);
683 serif(1,cap_stem,theta1-180,cap_jut,cap_jut);
684 A_serif(2,1.2cap_bar,theta2-180,cap_jut,cap_jut);
685 serif(3,cap_stem,theta1,cap_jut,cap_jut);
686 A_serif(4,1.2cap_bar,theta2,cap_jut,cap_jut);
687 fill serif_edge3--reverse serif_edge1--cycle;
688 fill A_serif_edge4--reverse A_serif_edge2--cycle;
689 penlabels(1,2,3,4);
690 endchar;
691
692 beginchar(CYR_TSE,12.5u#+s#,cap_height#,comma_depth#);
693 italcorr cap_height#*sind 18-1.3u#;
694 x1=x2=x5=cap_jut+1/2cap_stem+s;
695 x3=x4=x6=w-x1-.5u; y5=y6=y2h;
696 y1c=y3c=h; y2c=y4c=0; x7e=w-s; y7=y2h;
697 serif(1,cap_stem,-90,cap_jut,cap_jut);
698 serif(2,cap_stem,90,cap_jut,cap_jut);
699 serif(3,cap_stem,-90,cap_jut,cap_jut);
700 serif(4,cap_stem,90,cap_jut,cap_jut);
701 fill serif_edge2--reverse serif_edge1--cycle;
702 fill serif_edge4--reverse serif_edge3--cycle;
703 penpos5(cap_bar,90); penpos6(cap_bar,90);
704 penstroke z5e--z6e;
705 T_serif(7,cap_bar,border_height,1);
706 fill T_edge7;
707 penlabels(1,2,3,4,5,6,7);
708 endchar;
709
710 beginchar(CYR_CHE,12u#+s#,cap_height#,0);
711 italcorr cap_height#*sind 18-.84u#;
712 x1=cap_jut+1/2cap_stem+s;
713 x2=x3=w-x1;
714 y1c=y2c=h; y3c=0; y4=y4r=y4l=30/52h; x4=x1; x4r=x1r; x4l=x1l;
715 serif(1,cap_stem,-90,cap_jut,cap_jut);
716 serif(2,cap_stem,-90,cap_jut,cap_jut);
717 serif(3,cap_stem,90,cap_jut,cap_jut);
718 fill z4r--reverse serif_edge1--z4l--cycle;
719 fill serif_edge3--reverse serif_edge2--cycle;
720 x5=x2l; y5=cap_bar_height-1/2cap_bar; z6=z4;
721 x5-x7=x7-x4r; y7=y5-2cap_bar;
722 penpos6(cap_stem,180);
723 penpos5(1.2vair,270);
724 penpos7(1.2vair,270);
725 penstroke z6e{down}...z7e..z5e;
726 %currentpicture := currentpicture shifted(-3.2u,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-.84u#;
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-3u#;
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.4u,0);
805 penlabels(1,2,3,4,5,6,7,8);
806 endchar;
807
808 beginchar(CYR_YERU,16u#+c#,cap_height#,0);
809 italcorr cap_height#*sind 18-.84u#;
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-3u#;
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-1.95u#;
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.08u#;
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-.84u#;
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(-.2u,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-.82u#;
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.57u#;
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.2u,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.1u#;
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(-1.2u,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.38u#;
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,drop_round,x2-s-c,.9drop_round,bar);
1114 ur_drop(14,drop_round,x2-s-c,.9drop_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.4u#;
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.4drop_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.38u#;
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,drop_round,w-x6-s-c,.9drop_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-.8u#;
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);
1226 penpos6(bar,90);
1227 penstroke z5e--z6e;
1228 %currentpicture := currentpicture shifted(-.5u,0);
1229 penlabels(range 1 thru 8);
1230 endchar;
1231
1232 beginchar(CYR_em,10u#+c#,x_height#,0);
1233 italcorr x_height#*sind 18-.8u#;
1234 x1g=s; y1c=0; y2=h-bar;
1235 A_serif(1,bar,90,jut,jut);
1236 x2=x1; serif(2,bar,-90,jut,jut);
1237 fill A_serif_edge1--reverse serif_edge2--cycle;
1238 x3h=x4h=w-s; y3g=h-1/2bar; y4c=0;
1239 serif(3,stem,-90,1/2bar, jut);
1240 serif(4,stem,90,jut,jut);
1241 fill serif_edge4--reverse serif_edge3--cycle;
1242 z5l=z3g; penpos5(bar,0); penpos6(bar,0);
1243 z6=z5+whatever*dir -110; y6=0;
1244 penstroke z5e--z6e;
1245 z7l=z6l+whatever*dir 110; y7l=7/28h;
1246 z8l=whatever[z6l,z7l]; y8l=h;
1247 penpos7(stem,0); penpos8(stem,0);
1248 penstroke z7e--z8e; fill z6l--z7l--z7r--cycle;
1249 fill z6l..tension1.3..z6r..tension1.3..cycle;
1250 penlabels(range 1 thru 8);
1251 endchar;
1252
1253 beginchar(CYR_en,9u#+s#,x_height#,0);
1254 italcorr x_height#*sind 18-.8u#;
1255 x1=x2=jut+1/2stem+s;
1256 x3=x4=w-x1; x5=x1r; x6=x3l;
1257 y1c=y3c=h; y2c=y4c=0;
1258 serif(1,stem,-90,jut,jut);
1259 serif(2,stem,90,jut,jut);
1260 serif(3,stem,-90,jut,jut);
1261 serif(4,stem,90,jut,jut);
1262 fill serif_edge2--reverse serif_edge1--cycle;
1263 fill serif_edge4--reverse serif_edge3--cycle;
1264 penpos5(bar,90); penpos6(bar,90);
1265 y5=y6=bar_height; penstroke z5e--z6e;
1266 penlabels(1,2,3,4,5,6);
1267 endchar;
1268
1269 beginchar(CYR_o,8u#+s#,x_height#,0);
1270 italcorr x_height#*sind 18-1.6u#;
1271 penpos1(vair,90);
1272 penpos2(o,30);
1273 penpos3(curve,0);
1274 penpos4(o,-30);
1275 penpos5(vair,-90);
1276 penpos6(o,-150);
1277 penpos7(curve,-180);
1278 penpos8(o,-210);
1279 x1=x5=.5w; y1=0; y5=h;
1280 y3=y7=.5h; x3=1/2curve+s; x7=w-1/2curve-s;
1281 y2=y8=0.1h; y4=y6=0.9h; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
1282 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
1283 %currentpicture := currentpicture shifted(-1.1u,0);
1284 penlabels(range 1 thru 8);
1285 endchar;
1286
1287 beginchar(CYR_pe,9u#+s#,x_height#,0);
1288 italcorr x_height#*sind 18-.8u#;
1289 x1=x2=jut+1/2stem+s;
1290 x3=x4=w-x1; x5=x1d; x6=x3c;
1291 y1c=y3c=h; y2c=y4c=0;
1292 serif(1,stem,-90,jut,jut);
1293 serif(2,stem,90,jut,jut);
1294 serif(3,stem,-90,jut,jut);
1295 serif(4,stem,90,jut,jut);
1296 fill serif_edge2--reverse serif_edge1--cycle;
1297 fill serif_edge4--reverse serif_edge3--cycle;
1298 penpos5(bar,90); penpos6(bar,90);
1299 y5=y6=y1h; penstroke z5e--z6e;
1300 penlabels(1,2,3,4,5,6);
1301 endchar;
1302
1303 beginchar(CYR_er,8u#+jut#,x_height#,desc_depth#);
1304 italcorr x_height#*sind 18-1.6u#;
1305 penpos1(vair,90);
1306 penpos2(.7o,30);
1307 penpos3(stem,0);
1308 penpos4(.7o,-30);
1309 penpos5(vair,-90);
1310 penpos6(o,-150);
1311 penpos7(curve,-180);
1312 penpos8(o,-210);
1313 x1=x5=jut+.3s+.6(w-jut-2s); y1=0; y5=h;
1314 y3=y7=.5h; x3=1/2stem+s+jut; x7=w-1/2curve-s;
1315 y2=y8=0.1h; y4=y6=0.9h; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
1316 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
1317 x10g=x9g=s; y9c=h; y10c=-desc_depth;
1318 serif(9,stem,-90,jut,0);
1319 serif(10,stem,90,jut,jut);
1320 fill serif_edge10--reverse serif_edge9--cycle;
1321 penlabels(range 1 thru 10);
1322 endchar;
1323
1324 beginchar(CYR_es,8u#,x_height#,0);
1325 italcorr x_height#*sind 18-1.6u#;
1326 penpos1(vair,90);
1327 penpos2(o,30);
1328 penpos3(curve,0);
1329 penpos4(o,-30);
1330 penpos5(vair,-90);
1331 penpos6(.9hair,180);
1332 x1=x5=.5w; y1=0; y5=h;
1333 y3=.5h; x3=1/2curve+s;
1334 y2=0.1h; y4=0.9h; x2=x4=x3+3/8(x5-x3);
1335 x6=w-s-1/2hair; y6=y3-4/5stem;
1336 penstroke z6e{down}..tension1.1..z1e{left}..z2e..z3e..z4e..z5e;
1337 fill z6r..z6l..cycle;
1338 z7=z5;
1339 ur_drop(7,drop_round,7/8(x6l-x1),1.4drop_round,bar);
1340 fill ur_drop_edge7;
1341 %currentpicture := currentpicture shifted(-u,0);
1342 penlabels(range 1 thru 7);
1343 endchar;
1344
1345 beginchar(CYR_te,round (8u#-.5s#),x_height#,0);
1346 italcorr x_height#*sind 18-.7u#;
1347 if .5w = good.x .5w: change_width; fi
1348 x2=x3=.5w; x1e=s; x4e=w-s; y1=y4=y2h;
1349 y2c=h; y3c=0;
1350 serif(2,stem,-90,jut,jut);
1351 serif(3,stem,90,jut,jut);
1352 T_serif(1,bar,4/5border_height,0);
1353 T_serif(4,bar,4/5border_height,1);
1354 fill serif_edge3--reverse serif_edge2--cycle;
1355 fill T_edge1; fill T_edge4;
1356 %currentpicture := currentpicture shifted(-1.4u,0);
1357 penlabels(1,2,3,4);
1358 endchar;
1359
1360 beginchar(CYR_u,9u#+s#,x_height#,desc_depth#);
1361 italcorr x_height#*sind 18-.8u#;
1362 x1l=s+jut; y1l=h-bar;
1363 x3r=w-s-.8jut; y3r=h-bar;
1364 x4=33/60w; y4=-2/5d;
1365 numeric theta[];
1366 theta1 = angle(z4-z1l);
1367 theta2 = angle(z4-z3r);
1368 serif(1,stem,theta1,jut,jut);
1369 A_serif(3,1.2bar,theta2,1.2jut,.8jut);
1370 z2 = z1r+whatever*dir theta1=z3l+whatever*dir theta2;
1371 fill z4--serif_edge1--z2&z2--A_serif_edge3--z4&cycle;
1372 z5r=z4; y6=-d+bar; x6=x4-1.5stem; z7l=z2;
1373 penpos7(1.2bar,theta2+90);
1374 penpos5(1.2bar,theta2+90);
1375 penpos6(1.2bar,-90);
1376 penstroke z7e--z5e{dir theta2}...{left}z6e;
1377 z8=z6;
1378 dl_drop(8,1.1stem,1.3u,drop_round,1.2bar);
1379 fill dl_drop_edge8; fill z8e..z8c..cycle;
1380 %currentpicture := currentpicture shifted(-u,0);
1381 penlabels(range 1 thru 7);
1382 endchar;
1383
1384 beginchar(CYR_ef,12u#,asc_height#,desc_depth#);
1385 italcorr x_height#*sind 18-1.6u#;
1386 if .5w = good.x .5w: change_width; fi
1387 penpos1(vair,90);
1388 penpos2(.7o,30);
1389 penpos3(stem,0);
1390 penpos4(.7o,-30);
1391 penpos5(vair,-90);
1392 penpos6(o,-150);
1393 penpos7(curve,-180);
1394 penpos8(o,-210);
1395 x1=x5=.5w+.4(.5w-s); y1=0; y5=x_height;
1396 y3=y7=y12=.5x_height; x3=.5w; x7=w-1/2curve-s;
1397 y2=y8=y9=y11=0.1x_height; y4=y6=y13=y15=0.9x_height;
1398 x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
1399 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
1400 z16=z3; x14=x10=.5w-.4(.5w-s); y10=0; y14=x_height;
1401 x12=s+1/2curve; x9=x15=x16-3/8(x16-x14); x11=x13=x14-5/8(x14-x12);
1402 penpos10(vair,90);
1403 penpos11(o,30);
1404 penpos12(curve,0);
1405 penpos13(o,-30);
1406 penpos14(vair,-90);
1407 penpos15(.7o,-150);
1408 penpos16(stem,-180);
1409 penpos9(.7o,-210);
1410 penstroke z10e..z11e..z12e..z13e..z14e..z15e..z16e..z9e..cycle;
1411 x99=x155=x3l; x44=x222=x3r; y99=y222=.5x_height-3/2stem; y155=y44=.5x_height+3/2stem;
1412 unfill z99--z155--z44--z222--cycle; penlabels(44,99,155,222);
1413 x20=.5w; y20=-.75d; x17=x30=x3l; x23=x24=x3r; y17=y23=-1/2d;
1414 x18=x19=x17-4/5stem; x21=x22=x23+4/5stem; y18=y22=-d+bar; y19=y21=-d;
1415 y24=y30=x_height+3/5(asc_height-x_height);x25=x22-c; x29=x18+c; y29=y25=h-1/2bar;
1416 y28=y26=h; x28=x29+1/2bar; x26=x25-1/2bar; x27=.5w; y27=h-bar;
1417 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;
1418 %currentpicture := currentpicture shifted(-1.1u,0);
1419 penlabels (range 1 thru 30);
1420 endchar;
1421
1422 beginchar(CYR_ha,9u#+c#,x_height#,0);
1423 italcorr x_height#*sind 18-1.15u#;
1424 y3=y4=bar; x3=w-s-jut-1/2stem; x4=s+jut+1/2bar;
1425 y1=y2=h-bar; x1=s+jut+1/2stem+c; x2=w-s-1.25c-jut-1/2bar;
1426 numeric theta[];
1427 theta1 = angle(z1-z3);
1428 theta2 = angle(z2-z4);
1429 serif(1,stem,theta1-180,jut,jut);
1430 A_serif(2,1.2bar,theta2-180,jut,jut);
1431 serif(3,stem,theta1,jut,jut);
1432 A_serif(4,1.2bar,theta2,jut,1.3jut);
1433 fill serif_edge3--reverse serif_edge1--cycle;
1434 fill A_serif_edge4--reverse A_serif_edge2--cycle;
1435 penlabels(1,2,3,4);
1436 endchar;
1437
1438 beginchar(CYR_tse,9.1u#+s#,x_height#,x_depth#);
1439 italcorr x_height#*sind 18-.9u#;
1440 x1=x2=jut+1/2stem+s;
1441 x3=x4=w-x1-.1u; x5=x1d; x6=x3c;
1442 y1c=y3c=h; y2c=y4c=0;
1443 serif(1,stem,-90,jut,jut);
1444 serif(2,stem,90,jut,jut);
1445 serif(3,stem,-90,jut,jut);
1446 serif(4,stem,90,jut,jut);
1447 fill serif_edge2--reverse serif_edge1--cycle;
1448 fill serif_edge4--reverse serif_edge3--cycle;
1449 penpos5(bar,90); penpos6(bar,90);
1450 y5=y6=y2h; penstroke z5e--z6e;
1451 x7e=w-s; y7=y4h;
1452 T_serif(7,bar,4/5border_height,1);
1453 fill T_edge7;
1454 penlabels(1,2,3,4,5,6,7);
1455 endchar;
1456
1457 beginchar(CYR_che,9u#+s#,x_height#,0);
1458 italcorr x_height#*sind 18-.8u#;
1459 x1=jut+1/2stem+s; x2=x3=w-x1;
1460 y1c=y2c=h; y3c=0; y4=y4r=y4l=30/52h; x4=x1; x4r=x1r; x4l=x1l;
1461 serif(1,stem,-90,jut,jut);
1462 serif(2,stem,-90,jut,jut);
1463 serif(3,stem,90,jut,jut);
1464 fill z4r--reverse serif_edge1--z4l--cycle;
1465 fill serif_edge3--reverse serif_edge2--cycle;
1466 x5=x2l; y5=bar_height-1/2bar; z6=z4;
1467 x5-x7=x7-x4r; y7=y5-.8bar;
1468 penpos6(stem,180);
1469 penpos5(1.2vair,270);
1470 penpos7(1.2vair,270);
1471 penstroke z6e{down}...z7e..z5e;
1472 %currentpicture := currentpicture shifted(-2.15u,0);
1473 penlabels(1,2,3,4,5,6,7);
1474 endchar;
1475
1476 beginchar(CYR_sha,round (13u#+3/2s#),x_height#,0);
1477 italcorr x_height#*sind 18-.8u#;
1478 if .5w = good.x .5w: change_width; fi
1479 x1=x2=jut+1/2stem+s;
1480 y1c=h; y2c=0; x3=x2e; y3=y4=y7=y8=y2h;
1481 x4=x6c; x7=x6d; x8=x9c;
1482 x5=x6=.5w; y5=y1; y6=y2;
1483 y9b=bar; x9h=w-s;
1484 x10=x9; y10b=h-bar;
1485 serif(1,stem,-90,jut,jut);
1486 serif(2,stem,90,jut,jut);
1487 fill serif_edge2--reverse serif_edge1--cycle;
1488 serif(5,stem,-90,jut,jut);
1489 serif(6,stem,90,jut,jut);
1490 fill serif_edge6--reverse serif_edge5--cycle;
1491 serif(9,stem,90,jut,jut);
1492 serif(10,stem,-90,jut,jut);
1493 fill serif_edge9--reverse serif_edge10--cycle;
1494 penpos3(bar,90);
1495 penpos4(bar,90);
1496 penpos7(bar,90);
1497 penpos8(bar,90);
1498 penstroke z3e--z4e;
1499 penstroke z7e--z8e;
1500 penlabels(range 1 thru 10);
1501 endchar;
1502
1503 beginchar(CYR_shcha,13.1u#+3/2s#,x_height#,x_depth#);
1504 italcorr x_height#*sind 18-.9u#;
1505 if .5w <> good.x .5w: change_width; fi
1506 x1=x2=jut+1/2stem+s;
1507 y1c=h; y2c=0; x3=x2e; y3=y4=y7=y8=y2h;
1508 x4=x6c; x7=x6d; x8=x9c;
1509 y9b=bar; x9h=w-s-.1u;
1510 x10=x9; y10b=h-bar;
1511 x11e=w-s; y11=y9h;
1512 serif(9,stem,90,jut,jut);
1513 serif(10,stem,-90,jut,jut);
1514 fill serif_edge9--reverse serif_edge10--cycle;
1515 serif(1,stem,-90,jut,jut);
1516 serif(2,stem,90,jut,jut);
1517 fill serif_edge2--reverse serif_edge1--cycle;
1518 x5=x6=x1+(x10-x1)/2; y5=y1; y6=y2;
1519 serif(5,stem,-90,jut,jut);
1520 serif(6,stem,90,jut,jut);
1521 fill serif_edge6--reverse serif_edge5--cycle;
1522 penpos3(bar,90);
1523 penpos4(bar,90);
1524 penpos7(bar,90);
1525 penpos8(bar,90);
1526 penstroke z3e--z4e;
1527 penstroke z7e--z8e;
1528 T_serif(11,bar,4/5border_height,1);
1529 fill T_edge11;
1530 penlabels(range 1 thru 10);
1531 endchar;
1532
1533 beginchar(CYR_hard_sign,10u#-s#,x_height#,0);
1534 x2r=x5-sss_width; x1=x2;
1535 x7=x1d; y1c=h; y2c=0;
1536 y3=y4=bar_height; x3=x2r; x4=x6=x3+2.5u-stem;
1537 y4-y5=y5-y6; x5=w-1/2curve-s;
1538 y6=y7=y2h; x8e=0; y8g=h;
1539 serif(1,stem,-90,jut,jut);
1540 serif(2,stem,90,jut,jut);
1541 T_serif(8,bar,4/5border_height,0);
1542 fill T_edge8;
1543 fill serif_edge2--reverse serif_edge1--cycle;
1544 penpos3(bar,90);
1545 penpos4(bar,90);
1546 penpos5(curve,0);
1547 penpos6(bar,-90);
1548 penpos7(bar,-90);
1549 penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e;
1550 x9=c; y9=y10=h; x10=-.2c;
1551 unfill z8d{up}..z9--z10--cycle;
1552 %currentpicture := currentpicture shifted(-.8u,0);
1553 penlabels(range 1 thru 8);
1554 endchar;
1555
1556 beginchar(CYR_yeru,12u#-c#,x_height#,0);
1557 italcorr x_height#*sind 18-.8u#;
1558 x1=x2=jut+1/2stem+s;
1559 x7=x1d; y1c=h; y2c=0;
1560 y3=y4=bar_height; x3=x2r; x4=x6=x3+2.5u-stem;
1561 y4-y5=y5-y6; x5=x2r+sss_width;
1562 y6=y7=y2h; x8h=x9h=w-s; y8c=h; y9c=0;
1563 serif(1,stem,-90,jut,jut);
1564 serif(2,stem,90,jut,jut);
1565 serif(8,stem,-90,jut,jut);
1566 serif(9,stem,90,jut,jut);
1567 fill serif_edge2--reverse serif_edge1--cycle;
1568 fill serif_edge9--reverse serif_edge8--cycle;
1569 penpos3(bar,90);
1570 penpos4(bar,90);
1571 penpos5(curve,0);
1572 penpos6(bar,-90);
1573 penpos7(bar,-90);
1574 penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e;
1575 penlabels(range 1 thru 9);
1576 endchar;
1577
1578 beginchar(CYR_soft_sign,9u#-s#,x_height#,0);
1579 x1=x2=jut+1/2stem+s;
1580 x7=x1d;
1581 y1c=h; y2c=0;
1582 y3=y4=bar_height; x3=x2r; x4=x6=x3+2.5u-stem;
1583 y4-y5=y5-y6; x5=w-1/2curve-s;
1584 y6=y7=y2h;
1585 serif(1,stem,-90,jut,jut);
1586 serif(2,stem,90,jut,jut);
1587 fill serif_edge2--reverse serif_edge1--cycle;
1588 penpos3(bar,90);
1589 penpos4(bar,90);
1590 penpos5(curve,0);
1591 penpos6(bar,-90);
1592 penpos7(bar,-90);
1593 penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e;
1594 penlabels(1,2,3,4,5,6,7);
1595 endchar;
1596
1597 beginchar(CYR_e,6u#+2s#,x_height#,0);
1598 italcorr x_height#*sind 18-1.4u#;
1599 x1=16/39w; x5=.5w-c; y1=0; y5=h;
1600 y7=.5h; x7=w-1/2curve-s;
1601 x9e=s; y9=0;
1602 dl_drop(9,drop_round,18/39w-s,1.5drop_round,bar);
1603 y2=y5; x2=x5;
1604 S_serif(2,bar,x5-s-c,border_height);
1605 x3=x7-1/2stem; y3=y4=bar_height; x4=x9c-c;
1606 penpos3(bar,90); penpos4(bar,90);
1607 penstroke z3e--z4e; fill z4r..z4l..cycle;
1608 y8=0.1h-c; y6=0.9h+c; x8=x1+5/8(x7-x9)+.1c; x6=x2+5/8(x7-x5);
1609 penpos5(bar,-90);
1610 penpos6(o,-150);
1611 penpos7(curve,-180);
1612 penpos8(o,-210);
1613 penpos1(bar,-270);
1614 penstroke z5e{right}..z6e..{down}z7e{down}..z8e..{left}z1e;
1615 fill S_serif_edge2 reflectedabout(z5r,z5l);
1616 fill dl_drop_edge9;
1617 %currentpicture := currentpicture shifted(-.6u,0);
1618 penlabels(range 1 thru 8);
1619 endchar;
1620
1621 beginchar(CYR_yu,12u#+.5s#,x_height#,0);
1622 italcorr x_height#*sind 18-1.58u#;
1623 x1=x2=jut+1/2stem+s;
1624 y1c=h; y2c=0;
1625 serif(1,stem,-90,jut,jut);
1626 serif(2,stem,90,jut,jut);
1627 fill serif_edge2--reverse serif_edge1--cycle;
1628 penpos9(vair,90);
1629 penpos10(o,30);
1630 penpos3(curve,0);
1631 penpos4(o,-30);
1632 penpos5(vair,-90);
1633 penpos6(o,-150);
1634 penpos7(curve,-180);
1635 penpos8(o,-210);
1636 x3l=x1h+.3bar; y9=0; y5=h;
1637 y3=y7=.5h; x7=w-1/2curve-s; x7-x5=x5-x3; x9=x5;
1638 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);
1639 penstroke z9e..z10e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
1640 x11=x1r; x12=x3-1/3stem; y11=y12=bar_height;
1641 penpos11(bar,90); penpos12(bar,90);
1642 penstroke z11e--z12e;
1643 penlabels(range 1 thru 12);
1644 endchar;
1645
1646 beginchar(CYR_ya,8u#+s#+1/2bar#,x_height#,0);
1647 italcorr x_height#*sind 18-.8u#;
1648 x1=x2=w-jut-1/2stem-s;
1649 x7=x1d; y1c=h; y2c=0;
1650 y3=y4=bar_height; x3=x2l; x4=x6=x3-2.5u+stem;
1651 y5-y4=y6-y5; x5=1/2stem+2s;
1652 y6=y7=y1h; x9=s; y9=0; x4-x8=x8-x9; y4-y8=y8-y9;
1653 serif(1,stem,-90,jut,jut);
1654 serif(2,stem,90,jut,jut);
1655 fill serif_edge2--reverse serif_edge1--cycle;
1656 penpos3(bar,-90);
1657 penpos4(bar,-90);
1658 penpos5(curve,180);
1659 penpos6(bar,90);
1660 penpos7(bar,90);
1661 penpos8(curve,0);
1662 penpos9(bar,-90);
1663 penstroke z3e--z4e{left}..tension.8..z5e..tension.8..{right}z6e--z7e;
1664 penstroke z9e{right}..{up}z8e{up}..{right}z4e;
1665 fill z9r..z9l..cycle;
1666 penlabels(range 1 thru 9);
1667 endchar;
1668
1669 beginchar("A",13u#+s#,cap_height#,0);
1670 z1=(.5w,h+1/13h);
1671 x4l=w-x5r=s+cap_jut; y4l=y5r=slab;
1672 numeric theta[];
1673 theta4=angle(z1-z4l);
1674 theta5=angle(z1-z5r);
1675 A_serif(4,1.3cap_bar,theta4,cap_jut,1.2cap_jut);
1676 serif(5,cap_stem,theta5,cap_jut,cap_jut);
1677 z0=z4r+whatever*dir theta4=z5l+whatever*dir theta5;
1678 fill z1--A_serif_edge4--z0&z0--serif_edge5--z1&cycle;
1679 penpos2(whatever,theta4);
1680 penpos3(whatever,theta5);
1681 y2r=y3r=20/52h;
1682 y2l=y3l=y2r-cap_bar;
1683 z2=whatever[z1,z4r];
1684 z3=whatever[z1,z5l];
1685 penstroke z2e--z3e;
1686 y6=y7=h; z6=whatever[z1,z4l]; z7=whatever[z1,z5e];
1687 unfill z1..z6--z7..z1&cycle;
1688 unfill z1..z6--z7..z1&cycle;
1689 penlabels(range 0 thru 7);
1690 endchar;
1691
1692 beginchar("B",11u#+s#,cap_height#,0);
1693 italcorr cap_height#*sind 18-2.12u#;
1694 x1=x2=cap_jut+1/2cap_stem+s;
1695 x3=x10=x1d; y3=y4=h-1/2slab; x4=x3+u;
1696 y1c=h; y2c=0;
1697 y6=y7=cap_bar_height; x6=x2r; x7=x9=x6+4.5u-cap_stem;
1698 y7-y8=y8-y9; x8=w-1/2cap_curve-s;
1699 y9=y10=y2h;
1700 y4-y5=y5-y7; x5=x8-2/5cap_curve; y77=y7; x77=x4;
1701 serif(1,cap_stem,-90,1/2cap_jut,cap_jut);
1702 serif(2,cap_stem,90,cap_jut,cap_jut);
1703 penpos3(slab,90);
1704 penpos4(slab,90);
1705 penpos5(cap_curve,0);
1706 penpos77(slab,-90);
1707 fill serif_edge2--reverse serif_edge1--cycle;
1708 penpos6(cap_bar,90);
1709 penpos7(cap_bar,90);
1710 penpos8(cap_curve,0);
1711 penpos9(cap_bar,-90);
1712 penpos10(cap_bar,-90);
1713 penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z77e;
1714 penstroke z6e--z7e{right}..tension.8..z8e..tension.8..{left}z9e--z10e;
1715 penlabels(range 1 thru 10,77);
1716 endchar;
1717
1718 beginchar("C",10u#+s#,cap_height#,0);
1719 italcorr cap_height#*sind 18-1.13u#;
1720 x1=x5=23/42w; y1=0; y5=h;
1721 y3=.5h; x3=1/2cap_curve+s;
1722 y2=0.1h-c; y4=0.9h+c; x2=x4=x3+7/16(x1-x3);
1723 penpos1(cap_bar,90);
1724 penpos2(o,30);
1725 penpos3(cap_curve,0);
1726 penpos4(o,-30);
1727 penpos5(cap_bar,-90);
1728 penstroke z1e{left}..z2e..z3e..z4e..{right}z5e;
1729 z6=z5; y7=y1; x7e=w-s; y8=y1; x8=x1-.1w;
1730 S_serif(6,slab,w-s-c-x1,1.5border_height);
1731 S_serif(7,slab,w-s-x1,1.5border_height);
1732 fill S_serif_edge6; fill S_serif_edge7 reflectedabout(z1,z8);
1733 %currentpicture := currentpicture shifted(-1.5u,0);
1734 penlabels(range 1 thru 8);
1735 endchar;
1736
1737 beginchar("D",12u#,cap_height#,0);
1738 italcorr cap_height#*sind 18-2.08u#;
1739 x1=x2=cap_jut+1/2cap_stem+s;
1740 y1c=h; y2c=0;
1741 serif(1,cap_stem,-90,cap_jut,cap_jut);
1742 serif(2,cap_stem,90,cap_jut,cap_jut);
1743 fill serif_edge2--reverse serif_edge1--cycle;
1744 penpos3(cap_bar,90);
1745 penpos4(cap_bar,90);
1746 penpos5(o,30);
1747 penpos6(cap_curve,0);
1748 penpos7(o,-30);
1749 penpos8(cap_bar,-90);
1750 penpos9(cap_bar,-90);
1751 x3=x9=x1d;
1752 x8=x4=.5w; y8=y9=1/2cap_bar; y4=y3=h-1/2cap_bar;
1753 y6=.5h; x6=w-1/2cap_curve-s;
1754 y7=0.1h-c+1/2cap_bar; y5=0.9h+c-1/2cap_bar; x5=x7=x4+4.5/8(x6-x4);
1755 penstroke z3e--z4e{right}..z5e..z6e..z7e..{left}z8e--z9e;
1756 penlabels(range 1 thru 10,77);
1757 endchar;
1758
1759 beginchar("E",10u#+s#,cap_height#,0);
1760 italcorr cap_height#*sind 18-1.19u#;
1761 x1=x2=cap_jut+1/2cap_stem+s;
1762 y4=y3=h-1/2slab; x4=x1d;
1763 y1c=h; y2c=0;
1764 y5=y3; x5e=w-s-c;
1765 y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u;
1766 T_serif(5,slab,border_height,1);
1767 serif(1,cap_stem,-90,cap_jut,cap_jut);
1768 serif(2,cap_stem,90,cap_jut,cap_jut);
1769 fill serif_edge2--reverse serif_edge1--cycle;
1770 x3=x5a;
1771 penpos3(cap_bar,-90);
1772 penpos4(cap_bar,-90);
1773 penstroke z3e--z4e;
1774 fill T_edge5;
1775 penpos6(cap_bar,90);
1776 penpos7(cap_bar,90);
1777 penstroke z6e--z7e;
1778 T_serif(8,cap_bar,.8border_height,1);
1779 fill T_edge8;
1780 fill T_edge8 reflectedabout(z6,z7);
1781 y9=y10=y11=y2h; x9=x2d; x11e=w-s;
1782 T_serif(11,cap_bar,border_height,1); x10=x11;
1783 penpos9(cap_bar,90);
1784 penpos10(cap_bar,90);
1785 penstroke z9e--z10e;
1786 fill T_edge11 reflectedabout(z9,z10);
1787 penlabels(range 1 thru 11);
1788 endchar;
1789
1790 beginchar("F",10u#+.5s#,cap_height#,0);
1791 italcorr cap_height#*sind 18-.84u#;
1792 x1=x2=cap_jut+1/2cap_stem+s;
1793 y4=y3=h-1/2slab; x4=x1d;
1794 y1c=h; y2c=0;
1795 y5=y3; x5e=w-s;
1796 y6=y7=y8=cap_bar_height;x6=x1r; x7=x8=x6+u;
1797 T_serif(5,slab,border_height,1);
1798 serif(1,cap_stem,-90,cap_jut,cap_jut);
1799 serif(2,cap_stem,90,cap_jut,cap_jut);
1800 fill serif_edge2--reverse serif_edge1--cycle;
1801 x3=x5a;
1802 penpos3(cap_bar,-90);
1803 penpos4(cap_bar,-90);
1804 penstroke z3e--z4e;
1805 fill T_edge5;
1806 penpos6(cap_bar,90);
1807 penpos7(cap_bar,90);
1808 penstroke z6e--z7e;
1809 T_serif(8,cap_bar,.8border_height,1);
1810 fill T_edge8;
1811 fill T_edge8 reflectedabout(z6,z7);
1812 penlabels(range 1 thru 8);
1813 endchar;
1814
1815 beginchar("G",10u#+cap_jut#+c#+s#,cap_height#,0);
1816 italcorr cap_height#*sind 18-2.8u#;
1817 x1=x5=23/42(w-cap_jut-c); y1=0; y5=h;
1818 y3=.5h; x3=1/2cap_curve+s;
1819 y2=0.1h-c; y4=0.9h+c; x2=x4=x3+7/16(x1-x3);
1820 penpos1(cap_bar,90);
1821 penpos2(o,30);
1822 penpos3(cap_curve,0);
1823 penpos4(o,-30);
1824 penpos5(cap_bar,-90);
1825 penstroke z1e{left}..z2e..z3e..z4e..{right}z5e;
1826 z6=z5; y7=y1; x7e=w-s-cap_jut-c; y8=y1; x8=x1-.1(w-cap_jut-c);
1827 S_serif(6,slab,w-s-2c-x1-cap_jut,1.5border_height);
1828 S_serif(7,slab,w-s-x1-cap_jut+c,7/4border_height);
1829 fill S_serif_edge6; fill S_serif_edge7 reflectedabout(z1,z8);
1830 x9r=x7e; y9r=7/4border_height-1/2cap_bar;
1831 serif(9,cap_stem,-90,cap_jut,cap_jut);
1832 x10=x9l; x11=x9r; y10=y11=3/4cap_bar;
1833 fill reverse serif_edge9--z10--z11--cycle;
1834 %currentpicture := currentpicture shifted(-1.3u,0);
1835 penlabels(range 1 thru 8);
1836 endchar;
1837
1838 beginchar("H",12u#+s#,cap_height#,0);
1839 italcorr cap_height#*sind 18-.84u#;
1840 x1=x2=cap_jut+1/2cap_stem+s;
1841 x3=x4=w-x1; x5=x1r; x6=x3l;
1842 y1c=y3c=h; y2c=y4c=0;
1843 serif(1,cap_stem,-90,cap_jut,cap_jut);
1844 serif(2,cap_stem,90,cap_jut,cap_jut);
1845 serif(3,cap_stem,-90,cap_jut,cap_jut);
1846 serif(4,cap_stem,90,cap_jut,cap_jut);
1847 fill serif_edge2--reverse serif_edge1--cycle;
1848 fill serif_edge4--reverse serif_edge3--cycle;
1849 penpos5(cap_bar,90); penpos6(cap_bar,90);
1850 y5=y6=cap_bar_height; penstroke z5e--z6e;
1851 penlabels(1,2,3,4,5,6);
1852 endchar;
1853
1854 beginchar("I",2cap_jut#+cap_stem#+2s#,cap_height#,0);
1855 italcorr cap_height#*sind 18-.82u#;
1856 x1=x2=cap_jut+1/2cap_stem+s;
1857 y1c=h; y2c=0;
1858 serif(1,cap_stem,-90,cap_jut,cap_jut);
1859 serif(2,cap_stem,90,cap_jut,cap_jut);
1860 fill serif_edge2--reverse serif_edge1--cycle;
1861 endchar;
1862
1863 beginchar("J",7u#+s#,cap_height#,0);
1864 italcorr cap_height#*sind 18-.85u#;
1865 x1=x4=w-cap_jut-1/2cap_stem-s;
1866 y1c=h; y2=y3=y4=13/53h; x2=x1r; x3=x1l;
1867 y5=0; x5=x3-2/3cap_stem;
1868 serif(1,cap_stem,-90,1.2cap_jut,cap_jut);
1869 fill z3--z2--reverse serif_edge1--cycle;
1870 penpos4(cap_stem,0);
1871 penpos5(cap_bar,-90);
1872 penstroke z4e{down}..{left}z5e;
1873 x6e=s; y6=0;
1874 dl_drop(6,cap_drop_round,x5-s,1.3drop_round,cap_bar);
1875 fill dl_drop_edge6;
1876 %currentpicture := currentpicture shifted(-.4u,0);
1877 penlabels(1,2,3,4,5,6);
1878 endchar;
1879
1880 beginchar("K",13u#-c#,cap_height#,0);
1881 italcorr cap_height#*sind 18-1.84u#;
1882 x1=x2=cap_jut+1/2cap_stem+s;
1883 y1c=h; y2c=0;
1884 serif(1,cap_stem,-90,cap_jut,cap_jut);
1885 serif(2,cap_stem,90,cap_jut,cap_jut);
1886 fill serif_edge2--reverse serif_edge1--cycle;
1887 y7=cap_bar_height; x3l=w-cap_jut-.5cap_jut-cap_bar-s; y3l=h-cap_bar;
1888 x5=x6=x1r; y5=cap_bar_height-cap_bar; y6=y5-1.2cap_bar;
1889 numeric theta[];
1890 theta1=angle(z5-z3l);
1891 A_serif(3,cap_bar,theta1,1.5cap_jut,.6cap_jut);
1892 x4l=w-s-1.2cap_jut-cap_stem; y4l=cap_bar;
1893 z7=z3r+whatever*dir theta1;
1894 theta2=angle(z7-z4l);
1895 serif(4,cap_stem,theta2,.8cap_jut,cap_jut);
1896 z8=z3r+whatever*dir theta1=z4r+whatever*dir theta2;
1897 fill z5--z6--z7--serif_edge4--z8--reverse A_serif_edge3--cycle;
1898 penlabels(range 1 thru 8);
1899 endchar;
1900
1901 beginchar("L",10u#+c#,cap_height#,0);
1902 x1=x2=cap_jut+1/2cap_stem+s;
1903 y1c=h; y2c=0;
1904 serif(1,cap_stem,-90,cap_jut,cap_jut);
1905 serif(2,cap_stem,90,cap_jut,cap_jut);
1906 fill serif_edge2--reverse serif_edge1--cycle;
1907 y3=y4=y5=y2h; x3=x2d; x5e=w-s;
1908 T_serif(5,cap_bar,border_height,1); x4=x5;
1909 penpos3(cap_bar,90);
1910 penpos4(cap_bar,90);
1911 penstroke z3e--z4e;
1912 fill T_edge5 reflectedabout(z3,z4);
1913 penlabels(1,2,3,4,5);
1914 endchar;
1915
1916 beginchar("M",13u#,cap_height#,0);
1917 italcorr cap_height#*sind 18-.84u#;
1918 x1g=s; y1c=0; y2=h-cap_bar;
1919 A_serif(1,cap_bar,90,jut,jut);
1920 x2=x1; serif(2,cap_bar,-90,jut,jut);
1921 fill A_serif_edge1--reverse serif_edge2--cycle;
1922 x3h=x4h=w-s; y3g=h-1/2cap_bar; y4c=0;
1923 serif(3,cap_stem,-90,1/2cap_bar, jut);
1924 serif(4,cap_stem,90,jut,jut);
1925 fill serif_edge4--reverse serif_edge3--cycle;
1926 z5l=z3g; penpos5(bar,0); penpos6(bar,0);
1927 z6=z5+whatever*dir -108; y6=0;
1928 penstroke z5e--z6e;
1929 z7l=z6l+whatever*dir 110; y7l=11/54h;
1930 z8l=whatever[z6l,z7l]; y8l=h;
1931 penpos7(cap_stem,0); penpos8(cap_stem,0);
1932 penstroke z7e--z8e; fill z6l--z7l--z7r--cycle;
1933 fill z6l..tension1.3..z6r..tension1.3..cycle;
1934 penlabels(range 1 thru 8);
1935 endchar;
1936
1937 beginchar("N",12u#,cap_height#,0);
1938 italcorr cap_height#*sind 18-.84u#;
1939 x1=x2=cap_jut+1/2cap_bar+s;
1940 x3=w-x1; y1c=y3c=h; y2c=y4=y5=0;
1941 x4=x3r; x5=x3l;
1942 serif(1,cap_bar,-90,cap_jut,1.3cap_jut);
1943 A_serif(2,cap_bar,90,cap_jut,cap_jut);
1944 A_serif(3,cap_bar,-90,cap_jut,cap_jut);
1945 fill A_serif_edge2--reverse serif_edge1--cycle;
1946 numeric theta[]; y7=y1h; x7=x1h-1.1cap_stem;
1947 theta1=angle(z5-z7);
1948 z6=z3l+whatever*dir -90=z1h+whatever*dir theta1;
1949 fill z6--z1h--z7--z5{down}..{up}z4--reverse A_serif_edge3--cycle;
1950 unfill z1b--z1l--z1a--cycle;
1951 penlabels(1,2,3,4,5,6,7);
1952 endchar;
1953
1954 beginchar("O",11u#+s#,cap_height#,0);
1955 italcorr cap_height#*sind 18-2u#;
1956 penpos1(vair,90);
1957 penpos2(o,30);
1958 penpos3(cap_curve,0);
1959 penpos4(o,-30);
1960 penpos5(vair,-90);
1961 penpos6(o,-150);
1962 penpos7(cap_curve,-180);
1963 penpos8(o,-210);
1964 x1=x5=.5w; y1=0; y5=h;
1965 y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s;
1966 y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5);
1967 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
1968 %currentpicture := currentpicture shifted(-1.6u,0);
1969 penlabels(range 1 thru 8);
1970 endchar;
1971
1972 beginchar("P",10u#+s#,cap_height#,0);
1973 italcorr cap_height#*sind 18-1.5u#;
1974 x1=x2=x3=cap_jut+1/2cap_stem+s;
1975 y3=y4=cap_bar2_height; y7=y6=h-1/2slab; x7=x3+c;
1976 y1c=h; y2c=0; x6=x4=x3+3u;
1977 y5-y4=y6-y5; x5=w-1/2cap_curve-s;
1978 serif(1,cap_stem,-90,cap_jut,cap_jut);
1979 serif(2,cap_stem,90,cap_jut,cap_jut);
1980 fill serif_edge2--reverse serif_edge1--cycle;
1981 penpos3(cap_bar,-90);
1982 penpos4(cap_bar,-90);
1983 penpos5(cap_curve,0);
1984 penpos7(cap_bar,90);
1985 penpos6(cap_bar,90);
1986 penstroke z3e--z4e{right}..tension.8..z5e..tension.8..{left}z6e--z7e;
1987 penlabels(1,2,3,4,5,6,7);
1988 endchar;
1989
1990 beginchar("Q",11u#+s#,cap_height#,comma_depth#);
1991 italcorr cap_height#*sind 18-2u#;
1992 penpos1(vair,90);
1993 penpos2(o,30);
1994 penpos3(cap_curve,0);
1995 penpos4(o,-30);
1996 penpos5(vair,-90);
1997 penpos6(o,-150);
1998 penpos7(cap_curve,-180);
1999 penpos8(o,-210);
2000 x1=x5=.5w; y1=0; y5=h;
2001 y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s;
2002 y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5);
2003 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2004 x11=x12-1.5c; x12=x7l-c; y11=y12=-comma_depth;
2005 y9=0; x9=x1-c; y9-y10=y10-y11; x11-x10=x10-x9;
2006 penpos9(cap_bar,90); penpos10(cap_curve,0);
2007 penpos11(cap_bar,90); penpos12(cap_bar,90);
2008 penstroke z9e{dir -20}..tension.8..z10e..tension.8..{right}z11e--z12e;
2009 fill z12r..z12l..cycle;
2010 %currentpicture := currentpicture shifted(-1.6u,0);
2011 penlabels(range 1 thru 12);
2012 endchar;
2013
2014 beginchar("R",11u#+s#,cap_height#,0);
2015 italcorr cap_height#*sind 18-3.04u#;
2016 x1=x2=cap_jut+1/2cap_stem+s;
2017 y6=y10=y7=cap_bar_height; y3=y4=h-1/2slab; x7=x2r;
2018 y1c=h; y2c=0; x6=x4=x7+2.5u; x3=x1d;
2019 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);
2020 serif(1,cap_stem,-90,cap_jut,cap_jut);
2021 serif(2,cap_stem,90,cap_jut,cap_jut);
2022 fill serif_edge2--reverse serif_edge1--cycle;
2023 penpos3(cap_bar,90);
2024 penpos4(cap_bar,90);
2025 penpos5(cap_curve,0);
2026 penpos7(cap_bar,-90);
2027 penpos6(cap_bar,-90);
2028 penpos8(cap_curve,-180);
2029 penpos9(cap_bar,-90);
2030 penpos10(cap_bar,-90);
2031 penstroke z3e--z4e{right}..tension.9..z5e..tension.9..{left}z6e--z7e;
2032 penstroke z9e{left}..tension.8..{up}z8e{up}..tension.8..{left}z10e;
2033 fill z9l..z9r..cycle;
2034 penlabels(range 1 thru 10);
2035 endchar;
2036
2037 beginchar("S",9u#+s#,cap_height#,0);
2038 italcorr cap_height#*sind 18-1.7u#;
2039 x6=x7=1/2w; y6=y7=0;
2040 S_serif(7,cap_bar,x6-s,1.5border_height);
2041 y5=11/53h; x5=w-s-1/2(1.9hair);
2042 y4=28/53h; x4=18/38w; y3=42/53h; x3=s+c+1/2(1.9cap_bar);
2043 x2=.5w-c; y2=h; z1=z2;
2044 penpos6(cap_bar,-90);
2045 penpos5(1.9hair,0);
2046 penpos4(1.1cap_curve,90);
2047 penpos3(1.9hair,0);
2048 penpos2(cap_bar,-90);
2049 penstroke z6e{right}..tension.9..z5e..tension.9..z4e..tension.9..z3e..tension.9..{right}z2e;
2050 fill S_serif_edge7 rotatedaround(z6,180);
2051 S_serif(1,cap_bar,x5-x2-cap_bar,1.2border_height);
2052 fill S_serif_edge1;
2053 penlabels(1,2,3,4,5,6,7);
2054 endchar;
2055
2056 beginchar("T",round (11u#+s#),cap_height#,0);
2057 italcorr cap_height#*sind 18-.84u#;
2058 x1=x2=.5w; 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.9u,0);
2073 penlabels(range 1 thru 8);
2074 endchar;
2075
2076 beginchar("U",12u#+s#,cap_height#,0);
2077 italcorr cap_height#*sind 18-.8u#;
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.1u,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-.84u#;
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.3u,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-.84u#;
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.3u,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-.84u#;
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.3u,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-.84u#;
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 penlabels(range 1 thru 9,66);
2218 endchar;
2219
2220 beginchar("b",8u#+jut#,asc_height#,0);
2221 italcorr asc_height#*sind 18-2.77u#;
2222 penpos1(vair,90);
2223 penpos2(.7o,30);
2224 penpos3(stem,0);
2225 penpos4(.7o,-30);
2226 penpos5(vair,-90);
2227 penpos6(o,-150);
2228 penpos7(curve,-180);
2229 penpos8(o,-210);
2230 x1=x5=jut+.3s+.6(w-jut-2s); y1=0; y5=x_height;
2231 y3=y7=.5x_height; x3=1/2stem+s+jut; x7=w-1/2curve-s;
2232 y2=y8=0.1x_height; y4=y6=0.9x_height; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
2233 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2234 x10g=x9g=s; y9c=h; y10c=0;
2235 serif(9,stem,-90,jut,0);
2236 serif(10,stem,90,jut,0);
2237 fill serif_edge10--reverse serif_edge9--cycle;
2238 penlabels(range 1 thru 10);
2239 endchar;
2240
2241 beginchar("c",8u#,x_height#,0);
2242 italcorr x_height#*sind 18-1.6u#;
2243 penpos1(vair,90);
2244 penpos2(o,30);
2245 penpos3(curve,0);
2246 penpos4(o,-30);
2247 penpos5(vair,-90);
2248 penpos6(.9hair,180);
2249 x1=x5=.5w; y1=0; y5=h;
2250 y3=.5h; x3=1/2curve+s;
2251 y2=0.1h; y4=0.9h; x2=x4=x3+3/8(x5-x3);
2252 x6=w-s-1/2hair; y6=y3-4/5stem;
2253 penstroke z6e{down}..tension1.1..z1e{left}..z2e..z3e..z4e..z5e;
2254 fill z6r..z6l..cycle;
2255 z7=z5;
2256 ur_drop(7,drop_round,7/8(x6l-x1),1.4drop_round,bar);
2257 fill ur_drop_edge7;
2258 %currentpicture := currentpicture shifted(-u,0);
2259 penlabels(1,2,3,4,5,6,7);
2260 endchar;
2261
2262 beginchar("d",8u#+jut#,asc_height#,0);
2263 italcorr asc_height#*sind 18-1.75u#;
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.7s+.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.57u#;
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.2u,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.15u#;
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-1.07u#;
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.08u#;
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-.99u#;
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 w:=w+1; italcorr asc_height#*sind 18-2.22u#;
2407 x1=x2=jut+1/2stem+s;
2408 y1c=h; y2c=0;
2409 serif(1,stem,-90,jut,0);
2410 serif(2,stem,90,jut,jut);
2411 fill serif_edge2--reverse serif_edge1--cycle;
2412 y7=bar_height; x3l=w-jut-.7jut-s; y3l=x_height-bar;
2413 x5=x6=x1r; y5=bar_height-bar;
2414 numeric theta[];
2415 theta1=angle(z5-z3l);
2416 y6=y5-1.2bar/cosd (theta1+180);
2417 A_serif(3,bar,theta1,1.8jut,.8jut);
2418 x4l=w-s-1.2jut-stem; y4l=bar;
2419 z7=z3r+whatever*dir theta1;
2420 theta2=angle(z7-z4l);
2421 serif(4,stem,theta2,.8jut,jut);
2422 z8=z3r+whatever*dir theta1=z4r+whatever*dir theta2;
2423 fill z5--z6--z7--serif_edge4--z8--reverse A_serif_edge3--cycle;
2424 penlabels(range 1 thru 8);
2425 endchar;
2426
2427 beginchar("l",2.4jut#+stem#+2s#,asc_height#,0);
2428 italcorr asc_height#*sind 18-1.92u#;
2429 x1g=x2g=s; y1c=h; y2c=0;
2430 serif(1,stem,-90,1.2jut,0);
2431 serif(2,stem,90,1.2jut,1.2jut);
2432 fill serif_edge2--reverse serif_edge1--cycle;
2433 penlabels(1,2);
2434 endchar;
2435
2436 beginchar("m",14u#,x_height#,0);
2437 if .5w = good.x .5w: change_width; fi
2438 x1g=x2g=s; y1c=h; y2c=0;
2439 serif(1,stem,-90,jut,0);
2440 serif(2,stem,90,jut,jut);
2441 fill serif_edge2--reverse serif_edge1--cycle;
2442 x6=.5w; y6c=0;
2443 serif(6,stem,90,jut,jut);
2444 x5=x6; y5=23/33h;
2445 penpos5(stem,0);
2446 fill serif_edge6--z5r--z5l--cycle;
2447 x4=x6g; y4=h; y3=y5-1/4bar; x3l=x2r;
2448 penpos4(vair,90);
2449 penpos3(bar,180);
2450 penstroke z5e{up}..{left}z4e{left}..z3e;
2451 x10h=w-s; y10c=0;
2452 serif(10,stem,90,jut,jut);
2453 x9=x10; y9=y5;
2454 penpos9(stem,0);
2455 fill serif_edge10--z9r--z9l--cycle;
2456 x8=x10g; y8=h; y7=y9-1/4bar; x7l=x6r;
2457 penpos8(vair,90);
2458 penpos7(bar,180);
2459 penstroke z9e{up}..{left}z8e{left}..z7e;
2460 penlabels(range 1 thru 10);
2461 endchar;
2462
2463 beginchar("n",round (10u#-1.5c#),x_height#,0);
2464 w:=w+1;
2465 x1g=x2g=s; y1c=h; y2c=0;
2466 serif(1,stem,-90,jut,0);
2467 serif(2,stem,90,jut,jut);
2468 fill serif_edge2--reverse serif_edge1--cycle;
2469 x6h=w-s; y6c=0;
2470 serif(6,stem,90,jut,jut);
2471 x5=x6; y5=23/33h;
2472 penpos5(stem,0);
2473 fill serif_edge6--z5r--z5l--cycle;
2474 x4=x6g; y4=h; y3=y5-1/4bar; x3l=x2r;
2475 penpos4(vair,90);
2476 penpos3(bar,180);
2477 penstroke z5e{up}..{left}z4e{left}..z3e;
2478 penlabels(range 1 thru 10);
2479 endchar;
2480
2481 beginchar("o",8u#+s#,x_height#,0);
2482 italcorr x_height#*sind 18-1.6u#;
2483 penpos1(vair,90);
2484 penpos2(o,30);
2485 penpos3(curve,0);
2486 penpos4(o,-30);
2487 penpos5(vair,-90);
2488 penpos6(o,-150);
2489 penpos7(curve,-180);
2490 penpos8(o,-210);
2491 x1=x5=.5w; y1=0; y5=h;
2492 y3=y7=.5h; x3=1/2curve+s; x7=w-1/2curve-s;
2493 y2=y8=0.1h; y4=y6=0.9h; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
2494 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2495 %currentpicture := currentpicture shifted(-1.1u,0);
2496 penlabels(range 1 thru 8);
2497 endchar;
2498
2499 beginchar("p",8u#+jut#,x_height#,desc_depth#);
2500 italcorr x_height#*sind 18-1.6u#;
2501 penpos1(vair,90);
2502 penpos2(.7o,30);
2503 penpos3(stem,0);
2504 penpos4(.7o,-30);
2505 penpos5(vair,-90);
2506 penpos6(o,-150);
2507 penpos7(curve,-180);
2508 penpos8(o,-210);
2509 x1=x5=jut+.3s+.6(w-jut-2s); y1=0; y5=h;
2510 y3=y7=.5h; x3=1/2stem+s+jut; x7=w-1/2curve-s;
2511 y2=y8=0.1h; y4=y6=0.9h; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
2512 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2513 x10g=x9g=s; y9c=h; y10c=-desc_depth;
2514 serif(9,stem,-90,jut,0);
2515 serif(10,stem,90,jut,jut);
2516 fill serif_edge10--reverse serif_edge9--cycle;
2517 penlabels(range 1 thru 10);
2518 endchar;
2519
2520 beginchar("q",8u#+jut#,x_height#,desc_depth#);
2521 italcorr x_height#*sind 18-.8u#;
2522 penpos1(vair,90);
2523 penpos2(o,30);
2524 penpos3(curve,0);
2525 penpos4(o,-30);
2526 penpos5(vair,-90);
2527 penpos6(.7o,-150);
2528 penpos7(stem,-180);
2529 penpos8(.7o,-210);
2530 x1=x5=1.7s+.4(w-jut-2s); y1=0; y5=h;
2531 y3=y7=.5h; x3=1/2curve+s; x7=w-1/2stem-s-jut;
2532 y2=y8=0.1h; y4=y6=0.9h; x2=x4=x3+3/8(x5-x3); x6=x8=x5+5/8(x7-x5);
2533 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2534 x10h=w-s; x9=x10; y9c=h; y10c=-d;
2535 serif(9,stem,-90,0,jut);
2536 serif(10,stem,90,jut,jut);
2537 fill serif_edge10--reverse serif_edge9--cycle;
2538 %currentpicture := currentpicture shifted(-.9u,0);
2539 penlabels(range 1 thru 10);
2540 endchar;
2541
2542 beginchar("r",7u#+c#,x_height#,0);
2543 italcorr x_height#*sind 18-1.05u#;
2544 x1g=x2g=s; y1c=h; y2c=0;
2545 serif(1,stem,-90,jut,0);
2546 serif(2,stem,90,jut,1.2jut);
2547 fill serif_edge2--reverse serif_edge1--cycle;
2548 x4=round (x2h+1/2bar+c); y4=h; y3=23/33h-1/4bar; x3l=x2r;
2549 penpos4(bar,90);
2550 penpos3(bar,180);
2551 penstroke z4e{left}...{down}z3e;
2552 x5e=w-s; y5=h;
2553 ur_drop(5,1.1stem,x5e-x4,drop_round,bar);
2554 fill ur_drop_edge5;
2555 penlabels(range 1 thru 5);
2556 endchar;
2557
2558 beginchar("s",7u#+c#,x_height#,0);
2559 italcorr x_height#*sind 18-1.28u#;
2560 x6=x7=1/2w; y6=y7=1/2bar;
2561 S_serif(7,bar,x6-s,border_height);
2562 y5=11/53h; x5=w-s-1/2(1.4hair);
2563 y4=29/53h; x4=18/38w; y3=42/53h; x3=s+c+1/2hair;
2564 x2=.5w; y2=h; z1=z2;
2565 penpos6(bar,-90);
2566 penpos5(1.4hair,0);
2567 penpos4(1.1curve,90);
2568 penpos3(1.4hair,0);
2569 penpos2(bar,-90);
2570 penstroke z6e{right}..tension.9..z5e..tension1..z4e..tension.9..z3e..tension.9..{right}z2e;
2571 fill S_serif_edge7 rotatedaround(z6,180);
2572 S_serif(1,cap_bar,x5-x2-1/3bar,.9border_height);
2573 fill S_serif_edge1;
2574 penlabels(range 1 thru 8);
2575 endchar;
2576
2577 beginchar("t",7u#-s#,asc_height#,0);
2578 italcorr x_height#*sind 18-1.7u#;
2579 y1=y2=46/53h; y4c=x_height; x4g=s;
2580 serif(4,stem,-90,jut,1.4jut);
2581 x1=x4r; x2=x1-bar;
2582 y5=7/33x_height; x5=x4; x3=x4l; y3=42/53h;
2583 penpos5(stem,180); numeric theta[];
2584 theta1=angle(z3-z2);
2585 fill z5l--reverse serif_edge4--z5r--cycle;
2586 fill z4r--z1{up}..{dir theta1}z2--z3--z4l--cycle;
2587 y6=1/4bar; x6=x4r+.7jut; x7=w-s-1/2bar; y7=13/53h;
2588 penpos6(vair,270); penpos7(hair,360);
2589 penstroke z5e{down}..{right}z6e{right}..{up}z7e;
2590 fill z7r..z7l..cycle;
2591 %currentpicture := currentpicture shifted(-u,0);
2592 penlabels(range 1 thru 7);
2593 endchar;
2594
2595 beginchar("u",round (10u#-1.5c#),x_height#,0);
2596 italcorr x_height#*sind 18-1.7u#;
2597 w:=w+1; x2h=w-s; y1c=h; y2c=0; x1=x2;
2598 serif(1,stem,-90,jut,0);
2599 serif(2,stem,90,0,jut);
2600 fill serif_edge2--reverse serif_edge1--cycle;
2601 x6g=s; y6c=h;
2602 serif(6,stem,-90,jut,0);
2603 x5=x6; y5=10/33h;
2604 penpos5(stem,180);
2605 fill serif_edge6--z5l--z5r--cycle;
2606 x4=x6+1/2stem+jut; y4=0; y3=y5+1/4bar; x3l=x2l;
2607 penpos4(vair,270);
2608 penpos3(bar,360);
2609 penstroke z5e{down}..{right}z4e{right}..z3e;
2610 %currentpicture := currentpicture shifted(-1.5u,0);
2611 penlabels(range 1 thru 6);
2612 endchar;
2613
2614 beginchar("v",10u#-1.5c#,x_height#,0);
2615 italcorr x_height#*sind 18-.84u#;
2616 x1l=jut+s; x3r=w-s-jut;
2617 y1l=y3r=h-bar; x4=.5w-1/2bar; x5=.5w+1/2bar;
2618 y4=y5=1/2bar;
2619 numeric theta[];
2620 theta1=angle(z4-z1l);
2621 theta2=angle(z5-z3r);
2622 serif(1,stem,theta1,jut,jut);
2623 A_serif(3,bar,theta2,1.3jut,jut);
2624 z2=z1r+whatever*dir theta1=z3l+whatever*dir theta2;
2625 fill z4{down}..{up}z5--reverse A_serif_edge3--z2--reverse serif_edge1--z4&cycle;
2626 %currentpicture := currentpicture shifted(-2.1u,0);
2627 penlabels(1,2,3,4,5,6,7);
2628 endchar;
2629
2630 beginchar("w",13u#,x_height#,0);
2631 italcorr x_height#*sind 18-.84u#;
2632 x9l=.5w-.3stem; x7r=w-s-jut;
2633 y9l=y7r=y1l=h-bar; x5=x9l+.5(x7r-x9l)-1/2bar; x6=x9l+.5(x7r-x9l)+1/2bar;
2634 y5=y6=y2=y3=1/2bar;
2635 numeric theta[];
2636 theta1=angle(z5-z9l);
2637 theta2=angle(z6-z7r);
2638 serif(9,stem,theta1,jut,jut);
2639 A_serif(7,bar,theta2,1.1jut,jut);
2640 z8=z9r+whatever*dir theta1=z7l+whatever*dir theta2;
2641 x1l=s+jut;
2642 serif(1,stem,theta1,jut,jut);
2643 z2=z1l+whatever*dir theta1; x3=x2+bar;
2644 z4=z3+whatever*dir (theta2-180)=z9l+whatever*dir theta1;
2645 y11=y8; z11=z1r+whatever*dir theta1;
2646 z10=z11+whatever*dir (theta2-180)=z9l+whatever*dir theta1;
2647 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;
2648 %currentpicture := currentpicture shifted(-2.1u,0);
2649 penlabels(range 1 thru 11);
2650 endchar;
2651
2652 beginchar("x",9u#+c#,x_height#,0);
2653 italcorr x_height#*sind 18-1.15u#;
2654 y3=y4=bar; x3=w-s-jut-1/2stem; x4=s+jut+1/2bar;
2655 y1=y2=h-bar; x1=s+jut+1/2stem+c; x2=w-s-1.25c-jut-1/2bar;
2656 numeric theta[];
2657 theta1 = angle(z1-z3);
2658 theta2 = angle(z2-z4);
2659 serif(1,stem,theta1-180,jut,jut);
2660 A_serif(2,1.2bar,theta2-180,jut,jut);
2661 serif(3,stem,theta1,jut,jut);
2662 A_serif(4,1.2bar,theta2,jut,1.3jut);
2663 fill serif_edge3--reverse serif_edge1--cycle;
2664 fill A_serif_edge4--reverse A_serif_edge2--cycle;
2665 penlabels(1,2,3,4);
2666 endchar;
2667
2668 beginchar("y",9u#+s#,x_height#,desc_depth#);
2669 italcorr x_height#*sind 18-.8u#;
2670 x1l=s+jut; y1l=h-bar;
2671 x3r=w-s-.8jut; y3r=h-bar;
2672 x4=33/60w; y4=-2/5d;
2673 numeric theta[];
2674 theta1 = angle(z4-z1l);
2675 theta2 = angle(z4-z3r);
2676 serif(1,stem,theta1,jut,jut);
2677 A_serif(3,1.2bar,theta2,1.2jut,.8jut);
2678 z2 = z1r+whatever*dir theta1=z3l+whatever*dir theta2;
2679 fill z4--serif_edge1--z2&z2--A_serif_edge3--z4&cycle;
2680 z5r=z4; y6=-d+bar; x6=x4-1.5stem; z7l=z2;
2681 penpos7(1.2bar,theta2+90);
2682 penpos5(1.2bar,theta2+90);
2683 penpos6(1.2bar,-90);
2684 penstroke z7e--z5e{dir theta2}...{left}z6e;
2685 z8=z6;
2686 dl_drop(8,1.1stem,1.3u,drop_round,1.2bar);
2687 fill dl_drop_edge8; fill z8e..z8c..cycle;
2688 %currentpicture := currentpicture shifted(-u,0);
2689 penlabels(range 1 thru 8);
2690 endchar;
2691
2692 beginchar("z",7u#+c#,x_height#,0);
2693 italcorr x_height#*sind 18-.8u#;
2694 x6=s+1/2bar; y6=y7=y8=1/2bar;
2695 x8e=w-s; x7=x8;
2696 T_serif(8,bar,.8border_height,1);
2697 penpos6(bar,90);
2698 penpos7(bar,90);
2699 penstroke z6e--z7e; fill z6r..z6l..cycle;
2700 fill T_edge8 reflectedabout(z6,z7);
2701 x9=w-s-.5c; y9=y10=0; x10=w-s; z11=z8d reflectedabout(z6,z7);
2702 unfill z11{down}..z9--z10--cycle;
2703 y5l=y6r; x5l=x6r-1/4bar;
2704 x4r=w-s-1/4bar; y4=h-bar;
2705 penpos4(stem,0);
2706 penpos5(stem,0);
2707 penstroke z4e--z5e;
2708 y3=y2=y1=h-1/2bar;
2709 x3=w-s-1/2bar; x1e=s+c;
2710 T_serif(1,bar,.8border_height,0);
2711 x2=x1;
2712 penpos3(bar,90);
2713 penpos2(bar,90);
2714 penstroke z2e--z3e; fill z3l..z3r..cycle;
2715 fill T_edge1;
2716 x12=x1e; y12=y13=h; x13=x1e+.5c;
2717 unfill z1d{up}..z13--z12--cycle;
2718 penlabels(range 1 thru 13);
2719 endchar;
2720
2721 beginchar(hex"30",9u#+s#,cap_height#,0);
2722 italcorr cap_height#*sind 18-1.9u#;
2723 penpos1(vair,90);
2724 penpos2(o,30);
2725 penpos3(cap_curve,0);
2726 penpos4(o,-30);
2727 penpos5(vair,-90);
2728 penpos6(o,-150);
2729 penpos7(cap_curve,-180);
2730 penpos8(o,-210);
2731 x1=x5=.5w; y1=0; y5=h;
2732 y3=y7=.5h; x3=1/2cap_curve+s; x7=w-1/2cap_curve-s;
2733 y2=y8=0.1h-c; y4=y6=0.9h+c; x2=x4=x3+7/16(x5-x3); x6=x8=x5+9/16(x7-x5);
2734 penstroke z1e..z2e..z3e..z4e..z5e..z6e..z7e..z8e..cycle;
2735 %currentpicture := currentpicture shifted(-1.3u,0);
2736 penlabels(1,2,3,4,5,6,7,8);
2737 endchar;
2738
2739 beginchar(hex"31",6u#+3/2c#,cap_height#,0);
2740 italcorr cap_height#*sind 18-2.03u#;
2741 y1c=0; x1h=w-s;
2742 serif(1,cap_stem,90,cap_jut,cap_jut);
2743 x6=x1f; y5=y6=h; x5=x1; x2=x1a; y2=42/53h;
2744 penpos4(1.1cap_bar,theta1+45);
2745 penpos3(1.1cap_bar,theta1+45);
2746 x4l=s; y4=30/53h; numeric theta[]; theta1=angle(z5-z4l);
2747 z3l=z5; penstroke z3e--z4e; fill z4l..z4r..cycle;
2748 fill serif_edge1--z6{dir 110}..{dir 250}z5--z2--cycle;
2749 %currentpicture := currentpicture shifted(-.7u,0);
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.57u#;
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-1.9u#;
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(-.6u,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(-.9u,0);
2820 penlabels(range 1 thru 12);
2821 endchar;
2822
2823 beginchar(hex"35",9u#,cap_height#,0);
2824 italcorr cap_height#*sind 18-1.39u#;
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(-.6u,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.35u#;
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+10/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-.84u#;
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.7u,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-1.9u#;
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+10/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 z1=(s,h-1/2cap_stem); z2=(x1+cap_stem+c,h-1/2cap_stem);
2974 z6=(s+.5(x2-x1)-.5c,h-cap_stem); x5=x6+1/2bar+.5c; y5=y6-1/2bar;
2975 x3=x6; y3=h-cap_stem-comma_depth+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45;
2976 z7=(s+1/2cap_stem-.5c,h);
2977 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle;
2978 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle shifted(cap_stem+3c,0);
2979 %currentpicture := currentpicture shifted(-3u,0);
2980 penlabels(1,2,3,4,5,6,7);
2981 endchar;
2982
2983 beginchar(hex"5C",2cap_stem#+3s#+2c#,cap_height#,comma_depth#);
2984 z1=(s,1/2cap_stem); z2=(x1+cap_stem+c,1/2cap_stem);
2985 z6=(s+.5(x2-x1)-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar;
2986 x3=x6; y3=-d+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45;
2987 z7=(s+1/2cap_stem-.5c,cap_stem); z8=(.5w,.5h-1/2d+1/2c);
2988 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle;
2989 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle shifted(cap_stem+3c,0);
2990 currentpicture := currentpicture rotatedaround(z8,180);
2991 penlabels(1,2,3,4,5,6,7);
2992 endchar;
2993
2994 beginchar(hex"7b",10u#-1.5c#,x_height#,0); "En dash";
2995 italcorr x_height#*sind 18-1.8u#;
2996 z1=(s+1/2bar,bar_height); z2=(w-s-1/2bar,bar_height);
2997 penpos1(bar,90); penpos2(bar,90);
2998 fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle;
2999 %currentpicture := currentpicture shifted(-1.1u,0);
3000 penlabels(1,2);
3001 endchar;
3002
3003 beginchar(hex"3D",10u#+1.5c#,x_height#,0);
3004 italcorr x_height#*sind 18-1.5u#;
3005 z1=(s+1/2bar,bar_height-3c); z2=(w-s-1/2bar,bar_height-3c);
3006 penpos1(bar,90); penpos2(bar,90);
3007 fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle;
3008 z3=(s+1/2bar,bar_height+3c); z4=(w-s-1/2bar,bar_height+3c);
3009 penpos3(bar,90); penpos4(bar,90);
3010 fill z3l{left}..{right}z3r--z4r{right}..{left}z4l--z3l&cycle;
3011 %currentpicture := currentpicture shifted(-1.1u,0);
3012 penlabels(1,2,3,4);
3013 endchar;
3014
3015 beginchar(hex"23",13u#,asc_height#,body_depth#);
3016 italcorr asc_height#*sind 18-2.25u#;
3017 z1=(s+1/2bar,bar_height-5c); z2=(w-s-1/2bar,bar_height-5c);
3018 penpos1(1.5bar,90); penpos2(1.5bar,90);
3019 fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle;
3020 z3=(s+1/2bar,bar_height+5c); z4=(w-s-1/2bar,bar_height+5c);
3021 penpos3(1.5bar,90); penpos4(1.5bar,90);
3022 fill z3l{left}..{right}z3r--z4r{right}..{left}z4l--z3l&cycle;
3023 z5=(.5w-5c,bar_height); z6=(.5w+5c,bar_height);
3024 z7=z5+whatever*dir 76; y7=h; z8=whatever[z5,z7]; y8=-d;
3025 penpos7(1.5bar,0); penpos8(1.5bar,0);
3026 fill z7l{up}..{down}z7r--z8r{down}..{up}z8l--z7l&cycle;
3027 z9=z6+whatever*dir 76; y9=h; z10=whatever[z6,z9]; y10=-d;
3028 penpos9(1.5bar,0); penpos10(1.5bar,0);
3029 fill z9l{up}..{down}z9r--z10r{down}..{up}z10l--z9l&cycle;
3030 penlabels(1,2,3,4,5,6,7,8,9,10);
3031 endchar;
3032
3033 beginchar(hex"7c",14u#,x_height#,0); "Em dash";
3034 italcorr x_height#*sind 18-1.7u#;
3035 z1=(s+1/2bar,bar_height); z2=(w-s-1/2bar,bar_height);
3036 penpos1(bar,90); penpos2(bar,90);
3037 fill z1l{left}..{right}z1r--z2r{right}..{left}z2l--z1l&cycle;
3038 %currentpicture := currentpicture shifted(-1.1u,0);
3039 penlabels(1,2);
3040 endchar;
3041
3042 beginchar(oct"55",2cap_jut#+cap_stem#+2s#,x_height#,0); "hyphen";
3043 italcorr x_height#*sind 18-1.7u#;
3044 x1=s+.9cap_bar; x2=w-s-.9cap_bar;
3045 y1l=y2l=17/33h;
3046 penpos1(1.8bar,90); penpos2(1.8bar,90);
3047 penstroke z1e--z2e;
3048 fill z1r..z1l..cycle; fill z2r..z2l..cycle;
3049 %currentpicture := currentpicture shifted(-1.1u,0);
3050 penlabels(1,2);
3051 endchar;
3052
3053 beginchar(hex"5F",1.1stem#+2s#,x_height#+2.1stem#,0);
3054 italcorr (x_height#+2.1stem#)*sind 18-.9u#;
3055 z1=(.5w,h); z2=(.5w,h-1.1stem);
3056 fill z1..z2..cycle;
3057 %currentpicture := currentpicture shifted(-2.9u,0);
3058 penlabels(1,2);
3059 endchar;
3060
3061 beginchar(hex"7E",7u#,body_height#,0);
3062 italcorr body_height#*sind 18-.9u#;
3063 pickup pencircle xscaled .6pt yscaled .2pt rotated 55;
3064 z4=(w-s-c,h-s); x1=s+c; y1=y4-1/2cap_stem;
3065 y2-y1=y4-y3=3(y4-y1); z2-z1=z4-z3=whatever * dir 55;
3066 draw z1..controls z2 and z3..z4;
3067 %currentpicture := currentpicture shifted(-3.3u,0);
3068 penlabels(1,2,3,4);
3069 endchar;
3070
3071 beginchar(hex"3C",7u#-2c#,x_height#,0); "looks like <<";
3072 italcorr x_height#*sind 18-u#;
3073 x2l=x3l=s+1/2bar; y2l=.5h+1/2bar; y3l=.5h-1/2bar;
3074 x1l=x4l=.5w; y1l=h-1/2bar; y4l=1/2bar;
3075 penpos1(bar,0); penpos2(stem,0);
3076 penpos3(stem,0); penpos4(bar,0);
3077 numeric theta[];
3078 theta1=angle(z2l-z1l); theta2=angle(z4l-z3l);
3079 theta3=theta1+180; theta4=theta2+180;
3080 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;
3081 x5r=x8r=w-s; y5r=h-2bar; y8r=2bar; x6r=x7r=w-s-.6stem;
3082 y6r=y2l; y7r=y3l;
3083 penpos5(bar,0); penpos6(.8stem,0);
3084 penpos7(.8stem,0); penpos8(bar,0);
3085 theta5=angle(z6r-z5r); theta6=angle(z8r-z7r);
3086 theta7=theta5+180; theta8=theta6+180;
3087 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;
3088 %currentpicture := currentpicture shifted(-1.6u,0);
3089 penlabels(1,2,3,4,5,6,7,8);
3090 endchar;
3091
3092 beginchar(hex"3E",7u#-2c#,x_height#,0);
3093 italcorr x_height#*sind 18-u#;
3094 x2l=x3l=s+1/2bar; y2l=.5h+1/2bar; y3l=.5h-1/2bar;
3095 x1l=x4l=.5w; y1l=h-1/2bar; y4l=1/2bar;
3096 penpos1(bar,0); penpos2(stem,0);
3097 penpos3(stem,0); penpos4(bar,0);
3098 numeric theta[];
3099 theta1=angle(z2l-z1l); theta2=angle(z4l-z3l);
3100 theta3=theta1+180; theta4=theta2+180;
3101 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;
3102 x5r=x8r=w-s; y5r=h-2bar; y8r=2bar; x6r=x7r=w-s-.6stem;
3103 y6r=y2l; y7r=y3l;
3104 penpos5(bar,0); penpos6(.8stem,0);
3105 penpos7(.8stem,0); penpos8(bar,0);
3106 theta5=angle(z6r-z5r); theta6=angle(z8r-z7r);
3107 theta7=theta5+180; theta8=theta6+180;
3108 z10=(.5w,.5h);
3109 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;
3110 currentpicture := currentpicture rotatedaround(z10,180) shifted(3.2u,0);
3111 penlabels(1,2,3,4,5,6,7,8);
3112 endchar;
3113
3114 beginchar(hex"3B",cap_stem#+2s#+c#,x_height#+c#,comma_depth#);
3115 italcorr x_height#*sind 18-.81u#;
3116 z1=(s,1/2cap_stem); z2=(w-s,1/2cap_stem);
3117 z6=(.5w-.5c,0); x5=x6+1/2bar+.5c; y5=y6-1/2bar;
3118 x3=x6; y3=-d+3/2c; x4=x3-bar*sind 45; y4=y3+bar*sind 45;
3119 z7=(.5w-.5c,cap_stem);
3120 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle;
3121 z8=(s,h-1/2cap_stem); z9=(w-s,h-1/2cap_stem);
3122 fill z8..z9..cycle;
3123 penlabels(1,2,3,4,5,6,7,8,9);
3124 endchar;
3125
3126 beginchar(hex"3A",cap_stem#+2s#+c#,x_height#+c#,comma_depth#);
3127 italcorr x_height#*sind 18-.81u#;
3128 z1=(s,h-1/2cap_stem); z2=(w-s,h-1/2cap_stem);
3129 fill z1..z2..cycle;
3130 penlabels(1,2,3,4);
3131 z3=(s,1/2cap_stem); z4=(w-s,1/2cap_stem);
3132 fill z3..z4..cycle;
3133 penlabels(1,2,3,4);
3134 endchar;
3135
3136 beginchar(hex"2B",2cap_jut#+cap_stem#+2s#,x_height#,0);
3137 italcorr x_height#*sind 18-1.7u#;
3138 x1=s+.9cap_bar; x2=w-s-.9cap_bar;
3139 y1l=y2l=17/33h;
3140 penpos1(1.8bar,90); penpos2(1.8bar,90);
3141 penstroke z1e--z2e;
3142 fill z1r..z1l..cycle; fill z2r..z2l..cycle;
3143 x3=x4=.5w; y3=y2+1/2(x2-x1); y4=y2-1/2(x2-x1);
3144 penpos3(1.8bar,0); penpos4(1.8bar,0);
3145 penstroke z3e--z4e;
3146 fill z3r..z3l..cycle; fill z4r..z4l..cycle;
3147 %currentpicture := currentpicture shifted(-1.3u,0);
3148 penlabels(1,2,3,4);
3149 endchar;
3150
3151 beginchar(hex"2F",2s#+bar#,body_height#,body_depth#);
3152 italcorr body_height#*sind 18-.8u#;
3153 z1=(.5w,h-.5bar); z2=(.5w,-d+.5bar);
3154 %pickup pencircle xscaled bar yscaled bar;
3155 penpos1(bar,0); penpos2(bar,0);
3156 penstroke z1e--z2e; fill z1r..z1l..cycle;
3157 fill z2r..z2l..cycle;
3158 penlabels(1,2);
3159 endchar;
3160
3161 beginchar(hex"27",cap_stem#+2s#+c#,x_height#+2.1stem#,0);
3162 italcorr (x_height#+2.1stem#)*sind 18-u#;
3163 z1=(s,h-1/2cap_stem); z2=(w-s,h-1/2cap_stem);
3164 z6=(.5w-.5c,h-cap_stem); x5=x6+1/2bar+.5c; y5=y6-1/2bar;
3165 x3=x6; y3=h-stem-comma_depth+c; x4=x3-bar*sind 45; y4=y3+bar*sind 45;
3166 z7=(.5w-.5c,h);
3167 fill z1..z7..z2{down}..{dir -135}z3..z4{dir 45}...{up}z5{up}..{left}z6{left}..z1&cycle;
3168 %currentpicture := currentpicture shifted(-2.7u,0);
3169 penlabels(1,2,3,4,5,6,7);
3170 endchar;
3171
3172 beginchar(hex"28",5u#,body_height#,body_depth#);
3173 italcorr body_height#*sind 18-.87u#;
3174 x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30;
3175 x2=s+1/2stem; y2=-d+1/2(h+d);
3176 penpos1(bar,150); penpos2(curve,180);
3177 penpos3(bar,210);
3178 penstroke z1e..z2e..z3e;
3179 fill z1r..z1l..cycle; fill z3r..z3l..cycle;
3180 penlabels(1,2,3);
3181 endchar;
3182
3183 beginchar(hex"29",5u#,body_height#,body_depth#);
3184 italcorr body_height#*sind 18-1.35u#;
3185 x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30;
3186 x2=s+1/2stem; y2=-d+1/2(h+d);
3187 penpos1(bar,150); penpos2(curve,180);
3188 penpos3(bar,210);
3189 penstroke z1e..z2e..z3e;
3190 fill z1r..z1l..cycle; fill z3r..z3l..cycle;
3191 z4=(.5w,-d+1/2(h+d));
3192 currentpicture := currentpicture rotatedaround(z4,180) shifted(4u,0);
3193 penlabels(1,2,3);
3194 endchar;
3195
3196 beginchar(hex"86",5u#,body_height#,body_depth#);
3197 italcorr body_height#*sind 18-.87u#;
3198 x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30;
3199 x2=s+1/2bar; y2=-d+1/2(h+d);
3200 penpos1(bar,0); penpos2(bar,0);
3201 penpos3(bar,0);
3202 penstroke z1e--z2e--z3e;
3203 fill z1r..z1l..cycle; fill z3r..z3l..cycle;
3204 penlabels(1,2,3);
3205 endchar;
3206
3207 beginchar(hex"87",5u#,body_height#,body_depth#);
3208 italcorr body_height#*sind 18-1.92u#;
3209 x1=x3=w-s-bar*sind 45; y1=h-bar*sind 30; y3=-d+bar*sind 30;
3210 x2=s+1/2bar; y2=-d+1/2(h+d);
3211 penpos1(bar,0); penpos2(bar,0);
3212 penpos3(bar,0);
3213 penstroke z1e--z2e--z3e;
3214 fill z1r..z1l..cycle; fill z3r..z3l..cycle;
3215 z4=(.5w,-d+1/2(h+d));
3216 currentpicture := currentpicture rotatedaround(z4,180) shifted(4u,0);
3217 penlabels(1,2,3);
3218 endchar;
3219
3220 beginchar(hex"5B",2s#+3cap_bar#,body_height#,body_depth#);
3221 italcorr body_height#*sind 18-.8u#;
3222 z1=(w-s-1/2cap_bar,h-1/2bar); z2=(s+1/2cap_bar,h-1/2cap_bar);
3223 z3=(x2,h); z4=(x3,-d); z5=(x2,-d+1/2bar);
3224 z6=(x1,y5); penpos1(bar,90); penpos2(bar,90);
3225 penpos3(bar,0); penpos4(bar,0);
3226 penpos5(bar,90); penpos6(bar,90);
3227 penstroke z1e--z2e; penstroke z3e--z4e; penstroke z5e--z6e;
3228 fill z1r..z1l..cycle; fill z6r..z6l..cycle;
3229 penlabels(1,2,3,4,5,6);
3230 endchar;
3231
3232 beginchar(hex"5D",2s#+3cap_bar#,body_height#,body_depth#);
3233 italcorr body_height#*sind 18-.8u#;
3234 z1=(w-s-1/2cap_bar,h-1/2bar); z2=(s+1/2cap_bar,h-1/2cap_bar);
3235 z3=(x1,h); z4=(x3,-d); z5=(x2,-d+1/2bar);
3236 z6=(x1,y5); penpos1(bar,90); penpos2(bar,90);
3237 penpos3(bar,0); penpos4(bar,0);
3238 penpos5(bar,90); penpos6(bar,90);
3239 penstroke z1e--z2e; penstroke z3e--z4e; penstroke z5e--z6e;
3240 fill z2r..z2l..cycle; fill z5r..z5l..cycle;
3241 penlabels(1,2,3,4,5,6);
3242 endchar;
3243
3244 beginchar(hex"B9",16u#,cap_height#,0);
3245 italcorr cap_height#*sind 18-1.92u#;
3246 x1=x2=cap_jut+1/2cap_bar+s+cap_stem;
3247 x3=w-x1-1/2cap_stem; y1c=h; y4=y5=0;
3248 x4=x3r; x5=x3l; y2=12/53h; y3=h-y2;
3249 x8=x2-stem; y8=0; z9=z8;
3250 dl_drop(9,cap_drop_round,x8-s,1.1drop_round,cap_bar);
3251 fill dl_drop_edge9; penpos8(bar,-90);
3252 serif(1,cap_bar,-90,cap_jut,1.3cap_jut);
3253 penpos2(bar,0); penpos3(bar,0);
3254 penstroke z2e{down}..{left}z8e;
3255 fill z2l--z2r--reverse serif_edge1--cycle;
3256 numeric theta[]; y7=y1h; x7=x1h-cap_stem;
3257 theta1=angle(z5-z7); x10=x3+stem; y10=h; z11=z10;
3258 penpos10(bar,-90); penstroke z3e{up}..{right}z10e;
3259 ur_drop(11,cap_drop_round,x8-s,1.1drop_round,cap_bar);
3260 fill ur_drop_edge11;
3261 z6=z3l+whatever*dir -90=z1h+whatever*dir theta1;
3262 fill z6--z1h--z7--z5{down}..{up}z4--z3r--z3l--cycle;
3263 unfill z1b--z1l--z1a--cycle;
3264 y12=y13=2cap_bar; x12=x4+2cap_bar+.5s; x13=w-1.5s;
3265 penpos12(.4stem,90); penpos13(.4stem,90);
3266 penstroke z12e--z13e; y16=y11d-5cap_bar;
3267 x13-x14=x14-x12; x16=x14; y14=y13+5cap_bar;
3268 x17=w-s-1/4stem; x17-x16=x16-x15; y16-y15=y15-y14;
3269 y17=y15; penpos17(.6stem,0); penpos16(bar,90);
3270 penpos15(.6stem,180); penpos14(bar,270);
3271 penstroke z17e{up}..{left}z16e{left}..{down}z15e{down}..{right}z14e{right}..{up}z17e;
3272 fill z12l..tension1.2..z12r..tension1.2..cycle;
3273 fill z13l..tension1.2..z13r..tension1.2..cycle;
3274 penlabels(range 1 thru 17);
3275 endchar;
3276
3277 beginchar(hex"24",9u#-s#,body_height#,body_height#-cap_height#);
3278 italcorr body_height#*sind 18-1.68u#;
3279 x6=x7=1/2w-c; y6=y7=0;
3280 dl_drop(7,cap_drop_round,x6-s,1.3cap_drop_round,cap_bar);
3281 y5=10/53cap_height; x5=w-s-1/2(1.9hair);
3282 y4=1/2cap_height; x4=19/38w; y3=42/53cap_height; x3=s+1/2(1.9cap_bar);
3283 x2=.5w+c; y2=cap_height; z1=z2;
3284 penpos6(cap_bar,-90); penpos5(1.9hair,0);
3285 penpos4(1.1cap_curve,90); penpos3(1.9hair,0);
3286 penpos2(cap_bar,-90);
3287 penstroke z6e{right}..z5e..tension1..z4e..tension.8..z3e..{right}z2e;
3288 fill dl_drop_edge7;
3289 ur_drop(1,cap_drop_round,w-s-x2,1.3cap_drop_round,cap_bar);
3290 fill ur_drop_edge1;
3291 z8=(.5w,h); z9=(.5w,-d);
3292 penpos8(cap_bar,0); penpos9(cap_bar,0);
3293 penstroke z8e--z9e;
3294 fill z9r..z9l..cycle; fill z8r..z8l..cycle;
3295 %currentpicture := currentpicture shifted(-.7u,0);
3296 penlabels(1,2,3,4,5,6,7);
3297 endchar;
3298
3299 beginchar(hex"25",12u#,asc_height#,0);
3300 italcorr asc_height#*sind 18-2.5u#;
3301 penpos1(vair,90); penpos2(.6curve,0);
3302 penpos3(vair,-90); penpos4(.6curve,-180);
3303 y1=.55h; y3=h; y3-y4=y4-y1; y2=y4; x2=1/4curve+s; x4=5/2curve+s;
3304 x4-x1=x1-x2; x3=x1;
3305 penstroke z1e{left}..tension.9..{up}z2e{up}..tension1.2..{right}z3e..tension.9..{down}z4e{down}..tension1.2..{left}z1e..cycle;
3306 penpos5(vair,90); penpos6(.6curve,0);
3307 penpos7(vair,-90); penpos8(.6curve,-180);
3308 y5=0; y7=.45h; y7-y8=y8-y5; y6=y8; x8=w-1/4curve-s; x6=w-5/2curve-s;
3309 x8-x5=x5-x6; x7=x5;
3310 penstroke z5e{left}..tension.9..{up}z6e{up}..tension1.2..{right}z7e..tension.9..{down}z8e{down}..tension1.2..{left}z5e..cycle;
3311 x9l=x7; y9=h; x10r=x1; y10=0;
3312 penpos9(1.2bar,0); penpos10(1.2bar,0);
3313 penstroke z9e--z10e;
3314 %currentpicture := currentpicture shifted(-1.6u,0);
3315 penlabels(1,2,3,4,5,6,7,8,9,10);
3316 endchar;
3317
3318 beginchar(hex"26",14u#,cap_height#,0);
3319 italcorr cap_height#*sind 18-2.6u#;
3320 x4=x8=x3+.5curve; y6=0; y2=h; x2=x3+1.3cap_curve;
3321 y7=13/53h; y5=9/53h; x5=x7+3.5cap_curve; x6=x7+1.8cap_curve;
3322 y4=y8=30/53h; y1=44/53h; y3=42/53h; x3=4s+curve;
3323 x1=x3+2.1cap_curve; x7=s+1/2cap_curve;
3324 x10=w-s; y10=9/53h; x10-x9=x9-x5; y9=1/5cap_curve;
3325 th:=angle(z4-z5)+5; th1:=th-11; x11h=w-s-c; y11h=y1-4s;
3326 A_serif(11,cap_bar,-110,cap_jut,cap_jut); z12l=z11a;
3327 penpos6(cap_bar,-90); penpos5(cap_stem,45);
3328 penpos4(cap_stem,45); penpos3(2.5hair,0);
3329 penpos2(cap_bar,-90); penpos1(2hair,-180);
3330 penpos7(cap_curve,-180); penpos8(cap_bar,-250);
3331 penpos9(.5cap_curve,70); penpos10(cap_bar,150);
3332 penpos12(cap_bar,0);
3333 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;
3334 fill z12l--z12r..reverse A_serif_edge11--cycle;
3335 fill z10l..tension1.3..z10r..tension1.3..cycle;
3336 %currentpicture := currentpicture shifted(-.6u,0);
3337 penlabels(range 1 thru 12);
3338 endchar;
3339 currenttransform := identity;
3340
3341 beginchar(hex"40",14u#,x_height#+2curve#,2curve#);
3342 a_width:=9u+c-2s;
3343 x1=2s+a_width-s-3/4stem+1.5curve; y1=x_height; y2=7/33x_height; z2=z1+whatever*dir -104;
3344 x3=x2+1/2stem+c; y3=2epsilon; x4=3s+a_width+1.5curve; y4=15/33x_height;
3345 penpos1(stem,180); penpos2(stem,180);
3346 penpos3(1.2vair,270); penpos4(bar,360);
3347 x5=x1-3/2stem; y5=x_height; z7=z5+whatever*dir -104; y7=-2epsilon;
3348 x6=s+1/2curve+c+1.5curve; y6=.54x_height; y8=.46x_height; z8l=whatever[z1r,z2r];
3349 x13=x5; y13=h-1/2bar; x14=s+1/2bar; y14=y6; y15=-d+1/2bar; x15=x7;
3350 x16=x4; y16=-d+3bar; penpos7(vair,270); penpos16(bar,270);
3351 penpos13(bar,90); penpos14(bar,180); penpos15(bar,270);
3352 penpos8(2bar,0); penpos5(vair,90); penpos6(curve,180);
3353 penstroke z1e--z2e{down}..{right}z3e{right}..tension1.2..{dir 80}z4e..z13e{left}..z14e..{right}z15e..z16e;
3354 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;
3355 z9=whatever[z1r,z2r]; y9=y12=x_height-c; z10=(x1r+c,x_height); z11=(x1l-c,x_height);
3356 z12=whatever[z1l,z2l];
3357 unfill z9{up}..z10--z1r--z9..cycle;
3358 unfill z11--z1l--z12{up}..z11..cycle;
3359 fill z16r..z16l..cycle;
3360 penlabels(range 1 thru 66);
3361 endchar;
3362 currenttransform := identity slanted sl_parameter;
3363
3364 beginchar(hex"12",2cap_stem#+s#,body_height#,0);
3365 italcorr body_height#*sind 18-1.15u#;
3366 y1=h-.45cap_stem*cosd 45; x1=s+.45cap_stem*cosd 45;
3367 x2=w-s+cap_bar*cosd 45; z2=z1+whatever*dir -45;
3368 penpos1(.9cap_stem,45); penpos2(cap_bar,45);
3369 penstroke z1e--z2e;
3370 fill z1r..tension1.2..z1l..tension1.2..cycle;
3371 fill z2r..tension1.2..z2l..tension1.2..cycle;
3372 penlabels(range 1 thru 5);
3373 endchar;
3374
3375 beginchar(hex"13",2cap_stem#+s#,body_height#,0);
3376 italcorr body_height#*sind 18-.75u#;
3377 y1=h-.45cap_stem*cosd 45; x1=w-s-.45cap_stem*cosd 45;
3378 x2=s-cap_bar*cosd 45; z2=z1+whatever*dir -135;
3379 penpos1(.9cap_stem,135); penpos2(cap_bar,135);
3380 penstroke z1e--z2e;
3381 fill z1r..tension1.2..z1l..tension1.2..cycle;
3382 fill z2r..tension1.2..z2l..tension1.2..cycle;
3383 penlabels(range 1 thru 5);
3384 endchar;
3385
3386 beginchar(hex"3F",7u#,cap_height#,0);
3387 italcorr cap_height#*sind 18-2.15u#;
3388 x1=s+4/5cap_stem; y1=1/2cap_stem;
3389 penpos1(cap_stem,0);
3390 fill z1r..z1l..cycle;
3391 y2=cap_stem+cap_bar; x2=x1;
3392 z3l=z2l+whatever*dir 96; y3l=25/53h;
3393 penpos2(cap_bar,0); penpos3(cap_bar,0);
3394 penstroke z2e--z3e;
3395 z4l=z3l; penpos4(cap_bar,0);
3396 y5=y4-2bar; x5=x4+3cap_bar; penpos7(cap_bar,-90);
3397 x6=w-s-1/2cap_curve; y6=37/51h; x7=12/31w; y7=h;
3398 penpos5(cap_bar,90); penpos6(cap_curve,180); z8=z7;
3399 penstroke z4e{dir -69}..z5e{dir 10}..tension1..{up}z6e{up}..tension.9..{left}z7e;
3400 ul_drop(8,.8cap_drop_round,x7-s,cap_curve,cap_bar);
3401 fill ul_drop_edge8;.
3402 fill z3r..tension1.2..z3l..tension1.2..cycle;
3403 currentpicture := currentpicture shifted(-.7u,0);
3404 penlabels(1,2,3,4,5,6,7,8);
3405 endchar;
3406
3407 beginchar(hex"10",2jut#+stem#+2s#,x_height#,0);
3408 italcorr x_height#*sind 18-1.75u#;
3409 x1g=x2g=s; y1c=x_height; y2c=0;
3410 serif(1,stem,-90,jut,0);
3411 serif(2,stem,90,jut,jut);
3412 fill serif_edge2--reverse serif_edge1--cycle;
3413 penlabels(1,2,3,4);
3414 endchar;
3415
3416 beginchar(hex"11",5u#,x_height#,desc_depth#);
3417 italcorr x_height#*sind 18-.75u#;
3418 x1h=w-s; y1c=x_height; y2=0; x2=x1;
3419 serif(1,stem,-90,1.5jut,0);
3420 penpos2(stem,0);
3421 fill z2l--z2r--reverse serif_edge1--cycle;
3422 y5=-1/4desc_depth; x5r=x2r;
3423 y6=-d+1/2bar; x6=x2l-1/2stem;
3424 penpos5(.97stem,0);
3425 penpos6(bar,-90);
3426 penstroke z2e--z5e{down}..{left}z6e;
3427 x7e=s; y7=-d+1/2bar;
3428 dl_drop(7,stem,x6-x7e,drop_round,bar);
3429 fill dl_drop_edge7; fill z7e..z7c..cycle;
3430 penlabels(range 1 thru 7);
3431 endchar;
3432 currenttransform := identity;
3433
3434 beginchar(hex"2A",3cap_stem#+3s#,body_height#,0);
3435 x1=x2=x3=x4=.5w; y1=h-1/2stem; y2=y1-cap_stem; y3=y2-bar; y4=y3-bar;
3436 penpos1(stem,0); penpos2(cap_bar,0); penpos3(2cap_bar,0);
3437 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle;
3438 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,60);
3439 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,120);
3440 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,180);
3441 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,240);
3442 fill z1l{down}..z2l{down}..z3l--z4--z3r..{up}z2r..{up}z1r{up}..{down}z1l..cycle rotatedaround(z4,300);
3443 penlabels(range 1 thru 12);
3444 endchar;
3445 currenttransform := identity slanted sl_parameter;
3446
3447 beginchar(hex"0B",round (4jut#+2stem#+2c#+3s#),asc_height#,0);
3448 w:=w+1; italcorr asc_height#*sind 18-1.16u#;
3449 numeric dist; dist := 2jut+2stem-3c;
3450 x1g=x2g=s+dist; y1c=x_height; y2c=0;
3451 serif(1,stem,-90,jut,jut);
3452 serif(2,stem,90,jut,jut);
3453 fill serif_edge2--reverse serif_edge1--cycle;
3454 x3=x1; y3=x_height; x4r=x1l-.1stem; y4=x_height+1/2(asc_height-x_height);
3455 x5l=x4l-.05stem; y5=y4+1.5bar; x6=round (x1r+.2stem); y6=h-1/2bar;
3456 penpos3(stem,180);
3457 penpos4(.75curve,180);
3458 penpos5(.6curve,180);
3459 penpos6(bar,90);
3460 penstroke z3e{dir 95}...{up}z4e..z5e..{right}z6e;
3461 y6=y7; x7e=w-s;
3462 ur_drop(7,stem,x7e-x6,drop_round,bar);
3463 fill ur_drop_edge7; fill z7e..z7c..cycle;
3464 x11g=x12g=s; y11c=x_height; y12c=0;
3465 serif(11,stem,-90,jut,jut);
3466 serif(12,stem,90,jut,jut);
3467 fill serif_edge12--reverse serif_edge11--cycle;
3468 x13=x11; y13=x_height; x14l=x13l; y14=x_height+1/2(asc_height-x_height);
3469 x15l=x14l; y15=y14+1.5bar; x16=x11r+.8stem; y16=h-1/2bar;
3470 x17r=x5l; y17=y5;
3471 penpos13(stem,180);
3472 penpos14(.75curve,180);
3473 penpos15(.6curve,180);
3474 penpos16(bar,90);
3475 penpos17(bar,0);
3476 penstroke z13e{dir 95}...{up}z14e..z15e..{right}z16e{right}..{down}z17e;
3477 fill z11d--z1c--z1b--z11e--cycle;
3478 penlabels(range 1 thru 17);
3479 endchar;
3480
3481 beginchar(hex"5E",6u#,body_height#,0);
3482 italcorr body_height#*sind 18-1.4u#;
3483 x1=s+.45cap_bar*cosd 45; x2=w/2; y2=h-bar;
3484 z1=z2+whatever*dir -135; x3=w-x1; z3=z2+whatever*dir -45;
3485 penpos1(bar,135); penpos2(2bar,90); penpos3(bar,45);
3486 penstroke z1e--z2e--z3e;
3487 fill z1r..z1l..cycle; fill z3r..z3l..cycle;
3488 %currentpicture := currentpicture shifted(-3.1u,0);
3489 penlabels(1,2,3);
3490 endchar;
3491
3492 beginchar(hex"16",6u#,body_height#,0);
3493 italcorr body_height#*sind 18-1.1u#;
3494 x1=s; x2=w-x1; y1=y2=h-4bar;
3495 penpos1(.8bar,90); penpos2(.8bar,90);
3496 penstroke z1e--z2e;
3497 fill z1r..z1l..cycle; fill z2r..z2l..cycle;
3498 %currentpicture := currentpicture shifted(-3.2u,0);
3499 penlabels(1,2);
3500 endchar;
3501
3502 beginchar(hex"7F",2stem#+4s#,x_height#+2.1stem#,0);
3503 italcorr body_height#*sind 18-1.6u#;
3504 z1=(s+.5stem,h); z2=(s+.5stem,h-stem);
3505 fill z1..z2..cycle;
3506 z3=(w-s-.5stem,h); z4=(w-s-.5stem,h-stem);
3507 fill z3..z4..cycle;
3508 %currentpicture := currentpicture shifted(-3u,0);
3509 penlabels(1,2,3,4);
3510 endchar;
3511
3512 ligtable CYR_A: "A":
3513 CYR_O kern -k#,
3514 "O" kern -k#,
3515 CYR_ES kern -k#,
3516 "C" kern -k#,
3517 CYR_TE kern -k#,
3518 CYR_U kern -kk#,
3519 CYR_EF kern -k#,
3520 CYR_CHE kern -kkk#,
3521 CYR_HARD_SIGN kern -k#,
3522 "W" kern -kkk#,
3523 "V" kern -kkk#,
3524 "Y" kern -kkk#,
3525 "T" kern -k#,
3526 "w" kern -kk#,
3527 "v" kern -kk#,
3528 %CYR_o kern -k#,
3529 %CYR_es kern -k#,
3530 CYR_che kern -kk#;
3531 %CYR_ie kern -k#,
3532 %CYR_ye kern -k#;
3533
3534 ligtable CYR_GHE: CYR_TE: "T":
3535 CYR_A kern -kk#,
3536 "A" kern -kk#,
3537 CYR_DE kern -k#,
3538 CYR_EL kern -kk#,
3539 CYR_o kern -k#,
3540 "o" kern -k#,
3541 "c" kern -k#,
3542 CYR_es kern -k#;
3543
3544 ligtable CYR_O: CYR_E: CYR_YU: "D": "O": "Q":
3545 CYR_U kern -k#,
3546 "X" kern -k#,
3547 "V" kern -k#,
3548 "W" kern -k#,
3549 "Y" kern -kk#,
3550 CYR_HA kern -k#;
3551
3552 ligtable CYR_ER: "P":
3553 CYR_A kern -kk#,
3554 "A" kern -kk#,
3555 CYR_el kern -k#;
3556
3557 ligtable CYR_U:
3558 CYR_A kern -kkk#,
3559 "A" kern -kkk#,
3560 CYR_O kern -k#,
3561 "O" kern -k#,
3562 CYR_ES kern -k#,
3563 "C" kern -k#,
3564 CYR_EL kern -k#,
3565 CYR_el kern -kk#,
3566 CYR_EF kern -k#;
3567
3568 ligtable CYR_HA: "X":
3569 "O" kern -k#,
3570 CYR_O kern -k#,
3571 "Q" kern -k#,
3572 "C" kern -k#,
3573 CYR_ES kern -k#,
3574 "G" kern -k#;
3575
3576 ligtable CYR_ghe: CYR_te:
3577 CYR_de kern -k#,
3578 CYR_el kern -k#;
3579
3580 ligtable CYR_o: CYR_er: CYR_e: CYR_yu: CYR_ye:
3581 "V" kern -kk#,
3582 "Y" kern -kk#,
3583 "W" kern -kk#,
3584 "x" kern -k#,
3585 CYR_ha kern -k#;
3586
3587 ligtable CYR_u: "y":
3588 CYR_de kern -k#,
3589 CYR_el kern -k#,
3590 CYR_ie kern -k#,
3591 "e" kern -k#,
3592 CYR_es kern -k#,
3593 "c" kern -k#,
3594 CYR_ye kern -k#,
3595 CYR_ef kern -k#;
3596
3597 ligtable CYR_ha: "x":
3598 CYR_ie kern -k#,
3599 "d" kern -k#,
3600 "e" kern -k#,
3601 "o" kern -k#,
3602 "q" kern -k#,
3603 CYR_o kern -k#;
3604
3605 ligtable "L":
3606 "T" kern -kk#,
3607 CYR_TE kern -kk#,
3608 "Y" kern -kk#;
3609
3610 ligtable "V": "W":
3611 "A" kern -kkk#,
3612 CYR_A kern -kkk#,
3613 "o" kern -k#,
3614 CYR_o kern -k#,
3615 "c" kern -k#,
3616 CYR_es kern -k#,
3617 "e" kern -k#,
3618 CYR_ie kern -k#,
3619 "a" kern -k#,
3620 CYR_a kern -k#,
3621 "d" kern -k#;
3622
3623 ligtable "Y":
3624 "o" kern -k#,
3625 CYR_o kern -k#,
3626 "e" kern -k#,
3627 CYR_ie kern -k#,
3628 "a" kern -k#,
3629 CYR_a kern -k#,
3630 "c" kern -k#,
3631 CYR_es kern -k#,
3632 "d" kern -k#,
3633 "A" kern -kk#,
3634 CYR_A kern -kk#;
3635
3636 ligtable "a": CYR_a:
3637 "V" kern -kk#,
3638 "W" kern -kk#,
3639 "T" kern -k#,
3640 CYR_TE kern -k#,
3641 "y" kern -k#,
3642 CYR_u kern -k#,
3643 "v" kern -kk#,
3644 "u" kern -k#,
3645 CYR_che kern -kk#,
3646 "Y" kern -kk#;
3647
3648 ligtable "e": CYR_ie:
3649 CYR_ha kern -k#,
3650 "v" kern -k#,
3651 "w" kern -k#,
3652 "V" kern -kk#,
3653 "Y" kern -kk#,
3654 "W" kern -kk#;
3655
3656 ligtable "f":
3657 "f" =: hex"0B";
3658
3659 ligtable "k": "l":
3660 CYR_o kern -k#,
3661 "o" kern -k#;
3662
3663 ligtable "m": "n":
3664 "y" kern -k#,
3665 CYR_u kern -k#,
3666 CYR_o kern -k#,
3667 "u" kern -k#,
3668 "o" kern -k#;
3669
3670 ligtable "o": "b": "p":
3671 "e" kern k#,
3672 CYR_ie kern k#,
3673 "o" kern k#,
3674 CYR_o kern k#,
3675 "v" kern -k#,
3676 "w" kern -k#,
3677 "V" kern -kk#,
3678 "Y" kern -kk#,
3679 "W" kern -kk#,
3680 "x" kern -k#,
3681 CYR_ha kern -k#, 1:: "!" kern kk#;
3682
3683 ligtable "v": "w":
3684 "A" kern -kk#,
3685 CYR_A kern -kk#,
3686 "o" kern -k#,
3687 CYR_o kern -k#,
3688 "c" kern -k#,
3689 CYR_es kern -k#,
3690 "e" kern -k#,
3691 CYR_ie kern -k#,
3692 "a" kern -k#,
3693 CYR_a kern -k#,
3694 "d" kern -k#;
3695
3696 ligtable hex"37":
3697 CYR_A kern -kk#,
3698 "A" kern -kk#;
3699 ligtable oct"55":
3700 oct"55" =: hex"7b";
3701 ligtable hex"7b":
3702 oct"55" =: hex"7c";
3703 end