Debian Codegraph @

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