Debian Codegraph @

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