Debian Codegraph @

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

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