Debian Codegraph @

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