Debian Codegraph @

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

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