Debian Codegraph @

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

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