Debian Codegraph @

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

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