Debian Codegraph @

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

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