Debian Codegraph @

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