diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/cyrillic/cmcyr/mf |
Initial commit
Diffstat (limited to 'fonts/cyrillic/cmcyr/mf')
75 files changed, 11005 insertions, 0 deletions
diff --git a/fonts/cyrillic/cmcyr/mf/ccsc.mf b/fonts/cyrillic/cmcyr/mf/ccsc.mf new file mode 100644 index 0000000000..e04d0e2b10 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/ccsc.mf @@ -0,0 +1,42 @@ +% Caps and Small Caps in Computer Modern Cyrillic + +let cmchar=message; % `|cmchar|' should precede each character + +font_coding_scheme:=if ligs=0: "TeX typewriter text" + else: "TeX text without f-ligatures" fi; +spanish_shriek=oct"016"; spanish_query=oct"017"; + +input coding; + +mode_setup; font_setup; +input cyru; % upper case (majuscules) +%input romsub; % substitutes for ligatures +%if ligs>0: input comlig; fi % ligatures common with italic + +%ligtable "!": "`" =: spanish_shriek; +%ligtable "?": "`" =: spanish_query; +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + +%%% fine lower +forsuffixes $= u, width_adj, cap_serif_fit, letter_fit, + body_height, cap_height, x_height, bar_height, comma_depth, + flare, cap_hair, stem, cap_stem, cap_curve, cap_ess, + cap_jut, beak_jut, beak, slab, cap_bar, cap_band, cap_notch_cut, + o, apex_o: $.#:=lower.$.#; endfor +fudge:=lower.fudge; +font_setup; % now try again with |lower| settings +extra_endchar:=extra_endchar&"charcode:=charcode+code_offset"; +code_offset:= ASCII"A" - ASCII"a"; +input cyru; % majuscules (in lowercase positions) +%code_offset:=-3; +%input romspu; % \AE, \OE, \O\ (in positions of \ae, \oe, \o) +%code_offset:=0; +%input cscspu; % substitutes for the remaining characters of romspl +bye. diff --git a/fonts/cyrillic/cmcyr/mf/citall.mf b/fonts/cyrillic/cmcyr/mf/citall.mf new file mode 100644 index 0000000000..2f86b3379c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/citall.mf @@ -0,0 +1,660 @@ +% Computer Modern Cyrillic Italic lower case: + +cmchar "Cyrillic italic letter a"; +beginchar(CYR_a,9u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98h; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=h+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Cyrillic italic letter be"; +beginchar(CYR_be,9u#,asc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); pos2(curve,180); pos3(vair,270); pos4(curve,360); +x1=x3=.5w; lft x2r=hround(1.5u-.5curve); x4=w-x2; +top y1r=x_height+oo; y2=y4=.5[y1,y3]; bot y3r=-oo; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl +pos2'(hair,180); z2'r=z2r; pos5(vstem,90); pos5'(vstem,-90); z5'=z5; +pos6(hair,0); rt x6r=hround(w-u); top y6=h; top y5r=vround .9h; x5=x1; +filldraw stroke pulled_arc.e(6,5'); filldraw stroke pulled_arc.e(5,2'); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +cmchar "Cyrillic italic letter ve"; +beginchar(CYR_ve,9u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +numeric heavy_hair; heavy_hair=hround .2[hair,stem]; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(curve,0); pos6(vair,180); +x0=rt x3l; rt x1r=hround(w-2.5u+.5heavy_hair); x2=x4=.5w; +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-u-eps); x6=x2; +y0=y3=y6-.1u=bar_height; y1=.5[y0,y2]; +top y2r=h+oo; bot y4r=-oo; y5=vround .5bar_height; +filldraw stroke z0e{right}...z1e{up} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4) & + {{surerness:=hein_super; pulled_arc.e(4,5) & pulled_arc.e(5,6)}}; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Cyrillic italic letter ghe"; +beginchar(CYR_ghe,8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos2(hair,140); pos3(vair,90); pos4(curve,0); +pos5(vair,-90); pos5'(vair,90); pos6(curve,180); +pos7(vair,270); pos8(hair,320); +x7=w-x3=.5(w+u); x5=.52w; y5=.52h; z5'=z5; +lft x6r=w-rt x4r-.5u=hround(1.5u-.5curve); x8r=w-x2=good.x(w-eps); +x9=x8; x1=x2; top y3=h+oo; y4=.5[y5,y3]; bot y7r=-oo; y6=.5[y5,y7]; +top y8l=h-bot y2l=vround .5bar_height; y9=h-y1=bar_height; +path p[]; p1=z3{left}..z2..z1; p2=z7{right}..z8..z9; +filldraw stroke pulled_arc.e(5,4) + & pulled_arc.e(4,3)...{direction 1 of p1}z2e; +filldraw stroke pulled_arc.e(5',6) + & pulled_arc.e(6,7)...{direction 1 of p2}z8e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Cyrillic italic letter de"; +beginchar(CYR_de,9u#,asc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,150); pos2(vair,90); pos3(curve,0); +pos4(vair,270); pos5(curve,180); pos6(vair,90); +x1=x5l; x2=.5w-u; y1=h-.25u; top y2r=h+o; y3=.5[y2,y4]; +x6=x4=.5w; lft x5r=w-rt x3r=hround(1.5u-.5curve); +top y6r=x_height+oo; y5=.5[y6,y4]; bot y4r=-oo; +path p; p=pulled_super_arc.l(3,4)(superpull); +numeric t; t=xpart(p intersectiontimes((x4,y5)--(x3r,y5))); +pos7(thin_join,0); z7l=point t of p; +filldraw stroke z1e...pulled_super_arc.e(2,3)(superpull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(superpull)}} + & {{less_tense; pulled_super_arc.e(4,5)(superpull)}} + & pulled_super_arc.e(5,6)(superpull) + & z6e{right}...{direction t of p}z7e; % arc and bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Cyrillic italic letter ie"; +beginchar(CYR_ie,8u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +numeric heavy_hair; heavy_hair=hround .2[hair,stem]; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Cyrillic italic letter zhe"; +beginchar(CYR_zhe,17u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +numeric arc_width; arc_width=7u; +pos0(flare,180); pos1(hair,180); pos2(vair,-90); +pos3(curve,0); pos4(vair,90); pos5(hair,140); +pos7(flare,0); pos8(hair,0); pos9(vair,90); +pos10(curve,180); pos11(vair,270); pos12(hair,320); +x2=x4=w-x9=.5(arc_width-u); x11=x9; +lft x1r=w-rt x8r=min(lft x2,hround u)-eps; +rt x3r=w-lft x10r=hround(arc_width-1.5u+.5curve); +x5r=w-x12r=good.x(eps); x6=x5; x13=x12; +y8=h-y1=.5[bar_height,h]; bot y2r=-oo; top y9r=h+oo; +top y4r=h+oo; bot y11r=-oo; y3=h-y10=.5[y2,y4]; +bot y5l=h-top y12l=vround h-.5bar_height; y13=h-y6=bar_height; +path p[]; p1=z4{left}..z5..z6; p2=z11{right}..z12..z13; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p1}z5e; % left arc +filldraw stroke pulled_arc.e(9,10) + & pulled_arc.e(10,11)...{direction 1 of p2}z12e; % right arc +bulb(2,1,0); bulb(9,8,7); % left and right bulb +pos14(stem,0); pos15(stem,0); x14=x15=.5w; top y14=h; bot y15=0; +filldraw stroke z14e--z15e; % stem +penpos3'(bar,90); penpos10'(bar,90); z3'=z3; z10'=z10; +fill stroke z3'e--z10'e; % bar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +cmchar "Cyrillic italic letter ze"; +beginchar(CYR_ze,8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos1(hair,140); pos2(cap_band,90); pos4(vair,-90); +x1r=good.x(eps); x0=x1; top y2r=h+o; +bot y1l=vround h-.5bar_height; y0=h-bar_height; +pos3(max(fine.breadth,curve-stem_corr),0); +pos7(vair,-90); pos8(vair,-90); pos9(vair,90); +x2=.45[2u,x10]; rt x3r=hround(w-u); x4=.45[x1,x10]; +pos10(curve,0); rt x10r=hround(w-.5u); lft x8=.5w-u; +y3=.35[top y7l,bot y2l]; top y8l=vround(.54h+.5vair); z8r=z9l; +x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); +pos5'(hair,-180); pos5(flare,-180); +bot y4r=0; rt x5l=hround 2u; z5r=z5'r; +y10=.45[bot y8r,top y4l]; y5=max(good.y .95(h-y1),y4l+eps); +(x2l',y2l)=whatever[z2r,z1l]; x2l:=max(x2l',x2l-.5u); +(x4l',y4l)=whatever[z4r,z5l]; x4l:=max(x4l',x4l-.5u); +path p; p=z0..z1..{right}z2; +filldraw stroke z1e{direction 1 of p} + ...pulled_arc.e(2,3) + & z3e{down}...z7e---z8e; % upper bowl +filldraw stroke z9e---pulled_arc.e(9,10) + & pulled_super_arc.e(10,4)(.5superpull); % lower bowl +bulb(4,5',5); %bulb +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,7,8,9,10,11,12,13); endchar; + +cmchar "Cyrillic italic letter i"; +beginchar(CYR_i,9.5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter short i"; +beginchar(CYR_short_i,9.5u#,x_height#+3.5u#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +penpos10(hair-fine,-90); penpos11(hair-fine,-180); penpos12(.5flare,-180); +penpos13(hair-fine,-90); penpos14(hair-fine,0); penpos15(.5flare,0); +x10=.5[x11,x14]; x11=.5w-2u; x14=w-x11; +y10=y13=x_height+u; y11=y14=h-.5u; z13=z10; +bulb(10,11,12); bulb(13,14,15); % bulbs +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Cyrillic italic letter ka"; +beginchar(CYR_ka,9.5u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +pos3(vair,90); x3=x1; y3=bar_height; +pos4(vair,90); x4=w-2u; top y4r=x_height+oo; +filldraw stroke z3e{right}..{right}z4e; % upper diagonal +pos5(hair,0); pos6(flare,0); +rt x5r=hround(w-.5u); y5+.5flare=vround(bot y4l-.03x_height); +bulb(4,5,6); % bulb +pos7(stem,0); pos8(vair,90); pos9(hair,180); +x9+.5hair=hround(w+.5hair-eps); y9=1/3x_height; +lft x7l=hround(w-2.75u-.5stem); y7=1/2y3; x8=w-1.2u; bot y8l=-oo; +filldraw stroke z3e{right}...z7e{down} + ...z8e{right}...{up}z9e; % lower diagonal +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter el"; +beginchar(CYR_el,9u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x6=x7; x9=w; hook_out(7,8,9); % closing hook +top y6=top y0=h; x0=lft x6r; +filldraw stroke z6e--z7e; % right stem +pickup tiny.nib; pos0(hair,-90); pos1(hair,0); pos2(hair,0); +y1=.5h; rt x1r=hround(w-5.25u); x2=x1; y2=.21h; +pos3(vair,-90); pos4(hair,-180); pos5(flare,-180); +bot y3r=0; x3=.5[x4,x2]; y5=.25h; rt x5l=hround 2u; z5r=z4r; +filldraw stroke pulled_arc.e(0,1) & z1e--z2e & super_arc.e(2,3); % arc +bulb(3,4,5); % bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter em"; +beginchar(CYR_em,12u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.stem-4stem_corr); +stem2=hround(fudged.hair-stem_corr); +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); top y6=h; +x6=x7; x9=w; hook_out(7,8,9); % closing hook +filldraw stroke z6e--z7e; % right stem +pickup tiny.nib; pos1(hair,0); pos2(hair,0); +top y1=h; rt x1r=hround(w-8.25u); x2=x1; y2=.21h; +pos3(vair,-90); pos4(hair,-180); pos5(flare,-180); +bot y3r=0; x3=.5[x4,x2]; y5=.25h; rt x5l=hround 2u; z5r=z4r; +filldraw stroke z1e--z2e & super_arc.e(2,3); % left stem and arc +bulb(3,4,5); % bulb +penpos10(stem1,0); penpos11(stem1,0); penpos12(stem2,0); penpos13(stem2,0); +x10l=x1; x11l=x12l; x13=lft x6l; x11-x10=x13-x12; y10=y13=h; y11=y12; +y11=0; z0=whatever[z10r,z11r]=whatever[z12l,z13l]; +fill z10l..{z11-z10}diag_in(10l,11l,1,11r) + ..diag_out(12l,1,12r,13r){z13-z12} + ..z13r--diag_out(13r,1,13l,12l){z12-z13}..{z12-z13}z0{z10-z11} + ..{z10-z11}diag_in(11r,10r,1,10l)--cycle; % diagonals +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Cyrillic italic letter en"; +beginchar(CYR_en,9.5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); y6+.5stem=h; +x6=x7; x9=w; hook_out(7,8,9); % closing hook +filldraw circ_stroke z6e--z7e; % right stem +penpos10(bar,90); penpos11(bar,90); x10=x1; x11=x6; y10=y11=.5h; +fill stroke z10e--z11e; % bar +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "Cyrillic italic letter o"; +beginchar(CYR_o,9u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); pos2(curve,180); pos3(vair,270); pos4(curve,360); +x1=x3=.5w; lft x2r=hround(1.5u-.5curve); x4=w-x2; +top y1r=h+oo; y2=y4=.5[y1,y3]; bot y3r=-oo; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +cmchar "Cyrillic italic letter pe"; +beginchar(CYR_pe,10u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7); endchar; + +cmchar "Cyrillic italic letter er"; +beginchar(CYR_er,9u#,x_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +x0=0; x2-.5stem=hround(2.5u-.5stem); hook_in(0,1,2); % opening hook +pos4(hair,-180); pos5(vair,-90); pos6(curve,0); pos7(vair,90); +x4=x2; rt x6r=hround(w-1.5u+.5curve); x5=x7=.5[x4,x6]; +bot y5r=-oo; top y7r=h+oo; y4=y6=.5[y5,y7]; +filldraw stroke super_arc.e(4,5) & pulled_arc.e(5,6) + & pulled_arc.e(6,7) & super_arc.e(7,4); % bowl +pickup tiny.nib; pos2'(stem,0); pos3(stem,0); +z2=z2'; x3=x2; bot y3=-d; filldraw stroke z2'e--z3e; % stem +dish_serif(3,2',a,1/3,.75jut,b,1/3,jut); % serif +math_fit(-min(2/3x_height#*slant-.5hair#-.5u#, + 2u#-.5stem#-desc_depth#*slant),ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Cyrillic italic letter es"; +beginchar(CYR_es,8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps; +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb +bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; +path p; p=z4{right}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Cyrillic italic letter te"; +beginchar(CYR_te,15u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib; +numeric shaved_stem; shaved_stem=mfudged.stem; +save stem; stem=shaved_stem; +pos2(stem,0); x1=x2; +if monospace: pos1(stem,0); lft x1l=hround(2.5u-.5stem); top y1=h; +else: x0=0; lft x2l=hround(2.5u-.5stem); + hook_in(0,a,1); fi % opening hook +y2-.5stem=-oo; filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(.5w+.5stem); ital_arch(2,3,4); % left arch +pos5(stem,0); y5=y2; x5=x4; +filldraw circ_stroke z5e--z4e; % middle stem +x7+.5stem=hround(w-2.5u+.5stem); +x8=x7-.25u; ital_arch(5,6,7); % right arch +if monospace: pos9(vair,90); x9=good.x .5[x8,w]; bot y9l=0; y8=1/3h; + pos8(stem,0); filldraw stroke z8e{-u,-x_height}...{right}z9e; % terminal +else: x9=w; hook_out(8,b,9)(skewed); fi % closing hook +filldraw stroke z7e{down}..{-u,-x_height}z8e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter ef"; +beginchar(CYR_ef,12u#,asc_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +numeric theta; z88=(.5w-.5u,h); z89=(.5w+.5u,-d); theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +rt x1r=hround(w-2u); lft x8r=hround 2u; x2=.6[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.15[x_height,h]; y5=.4[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +penpos10(hair,180); penpos11(vair,90); penpos12(curve,0); +penpos13(vair,-90); penpos14(hair,0); penpos15(vair,90); +penpos16(curve,180); penpos17(vair,270); +x10=x14=.5w; y11r=y15r=x_height+o; y12=y16=.5[y11l,y13l]; y13r=y17r=-o; +y10=y14=.5x_height; x11r=x13r=w-x15r=w-x17r=.5w+1.75u; +x12r=w-x16r=hround(w-.5u); +fill stroke super_arc.e(10,11) & pulled_arc.e(11,12) + & pulled_arc.e(12,13) & super_arc.e(13,10); +fill stroke super_arc.e(14,15) & pulled_arc.e(15,16) + & pulled_arc.e(16,17) & super_arc.e(17,14); +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,88,89); endchar; + +cmchar "Cyrillic italic letter u"; +beginchar(CYR_u,8.5u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +pos9(hair,-180); pos10(flare,-180); y9=-.5d; +lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Cyrillic italic letter ha"; +beginchar(CYR_ha,6.5u#+max(1.5u#,flare#),x_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,x_height#*slant+.25u#); +adjust_fit(0,0); pickup fine.nib; +pos0(hair,180); pos1(vair,90); pos2(stem,0); +pos3(stem,-180); pos4(vair,-90); pos5(hair,0); +y0=y2=2/3h; y3=y5=1/3h; top y1r=h+oo; bot y4r=-oo; +rt x2r=hround(.5w+.5stem-eps); x2=x3; +x0-.5hair=hround-.5hair; x5+.5hair=hround(w+.5hair-eps); +x1=.5[x0,x2]; x4=.5[x3,x5]; +filldraw stroke z0e{up}...pulled_arc.e(1,2); % opening hook +filldraw z2l--z3r--z3l--z2r--cycle; % stem +filldraw stroke pulled_arc.e(3,4)...{up}z5e; % closing hook +pos3'(hair,180); pos6(hair,180); pos7(vair,90); +pos8(hair,0); pos9(flare,0); +x3'l=x6l=x3l; y3'=y3; y6=3/4h; x7=.5[x8,x2]; top y7r=h+oo; +rt x8r=hround(w-.25u); y8+.5flare=vround(bot y7l-.03x_height); +filldraw stroke z3'e---z6e...{right}z7e; bulb(7,8,9); % upper link and bulb +pos2'(hair,0); pos16(hair,0); pos17(vair,-90); +pos18(hair,-180); pos19(flare,-180); +x2'l=x16l=x2l; y2'=y2; y16=1/4h; x17=.5[x18,x3]; bot y17r=-oo; +lft x18r=hround.25u; y18-.5flare=vround(top y17l+.03x_height); +filldraw stroke z2'e---z16e...{left}z17e; bulb(17,18,19); % lower link and bulb +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,16,17,18,19); endchar; + +cmchar "Cyrillic italic letter tse"; +beginchar(CYR_tse,9.5u#,x_height#,desc_depth#-u#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; +pos7(stem,0); pos8(vair,90); +x9:=hround(x9+.5hair-eps)-.5hair; pos9(hair,180); +y7=1/4x_height; bot y8l=-oo; y9=1/3x_height; x8=x7+1.5u; +path p,p.l,p.r; +forsuffixes $=r,l: p.$=z7${down}...z8${right} + ...{x9-(x7+2.5u),x_height}z9$; endfor; +p=p.r--reverse p.l--cycle; +filldraw p; % closing hook; +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +pos10(stem,-140); pos11(stem,-150); +x11r=x10; x10r=.9[x7,x8]; x12=x8; +y11=.5[y12,y10]; y10=-.25d; bot y12=-d; +filldraw stroke (subpath (1.5,3.5) of p)..z10e..z11e..z12; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "Cyrillic italic letter che"; +beginchar(CYR_che,9.5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.2u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=.325h; y5=.7h; y6+.5stem=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter sha"; +beginchar(CYR_sha,14.5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); pos6(stem,-180); pos7(stem,-180); +pos8(vair,-90); pos9(hair,0); pos10(stem,0); +x4=.5[x3,x5]; x6=.5w; x8=.5[x5,x9]; rt x10r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=x10=x11; x13=w; hook_out(11,12,13); % closing hook +y3=.7[y4,y5]; bot y4r=bot y8r=-oo; y5=y9=.57h; y7=y11; +y6+.5stem=h; y10=y6; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e + ...super_arc.e(7,8)...{up}z9e; % middle stem and arc +filldraw circ_stroke z10e--z11e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Cyrillic italic letter shcha"; +beginchar(CYR_shcha,14.5u#,x_height#,desc_depth#-u#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); pos6(stem,-180); pos7(stem,-180); +pos8(vair,-90); pos9(hair,0); pos10(stem,0); +x4=.5[x3,x5]; x6=.5w; x8=.5[x5,x9]; rt x10r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=x10=x11; x13=w; +pos11(stem,0); pos12(vair,90); +x13:=hround(x13+.5hair-eps)-.5hair; pos13(hair,180); +y11=1/4x_height; bot y12l=-oo; y13=1/3x_height; x12=x11+1.5u; +path p,p.l,p.r; +forsuffixes $=r,l: p.$=z11${down}...z12${right} + ...{x13-(x11+2.5u),x_height}z13$; endfor; +p=p.r--reverse p.l--cycle; +filldraw p; % closing hook; +y3=.7[y4,y5]; bot y4r=bot y8r=-oo; y5=y9=.57h; y7=y11; +y6+.5stem=h; y10=y6; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e + ...super_arc.e(7,8)...{up}z9e; % middle stem and arc +filldraw circ_stroke z10e--z11e; % right stem +pos14(stem,-140); pos15(stem,-150); +x15r=x14; x14r=.9[x11,x12]; x16=x12; +y15=.5[y16,y14]; y14=-.25d; bot y16=-d; +filldraw stroke (subpath (1.5,3.5) of p)..z14e..z15e..z16; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar; + +cmchar "Cyrillic italic letter soft_sign"; +beginchar(CYR_soft_sign,8u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +numeric x_bowl; x_bowl=2/3h; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_bowl; +filldraw stroke z1e--z2e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(8u-1.5u+.5curve); +bot y3r=-oo; top y5r=x_bowl+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Cyrillic italic letter hard_sign"; +beginchar(CYR_hard_sign,12u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +numeric x_bowl; x_bowl=.52h; +pos1(vair,0); pos2(stem,0); x1=x2; +lft x1l=hround(5.5u-.5stem); top y1=h+oo; y2=.5x_bowl; +filldraw stroke z1e--z2e; % stem +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(w-1.5u+.5curve); +bot y3r=-oo; top y5r=x_bowl+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +pos1'(vair,0); pos6(vstem,-90); pos6'(vstem,90); pos7(vair,180); +z1'=z1; x6=.5[x7,x1]; top y6l=h+oo; z6'=z6; lft x7r=0; y7=h-1.75u; +filldraw stroke pulled_arc.e(1',6); +filldraw stroke pulled_arc.e(6',7); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Cyrillic italic letter yeru"; +beginchar(CYR_yeru,12u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +numeric x_bowl; x_bowl=2/3h; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1r=h+oo; y2=.5x_bowl; +filldraw stroke z1e--z2e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(8u-1.5u+.5curve); +bot y3r=-oo; top y5r=x_bowl+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +pickup fine.nib; x7-.5stem=hround(9.5u-.5stem); x9=w; +hook_out(7,8,9); % closing hook +pickup tiny.nib; pos6(stem,0); pos7'(stem,0); z7'=z7; +top y6=h; x6=x7; filldraw stroke z6e--z7e; % stem +sloped_serif.l(6,7,b,1/3,jut,serif_drop); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Cyrillic italic letter e"; +beginchar(CYR_e,8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,180); pos1(hair,180); pos2(vair,-90); +pos3(curve,0); pos4(vair,90); pos5(hair,140); +x2=x4=.5(w-u); lft x1r=.25u; +rt x3r=hround(w-1.5u+.5curve); x5r=good.x(eps); x6=x5; +y1=.52[0,h-bar_height]; bot y2r=-oo; bulb(2,1,0); % bulb +top y4r=h+oo; y3=.5[y2,y4]; bot y5l=vround h-.5bar_height; y6=h-bar_height; +path p; p=z4{left}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +penpos7(bar,90); penpos8(bar,90); +x7=x3; y7=.52h; y8=y7; x8=.5w-hround(u); +fill stroke z7e--z8e; % bar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Cyrillic italic letter yu"; +beginchar(CYR_yu,13u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +pos3(vair,90); pos4(curve,180); pos5(vair,270); pos6(curve,360); +x3=x5=w-4.5u; rt x6r=hround(w-1.5u+.5curve); x4=w-(x6-4u); +top y3r=h+oo; y4=y6=.5[y3,y5]; bot y5r=-oo; +filldraw stroke pulled_arc.e(3,4) & pulled_arc.e(4,5) + & pulled_arc.e(5,6) & pulled_arc.e(6,3); % bowl +penpos4'(bar,90); penpos7(bar,90); z4'=z4; x7=x1; y7=y4'; +fill stroke z4'e--z7e; % bar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(1,2,3,4,4',5,6,7); endchar; + +cmchar "Cyrillic italic letter ya"; +beginchar(CYR_ya,8u#+.5max(2u#,curve#),x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=rt x2r=w-hround(2.5u-.5stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(curve if hefty:-3stem_corr fi,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w-.5u; x5l=hround(.75u); fi +x4l:=x6l:=x4+.125curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(vair,-90); pos0(stem,0); +pos8(curve,0); pos9(vair,-90); pos10(hair,180); +z6'=z6; rt x0r=rt x8r=hround(x5+2/3u+.5curve); +y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; +bot y9l=0; lft x10r=hround(.05u); y10=1/4[y2,y7]; +filldraw stroke z6'e{left}..z0e---z8e....z9e{left}..z10e{up}; % tail +nodish_serif(1,2,a,1/3,.5jut,b,1/3,jut); % upper serif +dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower serif +math_fit(-min(2/3x_height#*slant-.5hair#-.5u#, + 2u#-.5stem#-desc_depth#*slant),ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; diff --git a/fonts/cyrillic/cmcyr/mf/cmcb10.mf b/fonts/cyrillic/cmcyr/mf/cmcb10.mf new file mode 100644 index 0000000000..9a6d975430 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcb10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Roman 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCB"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=10/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx10.mf b/fonts/cyrillic/cmcyr/mf/cmcbx10.mf new file mode 100644 index 0000000000..a8defd5280 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 10pt#; + +u#:=23/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx12.mf b/fonts/cyrillic/cmcyr/mf/cmcbx12.mf new file mode 100644 index 0000000000..87db272dca --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx12.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 12pt#; + +u#:=27/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=296.4/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=102/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10.5/36pt#; % width of extrafine details +hair#:=18.3/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=52/36pt#; % lowercase curve breadth +ess#:=44/36pt#; % breadth in middle of lowercase s +flare#:=51/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=62/36pt#; % diameter of dots +cap_hair#:=20/36pt#; % uppercase hairline breadth +cap_stem#:=57/36pt#; % uppercase stem breadth +cap_curve#:=61/36pt#; % uppercase curve breadth +cap_ess#:=59/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.66pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=12/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=46/36pt#; % protrusion of uppercase serifs +beak_jut#:=12.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=14.3/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=18.5/36pt#; % lowercase bar thickness +slab#:=18.5/36pt#; % serif and arm thickness +cap_bar#:=18.5/36pt#; % uppercase bar thickness +cap_band#:=18.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx5.mf b/fonts/cyrillic/cmcyr/mf/cmcbx5.mf new file mode 100644 index 0000000000..419684ea0d --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx5.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 5 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 5pt#; + +u#:=14.5/36pt#; % unit width +width_adj#:=7/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3/36pt#; % extra space added to all sidebars + +body_height#:=135/36pt#; % height of tallest characters +asc_height#:=125/36pt#; % height of lowercase ascenders +cap_height#:=123.5/36pt#; % height of caps +fig_height#:=116/36pt#; % height of numerals +x_height#:=80/36pt#; % height of lowercase without ascenders +math_axis#:=45/36pt#; % axis of symmetry for math symbols +bar_height#:=40/36pt#; % height of crossbar in lowercase e +comma_depth#:=35/36pt#; % depth of comma below baseline +desc_depth#:=35/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=9/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=15/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=19/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=31/36pt#; % diameter of dots +cap_hair#:=17/36pt#; % uppercase hairline breadth +cap_stem#:=28/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.43pt#; % thickness of lines in math symbols + +dish#:=.7/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=13/36pt#; % protrusion of lowercase serifs +cap_jut#:=19/36pt#; % protrusion of uppercase serifs +beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +beak#:=25/36pt#; % vertical protrusion of beak serifs +vair#:=10/36pt#; % vertical diameter of hairlines +notch_cut#:=5pt#; % maximum breadth above or below notches +bar#:=12/36pt#; % lowercase bar thickness +slab#:=12/36pt#; % serif and arm thickness +cap_bar#:=12/36pt#; % uppercase bar thickness +cap_band#:=12/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches +serif_drop#:=1.5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.5/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=9/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx6.mf b/fonts/cyrillic/cmcyr/mf/cmcbx6.mf new file mode 100644 index 0000000000..9c3916a9a7 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx6.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 6 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 6pt#; + +u#:=16.2/36pt#; % unit width +width_adj#:=7.8/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=162/36pt#; % height of tallest characters +asc_height#:=150/36pt#; % height of lowercase ascenders +cap_height#:=148.2/36pt#; % height of caps +fig_height#:=139.2/36pt#; % height of numerals +x_height#:=96/36pt#; % height of lowercase without ascenders +math_axis#:=54/36pt#; % axis of symmetry for math symbols +bar_height#:=49/36pt#; % height of crossbar in lowercase e +comma_depth#:=42/36pt#; % depth of comma below baseline +desc_depth#:=42/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=10/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=15.4/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=31/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=31/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=18/36pt#; % uppercase hairline breadth +cap_stem#:=33/36pt#; % uppercase stem breadth +cap_curve#:=36/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.47pt#; % thickness of lines in math symbols + +dish#:=.8/36pt#; % amount erased at top or bottom of serifs +bracket#:=6/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=23/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.8/36pt#; % horizontal protrusion of beak serifs +beak#:=36/36pt#; % vertical protrusion of beak serifs +vair#:=11/36pt#; % vertical diameter of hairlines +notch_cut#:=6pt#; % maximum breadth above or below notches +bar#:=13/36pt#; % lowercase bar thickness +slab#:=13/36pt#; % serif and arm thickness +cap_bar#:=13/36pt#; % uppercase bar thickness +cap_band#:=13/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=6pt#; % max breadth above/below uppercase notches +serif_drop#:=1.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.6/36pt#; % for small refinements of stem breadth +vair_corr#:=1.1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.3; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx7.mf b/fonts/cyrillic/cmcyr/mf/cmcbx7.mf new file mode 100644 index 0000000000..32a9beb88b --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx7.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 7pt#; + +u#:=17.9/36pt#; % unit width +width_adj#:=8.6/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=1/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.9/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=112/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=58/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=15.8/36pt#; % lowercase hairline breadth +stem#:=32/36pt#; % lowercase stem breadth +curve#:=35/36pt#; % lowercase curve breadth +ess#:=29/36pt#; % breadth in middle of lowercase s +flare#:=35/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=41/36pt#; % diameter of dots +cap_hair#:=18/36pt#; % uppercase hairline breadth +cap_stem#:=38/36pt#; % uppercase stem breadth +cap_curve#:=41/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.51pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=7/36pt#; % vertical distance from serif base to tangent +jut#:=17/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.6/36pt#; % horizontal protrusion of beak serifs +beak#:=46/36pt#; % vertical protrusion of beak serifs +vair#:=11.5/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=14/36pt#; % lowercase bar thickness +slab#:=14/36pt#; % serif and arm thickness +cap_bar#:=14/36pt#; % uppercase bar thickness +cap_band#:=14/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.1/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.7/36pt#; % for small refinements of stem breadth +vair_corr#:=1.2/36pt#; % for small refinements of hairline height +apex_corr#:=2/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.1; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx8.mf b/fonts/cyrillic/cmcyr/mf/cmcbx8.mf new file mode 100644 index 0000000000..60e5f58849 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 8pt#; + +u#:=19.6/36pt#; % unit width +width_adj#:=9.4/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.4/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197.6/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=67/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=12/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=16.2/36pt#; % lowercase hairline breadth +stem#:=35/36pt#; % lowercase stem breadth +curve#:=39/36pt#; % lowercase curve breadth +ess#:=32/36pt#; % breadth in middle of lowercase s +flare#:=39/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=46/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=43/36pt#; % uppercase stem breadth +cap_curve#:=46/36pt#; % uppercase curve breadth +cap_ess#:=43/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.54pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=8/36pt#; % vertical distance from serif base to tangent +jut#:=19/36pt#; % protrusion of lowercase serifs +cap_jut#:=31/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.4/36pt#; % horizontal protrusion of beak serifs +beak#:=55/36pt#; % vertical protrusion of beak serifs +vair#:=12/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=15/36pt#; % lowercase bar thickness +slab#:=15/36pt#; % serif and arm thickness +cap_bar#:=15/36pt#; % uppercase bar thickness +cap_band#:=15/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=2.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.8/36pt#; % for small refinements of stem breadth +vair_corr#:=1.3/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.9; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbx9.mf b/fonts/cyrillic/cmcyr/mf/cmcbx9.mf new file mode 100644 index 0000000000..d49d6ad1f0 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbx9.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBX"; font_size 9pt#; + +u#:=21.3/36pt#; % unit width +width_adj#:=10.2/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=6.2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=222.3/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=76/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=16.6/36pt#; % lowercase hairline breadth +stem#:=38/36pt#; % lowercase stem breadth +curve#:=43/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=51/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=47/36pt#; % uppercase stem breadth +cap_curve#:=51/36pt#; % uppercase curve breadth +cap_ess#:=48/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.57pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=9/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=35/36pt#; % protrusion of uppercase serifs +beak_jut#:=10.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=12.5/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=16/36pt#; % lowercase bar thickness +slab#:=16/36pt#; % serif and arm thickness +cap_bar#:=16/36pt#; % uppercase bar thickness +cap_band#:=16/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=2.7/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.9/36pt#; % for small refinements of stem breadth +vair_corr#:=1.4/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.7; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbxsl1.mf b/fonts/cyrillic/cmcyr/mf/cmcbxsl1.mf new file mode 100644 index 0000000000..f65fb1f343 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbxsl1.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Slanted 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBXSL"; font_size 10pt#; + +u#:=23/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcbxti1.mf b/fonts/cyrillic/cmcyr/mf/cmcbxti1.mf new file mode 100644 index 0000000000..a2dcfd9048 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcbxti1.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Bold Extended Text Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCBXTI"; font_size 10pt#; + +u#:=21.2/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=11/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=13/36pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=20/36pt#; % lowercase hairline breadth +stem#:=38/36pt#; % lowercase stem breadth +curve#:=43/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=53/36pt#; % diameter of dots +cap_hair#:=22/36pt#; % uppercase hairline breadth +cap_stem#:=49/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=50/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmccsc10.mf b/fonts/cyrillic/cmcyr/mf/cmccsc10.mf new file mode 100644 index 0000000000..fd02da53be --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmccsc10.mf @@ -0,0 +1,110 @@ +% Computer Modern Cyrillic Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCCSC"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=16/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.4/36pt#; % extra space added to all sidebars + +lower.body_height#:=200/36pt#; % height of tallest characters +lower.cap_height#:=185/36pt#; % height of caps +lower.x_height#:=116/36pt#; % height of lowercase without ascenders +lower.bar_height#:=65/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=52/36pt#; % depth of comma below baseline + +lower.flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.1/36pt#; % uppercase hairline breadth +lower.stem#:=21/36pt#; % lowercase stem breadth +lower.cap_stem#:=26/36pt#; % uppercase stem breadth +lower.cap_curve#:=31/36pt#; % uppercase curve breadth +lower.cap_ess#:=28/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=52/36pt#; % vertical protrusion of beak serifs +lower.slab#:=9.1/36pt#; % serif and arm thickness +lower.cap_bar#:=9.1/36pt#; % uppercase bar thickness +lower.cap_band#:=9.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches + +lower.o#:=5/36pt#; % amount of overshoot for curves +lower.apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate ccsc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmccsc8.mf b/fonts/cyrillic/cmcyr/mf/cmccsc8.mf new file mode 100644 index 0000000000..c65ab1de89 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmccsc8.mf @@ -0,0 +1,116 @@ +% CMCSC8.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Cyrillic Caps and Small Caps 8 point +% Computer Modern Roman Cap and Small Cap 8 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="CMCCSC"; font_size 8pt#; + +u#:=18/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2.5/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=13/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=2.7/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=4/36pt#; % extra space added to all sidebars + +lower.body_height#:=146/36pt#; % height of tallest characters +lower.cap_height#:=145.8/36pt#; % height of caps +lower.x_height#:=85/36pt#; % height of lowercase without ascenders +lower.bar_height#:=47.6/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=38/36pt#; % depth of comma below baseline + +lower.flare#:=20/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.1/36pt#; % uppercase hairline breadth +lower.stem#:=17/36pt#; % lowercase stem breadth +lower.cap_stem#:=21/36pt#; % uppercase stem breadth +lower.cap_curve#:=25/36pt#; % uppercase curve breadth +lower.cap_ess#:=20/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=20/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=5.4/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=38/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.1/36pt#; % serif and arm thickness +lower.cap_bar#:=8.1/36pt#; % uppercase bar thickness +lower.cap_band#:=8.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches + +lower.o#:=4/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate ccsc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmccsc9.mf b/fonts/cyrillic/cmcyr/mf/cmccsc9.mf new file mode 100644 index 0000000000..90620bbdfa --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmccsc9.mf @@ -0,0 +1,116 @@ +% CMCSC9.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Cyrillic Caps and Small Caps 9 point; base on +% Computer Modern Roman Caps and Small Caps 9 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="CMCCSC"; font_size 9pt#; + +u#:=19/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=14.5/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=3.4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +lower.body_height#:=173/36pt#; % height of tallest characters +lower.cap_height#:=170.4/36pt#; % height of caps +lower.x_height#:=100.5/36pt#; % height of lowercase without ascenders +lower.bar_height#:=56.3/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=45/36pt#; % depth of comma below baseline + +lower.flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.6/36pt#; % uppercase hairline breadth +lower.stem#:=19/36pt#; % lowercase stem breadth +lower.cap_stem#:=23.5/36pt#; % uppercase stem breadth +lower.cap_curve#:=28/36pt#; % uppercase curve breadth +lower.cap_ess#:=24/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=23/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=6.2/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=45/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.6/36pt#; % serif and arm thickness +lower.cap_bar#:=8.6/36pt#; % uppercase bar thickness +lower.cap_band#:=8.6/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches + +lower.o#:=4.5/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate ccsc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcinch.mf b/fonts/cyrillic/cmcyr/mf/cmcinch.mf new file mode 100644 index 0000000000..77d17a40cf --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcinch.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Inch-High Sans Serif Bold Extended Caps and Digits +if unknown cmbase: input cmbase fi +numeric Pt#; 250/36Pt#=1in#; +font_identifier:="CMCINCH"; font_size 10Pt#; + +u#:=22/36Pt#; % unit width +width_adj#:=22/36Pt#; % width adjustment for certain characters +serif_fit#:=-9/36Pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-11/36Pt#; % extra sidebar near uppercase serifs +letter_fit#:=0Pt#; % extra space added to all sidebars + +body_height#:=270/36Pt#; % height of tallest characters +asc_height#:=250/36Pt#; % height of lowercase ascenders +cap_height#:=250/36Pt#; % height of caps +fig_height#:=250/36Pt#; % height of numerals +x_height#:=165/36Pt#; % height of lowercase without ascenders +math_axis#:=90/36Pt#; % axis of symmetry for math symbols +bar_height#:=90/36Pt#; % height of crossbar in lowercase e +comma_depth#:=38/36Pt#; % depth of comma below baseline +desc_depth#:=70/36Pt#; % depth of lowercase descenders + +crisp#:=26/36Pt#; % diameter of serif corners +tiny#:=26/36Pt#; % diameter of rounded corners +fine#:=9/36Pt#; % diameter of sharply rounded corners +thin_join#:=9/36Pt#; % width of extrafine details +hair#:=49/36Pt#; % lowercase hairline breadth +stem#:=49/36Pt#; % lowercase stem breadth +curve#:=49/36Pt#; % lowercase curve breadth +ess#:=43/36Pt#; % breadth in middle of lowercase s +flare#:=40/36Pt#; % diameter of bulbs or breadth of terminals +dot_size#:=47/36Pt#; % diameter of dots +cap_hair#:=49/36Pt#; % uppercase hairline breadth +cap_stem#:=53/36Pt#; % uppercase stem breadth +cap_curve#:=53/36Pt#; % uppercase curve breadth +cap_ess#:=51/36Pt#; % breadth in middle of uppercase s +rule_thickness#:=30/36Pt#; % thickness of lines in math symbols + +dish#:=0Pt#; % amount erased at top or bottom of serifs +bracket#:=0Pt#; % vertical distance from serif base to tangent +jut#:=0Pt#; % protrusion of lowercase serifs +cap_jut#:=0Pt#; % protrusion of uppercase serifs +beak_jut#:=0Pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36Pt#; % vertical protrusion of beak serifs +vair#:=26/36Pt#; % vertical diameter of hairlines +notch_cut#:=49/36Pt#; % maximum breadth above or below notches +bar#:=26/36Pt#; % lowercase bar thickness +slab#:=36/36Pt#; % serif and arm thickness +cap_bar#:=34/36Pt#; % uppercase bar thickness +cap_band#:=31/36Pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=45/36Pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36Pt#; % vertical drop of sloped serifs +stem_corr#:=1/36Pt#; % for small refinements of stem breadth +vair_corr#:=2/36Pt#; % for small refinements of hairline height +apex_corr#:=18/36Pt#; % extra width at diagonal junctions + +o#:=8/36Pt#; % amount of overshoot for curves +apex_o#:=0Pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.88; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=3/4; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytitle % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcitt10.mf b/fonts/cyrillic/cmcyr/mf/cmcitt10.mf new file mode 100644 index 0000000000..17abe2b1ee --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcitt10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Italic Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCITT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=15/36pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=40/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc10.mf b/fonts/cyrillic/cmcyr/mf/cmcsc10.mf new file mode 100644 index 0000000000..a18894f98d --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc10.mf @@ -0,0 +1,110 @@ +% Computer Modern Roman Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=16/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.4/36pt#; % extra space added to all sidebars + +lower.body_height#:=200/36pt#; % height of tallest characters +lower.cap_height#:=185/36pt#; % height of caps +lower.x_height#:=116/36pt#; % height of lowercase without ascenders +lower.bar_height#:=65/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=52/36pt#; % depth of comma below baseline + +lower.flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.1/36pt#; % uppercase hairline breadth +lower.stem#:=21/36pt#; % lowercase stem breadth +lower.cap_stem#:=26/36pt#; % uppercase stem breadth +lower.cap_curve#:=31/36pt#; % uppercase curve breadth +lower.cap_ess#:=28/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=52/36pt#; % vertical protrusion of beak serifs +lower.slab#:=9.1/36pt#; % serif and arm thickness +lower.cap_bar#:=9.1/36pt#; % uppercase bar thickness +lower.cap_band#:=9.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches + +lower.o#:=5/36pt#; % amount of overshoot for curves +lower.apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc11.mf b/fonts/cyrillic/cmcyr/mf/cmcsc11.mf new file mode 100644 index 0000000000..c4bf1617e9 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc11.mf @@ -0,0 +1,109 @@ +% This is CMCSC11.MF in text format, as of Aug 26, 1986. +% Computer Modern Caps and Small Caps 11 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 11pt#; + +u#:=21.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.4/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=297/36pt#; % height of tallest characters +asc_height#:=275/36pt#; % height of lowercase ascenders +cap_height#:=270.6/36pt#; % height of caps +fig_height#:=255.2/36pt#; % height of numerals +x_height#:=170.5/36pt#; % height of lowercase without ascenders +math_axis#:=99/36pt#; % axis of symmetry for math symbols +bar_height#:=95.7/36pt#; % height of crossbar in lowercase e +comma_depth#:=77/36pt#; % depth of comma below baseline +desc_depth#:=77/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=25.67/36pt#; % lowercase stem breadth +curve#:=30.25/36pt#; % lowercase curve breadth +ess#:=27.5/36pt#; % breadth in middle of lowercase s +flare#:=34.5/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38.5/36pt#; % diameter of dots +cap_hair#:=11.15/36pt#; % uppercase hairline breadth +cap_stem#:=32.1/36pt#; % uppercase stem breadth +cap_curve#:=38.4/36pt#; % uppercase curve breadth +cap_ess#:=39.5/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.41pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=22/36pt#; % vertical distance from serif base to tangent +jut#:=30.25/36pt#; % protrusion of lowercase serifs +cap_jut#:=37.58/36pt#; % protrusion of uppercase serifs +beak_jut#:=10.45/36pt#; % horizontal protrusion of beak serifs +beak#:=77/36pt#; % vertical protrusion of beak serifs +vair#:=8.2/36pt#; % vertical diameter of hairlines +notch_cut#:=11pt#; % maximum breadth above or below notches +bar#:=11.46/36pt#; % lowercase bar thickness +slab#:=11.46/36pt#; % serif and arm thickness +cap_bar#:=11.46/36pt#; % uppercase bar thickness +cap_band#:=11.46/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=11pt#; % max breadth above/below uppercase notches +serif_drop#:=4.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8.25/36pt#; % amount of overshoot for curves +apex_o#:=8.25/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.08; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=17/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4.3/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.6/36pt#; % extra space added to all sidebars + +lower.body_height#:=219/36pt#; % height of tallest characters +lower.cap_height#:=203/36pt#; % height of caps +lower.x_height#:=127/36pt#; % height of lowercase without ascenders +lower.bar_height#:=71/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=57/36pt#; % depth of comma below baseline + +lower.flare#:=26/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.2/36pt#; % uppercase hairline breadth +lower.stem#:=21.56/36pt#; % lowercase stem breadth +lower.cap_stem#:=26/36pt#; % uppercase stem breadth +lower.cap_curve#:=32/36pt#; % uppercase curve breadth +lower.cap_ess#:=31.6/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26.3/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7.3/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=56/36pt#; % vertical protrusion of beak serifs +lower.slab#:=9.4/36pt#; % serif and arm thickness +lower.cap_bar#:=9.4/36pt#; % uppercase bar thickness +lower.cap_band#:=9.4/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=11pt#; % max breadth above/below uppercase notches + +lower.o#:=5.15/36pt#; % amount of overshoot for curves +lower.apex_o#:=4.12/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc12.mf b/fonts/cyrillic/cmcyr/mf/cmcsc12.mf new file mode 100644 index 0000000000..0f3bde5415 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc12.mf @@ -0,0 +1,109 @@ +% This is CMCSC12.MF in text format, as of August 26, 1986. +% Computer Modern Caps and Small Caps 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=30/36pt#; % breadth in middle of lowercase s +flare#:=36/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=35/36pt#; % uppercase stem breadth +cap_curve#:=40/36pt#; % uppercase curve breadth +cap_ess#:=38/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=33/36pt#; % protrusion of lowercase serifs +cap_jut#:=41/36pt#; % protrusion of uppercase serifs +beak_jut#:=11.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=18.8/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.88/36pt#; %extra space added to all sidebars + +lower.body_height#:=239/36pt#; % height of tallest characters +lower.cap_height#:=222/36pt#; % height of caps +lower.x_height#:=139/36pt#; % height of lowercase without ascenders +lower.bar_height#:=78/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=62/36pt#; % depth of comma below baseline + +lower.flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.5/36pt#; % uppercase hairline breadth +lower.stem#:=23.5/36pt#; % lowercase stem breadth +lower.cap_stem#:=28/36pt#; % uppercase stem breadth +lower.cap_curve#:=33/36pt#; % uppercase curve breadth +lower.cap_ess#:=30/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=28.7/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7.98/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=62/36pt#; % vertical protrusion of beak serifs +lower.slab#:=10.3/36pt#; % serif and arm thickness +lower.cap_bar#:=10.3/36pt#; % uppercase bar thickness +lower.cap_band#:=10.3/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches + +lower.o#:=5.6/36pt#; % amount of overshoot for curves +lower.apex_o#:=4.5/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc14.mf b/fonts/cyrillic/cmcyr/mf/cmcsc14.mf new file mode 100644 index 0000000000..c69e2a2474 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc14.mf @@ -0,0 +1,109 @@ +% This is CMCSC14.MF in text format, as of August 26, 1986. +% Computer Modern Caps and Small Caps 14 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 14pt#; + +u#:=27.4/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=6.77/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=378/36pt#; % height of tallest characters +asc_height#:=350/36pt#; % height of lowercase ascenders +cap_height#:=344.4/36pt#; % height of caps +fig_height#:=324.8/36pt#; % height of numerals +x_height#:=217/36pt#; % height of lowercase without ascenders +math_axis#:=126/36pt#; % axis of symmetry for math symbols +bar_height#:=121.8/36pt#; % height of crossbar in lowercase e +comma_depth#:=98/36pt#; % depth of comma below baseline +desc_depth#:=98/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=8.75/36pt#; % width of extrafine details +hair#:=11.08/36pt#; % lowercase hairline breadth +stem#:=32.66/36pt#; % lowercase stem breadth +curve#:=38.5/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=45/36pt#; % diameter of dots +cap_hair#:=13.4/36pt#; % uppercase hairline breadth +cap_stem#:=40.8/36pt#; % uppercase stem breadth +cap_curve#:=46.66/36pt#; % uppercase curve breadth +cap_ess#:=44.33/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.51pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=28/36pt#; % vertical distance from serif base to tangent +jut#:=38.5/36pt#; % protrusion of lowercase serifs +cap_jut#:=47.8/36pt#; % protrusion of uppercase serifs +beak_jut#:=13.3/36pt#; % horizontal protrusion of beak serifs +beak#:=98/36pt#; % vertical protrusion of beak serifs +vair#:=9.9/36pt#; % vertical diameter of hairlines +notch_cut#:=14pt#; % maximum breadth above or below notches +bar#:=14.58/36pt#; % lowercase bar thickness +slab#:=14.58/36pt#; % serif and arm thickness +cap_bar#:=14.58/36pt#; % uppercase bar thickness +cap_band#:=14.58/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=14pt#; % max breadth above/below uppercase notches +serif_drop#:=5.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=10.5/36pt#; % amount of overshoot for curves +apex_o#:=10.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=21.9/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=5.4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=3.3/36pt#; % extra space added to all sidebars + +lower.body_height#:=279/36pt#; % height of tallest characters +lower.cap_height#:=259/36pt#; % height of caps +lower.x_height#:=162/36pt#; % height of lowercase without ascenders +lower.bar_height#:=91/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=72.79/36pt#; % depth of comma below baseline + +lower.flare#:=31.8/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=11/36pt#; % up percase hairline breadth +lower.stem#:=27/36pt#; % lowercase stem breadth +lower.cap_stem#:=33/36pt#; % uppercase stem breadth +lower.cap_curve#:=39/36pt#; % uppercase curve breadth +lower.cap_ess#:=35/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=33/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=9.3/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=72/36pt#; % vertical protrusion of beak serifs +lower.slab#:=12/36pt#; % seri f and arm thickness +lower.cap_bar#:=12/36pt#; % upp ercase bar thickness +lower.cap_band#:=12/36pt#; % up percase thickness above/below lobes +lower.cap_notch_cut#:=14pt#; % max breadth above/below uppercase notches + +lower.o#:=6.5/36pt#; % amount of overshoot for curves +lower.apex_o#:=5.25/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc18.mf b/fonts/cyrillic/cmcyr/mf/cmcsc18.mf new file mode 100644 index 0000000000..549f8f26bb --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc18.mf @@ -0,0 +1,109 @@ +% This is CMCSC18.MF in text format, as of August 26, 1986. +% Computer Modern Caps and Small Caps 18 point (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 18pt#; + +u#:=35.25/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=8.7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=-0.12pt#; % extra space added to all sidebars + +body_height#:=486/36pt#; % height of tallest characters +asc_height#:=450/36pt#; % height of lowercase ascenders +cap_height#:=443/36pt#; % height of caps +fig_height#:=417.6/36pt#; % height of numerals +x_height#:=279/36pt#; % height of lowercase without ascenders +math_axis#:=162/36pt#; % axis of symmetry for math symbols +bar_height#:=156.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=126/36pt#; % depth of comma below baseline +desc_depth#:=126/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=10.7/36pt#; % width of extrafine details +hair#:=14.25/36pt#; % lowercase hairline breadth +stem#:=42/36pt#; % lowercase stem breadth +curve#:=49.5/36pt#; % lowercase curve breadth +ess#:=45/36pt#; % breadth in middle of lowercase s +flare#:=54/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=63/36pt#; % diameter of dots +cap_hair#:=17.25/36pt#; % uppercase hairline breadth +cap_stem#:=52.5/36pt#; % uppercase stem breadth +cap_curve#:=60/36pt#; % uppercase curve breadth +cap_ess#:=57/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.66pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=36/36pt#; % vertical distance from serif base to tangent +jut#:=49.5/36pt#; % protrusion of lowercase serifs +cap_jut#:=61.5/36pt#; % protrusion of uppercase serifs +beak_jut#:=17/36pt#; % horizontal protrusion of beak serifs +beak#:=126/36pt#; % vertical protrusion of beak serifs +vair#:=12.75/36pt#; % vertical diameter of hairlines +notch_cut#:=18pt#; % maximum breadth above or below notches +bar#:=18.75/36pt#; % lowercase bar thickness +slab#:=18.75/36pt#; % serif and arm thickness +cap_bar#:=18.75/36pt#; % uppercase bar thickness +cap_band#:=18.75/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=18pt#; % max breadth above/below uppercase notches +serif_drop#:=7.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=13.5/36pt#; % amount of overshoot for curves +apex_o#:=13.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=28/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=6.96/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=4.3/36pt#; % extra space added to all sidebars + +lower.body_height#:=359.6/36pt#; % height of tallest characters +lower.cap_height#:=333/36pt#; % height of caps +lower.x_height#:=208.6/36pt#; % height of lowercase without ascenders +lower.bar_height#:=116.9/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=93.59/36pt#; % depth of comma below baseline + +lower.flare#:=40.9/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=14/36pt#; % up percase hairline breadth +lower.stem#:=44/36pt#; % lowercase stem breadth +lower.cap_stem#:=42.5/36pt#; % uppercase stem breadth +lower.cap_curve#:=50/36pt#; % uppercase curve breadth +lower.cap_ess#:=45.6/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=43/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=11.9/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=93/36pt#; % vertical protrusion of beak serifs +lower.slab#:=15.5/36pt#; % seri f and arm thickness +lower.cap_bar#:=15.5/36pt#; % upp ercase bar thickness +lower.cap_band#:=15.5/36pt#; % up percase thickness above/below lobes +lower.cap_notch_cut#:=14pt#; % max breadth above/below uppercase notches + +lower.o#:=8.43/36pt#; % amount of overshoot for curves +lower.apex_o#:=6.75/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc24.mf b/fonts/cyrillic/cmcyr/mf/cmcsc24.mf new file mode 100644 index 0000000000..111a78647c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc24.mf @@ -0,0 +1,109 @@ +% This is CMCSC24.MF in text format, as of August 26, 1986. +% Computer Modern Caps and Small Caps 24 point (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 24pt#; + +u#:=47/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=11.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=-0.12pt#; % extra space added to all sidebars + +body_height#:=648/36pt#; % height of tallest characters +asc_height#:=600/36pt#; % height of lowercase ascenders +cap_height#:=590.4/36pt#; % height of caps +fig_height#:=556.8/36pt#; % height of numerals +x_height#:=372/36pt#; % height of lowercase without ascenders +math_axis#:=216/36pt#; % axis of symmetry for math symbols +bar_height#:=208.8/36pt#; % height of crossbar in lowercase e +comma_depth#:=168/36pt#; % depth of comma below baseline +desc_depth#:=168/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=15/36pt#; % width of extrafine details +hair#:=19/36pt#; % lowercase hairline breadth +stem#:=56/36pt#; % lowercase stem breadth +curve#:=66/36pt#; % lowercase curve breadth +ess#:=60/36pt#; % breadth in middle of lowercase s +flare#:=72/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=84/36pt#; % diameter of dots +cap_hair#:=23/36pt#; % uppercase hairline breadth +cap_stem#:=70/36pt#; % uppercase stem breadth +cap_curve#:=80/36pt#; % uppercase curve breadth +cap_ess#:=76/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.88pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=48/36pt#; % vertical distance from serif base to tangent +jut#:=66/36pt#; % protrusion of lowercase serifs +cap_jut#:=82/36pt#; % protrusion of uppercase serifs +beak_jut#:=22.8/36pt#; % horizontal protrusion of beak serifs +beak#:=168/36pt#; % vertical protrusion of beak serifs +vair#:=17/36pt#; % vertical diameter of hairlines +notch_cut#:=24pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=25/36pt#; % serif and arm thickness +cap_bar#:=25/36pt#; % uppercase bar thickness +cap_band#:=25/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24pt#; % max breadth above/below uppercase notches +serif_drop#:=9.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=18/36pt#; % amount of overshoot for curves +apex_o#:=18/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-1.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=37.6/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=9/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=5.7/36pt#; % extra space added to all sidebars + +lower.body_height#:=479/36pt#; % height of tallest characters +lower.cap_height#:=443.9/36pt#; % height of caps +lower.x_height#:=278/36pt#; % height of lowercase without ascenders +lower.bar_height#:=155.9/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=124.7/36pt#; % depth of comma below baseline + +lower.flare#:=54.5/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=19/36pt#; % up percase hairline breadth +lower.stem#:=47/36pt#; % lowercase stem breadth +lower.cap_stem#:=56.7/36pt#; % uppercase stem breadth +lower.cap_curve#:=66.9/36pt#; % uppercase curve breadth +lower.cap_ess#:=60.8/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=57/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=15.96/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=124/36pt#; % vertical protrusion of beak serifs +lower.slab#:=20.6/36pt#; % serif and arm thickness +lower.cap_bar#:=20.6/36pt#; % uppercase bar thickness +lower.cap_band#:=20.6/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=24pt#; % max breadth above/below uppercase notches + +lower.o#:=11.25/36pt#; % amount of overshoot for curves +lower.apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc36.mf b/fonts/cyrillic/cmcyr/mf/cmcsc36.mf new file mode 100644 index 0000000000..cda54cc9c1 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc36.mf @@ -0,0 +1,109 @@ +% This is CMCSC36.MF in text format, as of August 26, 1986. +% Computer Modern Caps and Small Caps 36 point (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 36pt#; + +u#:=64.1/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=15.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=972/36pt#; % height of tallest characters +asc_height#:=900/36pt#; % height of lowercase ascenders +cap_height#:=885.6/36pt#; % height of caps +fig_height#:=835.2/36pt#; % height of numerals +x_height#:=558/36pt#; % height of lowercase without ascenders +math_axis#:=324/36pt#; % axis of symmetry for math symbols +bar_height#:=313.2/36pt#; % height of crossbar in lowercase e +comma_depth#:=252/36pt#; % depth of comma below baseline +desc_depth#:=252/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=20.45/36pt#; % width of extrafine details +hair#:=25.9/36pt#; % lowercase hairline breadth +stem#:=76.36/36pt#; % lowercase stem breadth +curve#:=90/36pt#; % lowercase curve breadth +ess#:=81.8/36pt#; % breadth in middle of lowercase s +flare#:=98/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=114.5/36pt#; % diameter of dots +cap_hair#:=31.36/36pt#; % uppercase hairline breadth +cap_stem#:=95.45/36pt#; % uppercase stem breadth +cap_curve#:=109/36pt#; % uppercase curve breadth +cap_ess#:=103.6/36pt#; % breadth in middle of uppercase s +rule_thickness#:=1.2pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=72/36pt#; % vertical distance from serif base to tangent +jut#:=90/36pt#; % protrusion of lowercase serifs +cap_jut#:=111.8/36pt#; % protrusion of uppercase serifs +beak_jut#:=31/36pt#; % horizontal protrusion of beak serifs +beak#:=252/36pt#; % vertical protrusion of beak serifs +vair#:=23/36pt#; % vertical diameter of hairlines +notch_cut#:=36pt#; % maximum breadth above or below notches +bar#:=34/36pt#; % lowercase bar thickness +slab#:=34/36pt#; % serif and arm thickness +cap_bar#:=34/36pt#; % uppercase bar thickness +cap_band#:=34/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=36pt#; % max breadth above/below uppercase notches +serif_drop#:=14.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=24.5/36pt#; % amount of overshoot for curves +apex_o#:=24.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-2.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=51.28/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=12.6/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=8.6/36pt#; % extra space added to all sidebars + +lower.body_height#:=719/36pt#; % height of tallest characters +lower.cap_height#:=665.9/36pt#; % height of caps +lower.x_height#:=417/36pt#; % height of lowercase without ascenders +lower.bar_height#:=233.9/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=187/36pt#; % depth of comma below baseline + +lower.flare#:=74/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=25.9/36pt#; % uppercase hairline breadth +lower.stem#:=80/36pt#; % lowercase stem breadth +lower.cap_stem#:=77/36pt#; % uppercase stem breadth +lower.cap_curve#:=91/36pt#; % uppercase curve breadth +lower.cap_ess#:=82.88/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=78/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=21/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=186/36pt#; % vertical protrusion of beak serifs +lower.slab#:=28/36pt#; % seri f and arm thickness +lower.cap_bar#:=28/36pt#; % upp ercase bar thickness +lower.cap_band#:=28/36pt#; % up percase thickness above/below lobes +lower.cap_notch_cut#:=36pt#; % max breadth above/below uppercase notches + +lower.o#:=15.3/36pt#; % amount of overshoot for curves +lower.apex_o#:=12.25/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc8.mf b/fonts/cyrillic/cmcyr/mf/cmcsc8.mf new file mode 100644 index 0000000000..e7a3f68868 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc8.mf @@ -0,0 +1,115 @@ +% CMCSC8.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Roman Cap and Small Cap 8 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 8pt#; + +u#:=18/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2.5/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=13/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=2.7/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=4/36pt#; % extra space added to all sidebars + +lower.body_height#:=146/36pt#; % height of tallest characters +lower.cap_height#:=145.8/36pt#; % height of caps +lower.x_height#:=85/36pt#; % height of lowercase without ascenders +lower.bar_height#:=47.6/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=38/36pt#; % depth of comma below baseline + +lower.flare#:=20/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.1/36pt#; % uppercase hairline breadth +lower.stem#:=17/36pt#; % lowercase stem breadth +lower.cap_stem#:=21/36pt#; % uppercase stem breadth +lower.cap_curve#:=25/36pt#; % uppercase curve breadth +lower.cap_ess#:=20/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=20/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=5.4/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=38/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.1/36pt#; % serif and arm thickness +lower.cap_bar#:=8.1/36pt#; % uppercase bar thickness +lower.cap_band#:=8.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches + +lower.o#:=4/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsc9.mf b/fonts/cyrillic/cmcyr/mf/cmcsc9.mf new file mode 100644 index 0000000000..599bcd3ca0 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsc9.mf @@ -0,0 +1,115 @@ +% CMCSC9.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Roman Caps and Small Caps 9 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSC"; font_size 9pt#; + +u#:=19/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=14.5/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=3.4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +lower.body_height#:=173/36pt#; % height of tallest characters +lower.cap_height#:=170.4/36pt#; % height of caps +lower.x_height#:=100.5/36pt#; % height of lowercase without ascenders +lower.bar_height#:=56.3/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=45/36pt#; % depth of comma below baseline + +lower.flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.6/36pt#; % uppercase hairline breadth +lower.stem#:=19/36pt#; % lowercase stem breadth +lower.cap_stem#:=23.5/36pt#; % uppercase stem breadth +lower.cap_curve#:=28/36pt#; % uppercase curve breadth +lower.cap_ess#:=24/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=23/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=6.2/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=45/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.6/36pt#; % serif and arm thickness +lower.cap_bar#:=8.6/36pt#; % uppercase bar thickness +lower.cap_band#:=8.6/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches + +lower.o#:=4.5/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcscsl1.mf b/fonts/cyrillic/cmcyr/mf/cmcscsl1.mf new file mode 100644 index 0000000000..72c35f4a1e --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcscsl1.mf @@ -0,0 +1,110 @@ +% Computer Modern Roman Caps and Small Caps Slanted 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSCSL"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=16/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.4/36pt#; % extra space added to all sidebars + +lower.body_height#:=200/36pt#; % height of tallest characters +lower.cap_height#:=185/36pt#; % height of caps +lower.x_height#:=116/36pt#; % height of lowercase without ascenders +lower.bar_height#:=65/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=52/36pt#; % depth of comma below baseline + +lower.flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.1/36pt#; % uppercase hairline breadth +lower.stem#:=21/36pt#; % lowercase stem breadth +lower.cap_stem#:=26/36pt#; % uppercase stem breadth +lower.cap_curve#:=31/36pt#; % uppercase curve breadth +lower.cap_ess#:=28/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=52/36pt#; % vertical protrusion of beak serifs +lower.slab#:=9.1/36pt#; % serif and arm thickness +lower.cap_bar#:=9.1/36pt#; % uppercase bar thickness +lower.cap_band#:=9.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches + +lower.o#:=5/36pt#; % amount of overshoot for curves +lower.apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate csc % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsl10.mf b/fonts/cyrillic/cmcyr/mf/cmcsl10.mf new file mode 100644 index 0000000000..a1642bf832 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsl10.mf @@ -0,0 +1,76 @@ +% Computer Modern Cyrillic Slanted 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSL"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsl12.mf b/fonts/cyrillic/cmcyr/mf/cmcsl12.mf new file mode 100644 index 0000000000..b0bdc89b6d --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsl12.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Slanted Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSL"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=30/36pt#; % breadth in middle of lowercase s +flare#:=36/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=35/36pt#; % uppercase stem breadth +cap_curve#:=40/36pt#; % uppercase curve breadth +cap_ess#:=38/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=33/36pt#; % protrusion of lowercase serifs +cap_jut#:=41/36pt#; % protrusion of uppercase serifs +beak_jut#:=11.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsl8.mf b/fonts/cyrillic/cmcyr/mf/cmcsl8.mf new file mode 100644 index 0000000000..3a7786b83c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsl8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Slanted Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSL"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsl9.mf b/fonts/cyrillic/cmcyr/mf/cmcsl9.mf new file mode 100644 index 0000000000..0b7943f5f5 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsl9.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Slanted Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSL"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcsltt1.mf b/fonts/cyrillic/cmcyr/mf/cmcsltt1.mf new file mode 100644 index 0000000000..7a78d2da49 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcsltt1.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSLTT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcss10.mf b/fonts/cyrillic/cmcyr/mf/cmcss10.mf new file mode 100644 index 0000000000..46e67290ab --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcss10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSS"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-7/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-10/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=28/36pt#; % breadth in middle of lowercase s +flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=30/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=32/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=18/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=23/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=20/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.96; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcss12.mf b/fonts/cyrillic/cmcyr/mf/cmcss12.mf new file mode 100644 index 0000000000..44ef72a99c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcss12.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif 12 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSS"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=17/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-13/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=300/36pt#; % height of caps +fig_height#:=283/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=97/36pt#; % height of crossbar in lowercase e +comma_depth#:=54/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=33/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=33/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=33/36pt#; % uppercase hairline breadth +cap_stem#:=37/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.6/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=27/36pt#; % serif and arm thickness +cap_bar#:=26/36pt#; % uppercase bar thickness +cap_band#:=24/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=31/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.98; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcss17.mf b/fonts/cyrillic/cmcyr/mf/cmcss17.mf new file mode 100644 index 0000000000..ca5a4a5a88 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcss17.mf @@ -0,0 +1,75 @@ +% Computer Modern Sans Serif 17 pt (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSS"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=24/36pt#; % width adjustment for certain characters +serif_fit#:=-12/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-17/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=432/36pt#; % height of caps +fig_height#:=408/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=136/36pt#; % height of crossbar in lowercase e +comma_depth#:=78/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=28/36pt#; % width of extrafine details +hair#:=47/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=47/36pt#; % lowercase curve breadth +ess#:=47/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=50/36pt#; % diameter of dots +cap_hair#:=47/36pt#; % uppercase hairline breadth +cap_stem#:=52/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=52/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.8/36pt#; % vertical protrusion of beak serifs +vair#:=38/36pt#; % vertical diameter of hairlines +notch_cut#:=32/36pt#; % maximum breadth above or below notches +bar#:=36/36pt#; % lowercase bar thickness +slab#:=40/36pt#; % serif and arm thickness +cap_bar#:=38/36pt#; % uppercase bar thickness +cap_band#:=35/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=46/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=7/36pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcss8.mf b/fonts/cyrillic/cmcyr/mf/cmcss8.mf new file mode 100644 index 0000000000..9421bcad47 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcss8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif 8 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSS"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=12/36pt#; % width adjustment for certain characters +serif_fit#:=-6/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-8.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=200/36pt#; % height of caps +fig_height#:=189/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=37/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=15/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=29/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.4/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=16/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=20/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.93; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcss9.mf b/fonts/cyrillic/cmcyr/mf/cmcss9.mf new file mode 100644 index 0000000000..5a729d920b --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcss9.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif 9 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSS"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=-6.5/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=41/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=16/36pt#; % width of extrafine details +hair#:=27/36pt#; % lowercase hairline breadth +stem#:=27/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=27/36pt#; % uppercase hairline breadth +cap_stem#:=31/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=17/36pt#; % maximum breadth above or below notches +bar#:=20/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4.5/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssbx1.mf b/fonts/cyrillic/cmcyr/mf/cmcssbx1.mf new file mode 100644 index 0000000000..e08c03533c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssbx1.mf @@ -0,0 +1,75 @@ +% Computer Modern Sans Serif Bold Extended 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSBX"; font_size 10pt#; + +u#:=22/36pt#; % unit width +width_adj#:=22/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-11/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=250/36pt#; % height of numerals +x_height#:=165/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=90/36pt#; % height of crossbar in lowercase e +comma_depth#:=38/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=26/36pt#; % diameter of serif corners +tiny#:=26/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=49/36pt#; % lowercase hairline breadth +stem#:=49/36pt#; % lowercase stem breadth +curve#:=49/36pt#; % lowercase curve breadth +ess#:=43/36pt#; % breadth in middle of lowercase s +flare#:=40/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=47/36pt#; % diameter of dots +cap_hair#:=49/36pt#; % uppercase hairline breadth +cap_stem#:=53/36pt#; % uppercase stem breadth +cap_curve#:=53/36pt#; % uppercase curve breadth +cap_ess#:=51/36pt#; % breadth in middle of uppercase s +rule_thickness#:=30/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=49/36pt#; % maximum breadth above or below notches +bar#:=26/36pt#; % lowercase bar thickness +slab#:=36/36pt#; % serif and arm thickness +cap_bar#:=34/36pt#; % uppercase bar thickness +cap_band#:=31/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=45/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=2/36pt#; % for small refinements of hairline height +apex_corr#:=18/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.88; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=3/4; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssdc1.mf b/fonts/cyrillic/cmcyr/mf/cmcssdc1.mf new file mode 100644 index 0000000000..f2bcb097eb --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssdc1.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif Demibold Condensed 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSDC"; font_size 10pt#; + +u#:=19/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-8/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=250/36pt#; % height of numerals +x_height#:=170/36pt#; % height of lowercase without ascenders +math_axis#:=95/36pt#; % axis of symmetry for math symbols +bar_height#:=95/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=60/36pt#; % depth of lowercase descenders + +crisp#:=23/36pt#; % diameter of serif corners +tiny#:=23/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=40/36pt#; % lowercase hairline breadth +stem#:=40/36pt#; % lowercase stem breadth +curve#:=40/36pt#; % lowercase curve breadth +ess#:=37/36pt#; % breadth in middle of lowercase s +flare#:=31/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=40/36pt#; % uppercase hairline breadth +cap_stem#:=44/36pt#; % uppercase stem breadth +cap_curve#:=44/36pt#; % uppercase curve breadth +cap_ess#:=42/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36pt#; % vertical protrusion of beak serifs +vair#:=23/36pt#; % vertical diameter of hairlines +notch_cut#:=40/36pt#; % maximum breadth above or below notches +bar#:=23/36pt#; % lowercase bar thickness +slab#:=31/36pt#; % serif and arm thickness +cap_bar#:=29/36pt#; % uppercase bar thickness +cap_band#:=27/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=37/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=2/36pt#; % for small refinements of hairline height +apex_corr#:=14/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.91; % factor applied to weights of heavy characters +math_spread:=.3; % extra openness of math symbols +superness:=.74; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic; % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssi10.mf b/fonts/cyrillic/cmcyr/mf/cmcssi10.mf new file mode 100644 index 0000000000..69a36bf35f --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssi10.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Sans Serif 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSI"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-7/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-10/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=28/36pt#; % breadth in middle of lowercase s +flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=30/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=32/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=18/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=23/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=20/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.96; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssi12.mf b/fonts/cyrillic/cmcyr/mf/cmcssi12.mf new file mode 100644 index 0000000000..6055fef435 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssi12.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Sans Serif 12 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSI"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=17/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-13/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=300/36pt#; % height of caps +fig_height#:=283/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=97/36pt#; % height of crossbar in lowercase e +comma_depth#:=54/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=33/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=33/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=33/36pt#; % uppercase hairline breadth +cap_stem#:=37/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.6/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=27/36pt#; % serif and arm thickness +cap_bar#:=26/36pt#; % uppercase bar thickness +cap_band#:=24/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=31/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.98; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssi17.mf b/fonts/cyrillic/cmcyr/mf/cmcssi17.mf new file mode 100644 index 0000000000..04aef08adb --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssi17.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Sans Serif 17 pt (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSI"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=24/36pt#; % width adjustment for certain characters +serif_fit#:=-12/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-17/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=432/36pt#; % height of caps +fig_height#:=408/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=136/36pt#; % height of crossbar in lowercase e +comma_depth#:=78/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=28/36pt#; % width of extrafine details +hair#:=47/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=47/36pt#; % lowercase curve breadth +ess#:=47/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=50/36pt#; % diameter of dots +cap_hair#:=47/36pt#; % uppercase hairline breadth +cap_stem#:=52/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=52/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.8/36pt#; % vertical protrusion of beak serifs +vair#:=38/36pt#; % vertical diameter of hairlines +notch_cut#:=32/36pt#; % maximum breadth above or below notches +bar#:=36/36pt#; % lowercase bar thickness +slab#:=40/36pt#; % serif and arm thickness +cap_bar#:=38/36pt#; % uppercase bar thickness +cap_band#:=35/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=46/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=7/36pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssi8.mf b/fonts/cyrillic/cmcyr/mf/cmcssi8.mf new file mode 100644 index 0000000000..ba508b26a6 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssi8.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Sans Serif 8 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSI"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=12/36pt#; % width adjustment for certain characters +serif_fit#:=-6/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-8.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=200/36pt#; % height of caps +fig_height#:=189/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=37/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=15/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=29/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.4/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=16/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=20/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.93; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssi9.mf b/fonts/cyrillic/cmcyr/mf/cmcssi9.mf new file mode 100644 index 0000000000..a8285eb43a --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssi9.mf @@ -0,0 +1,75 @@ +% Computer Modern Slanted Sans Serif 9 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSI"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=-6.5/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=41/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=16/36pt#; % width of extrafine details +hair#:=27/36pt#; % lowercase hairline breadth +stem#:=27/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=27/36pt#; % uppercase hairline breadth +cap_stem#:=31/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=17/36pt#; % maximum breadth above or below notches +bar#:=20/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4.5/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssq8.mf b/fonts/cyrillic/cmcyr/mf/cmcssq8.mf new file mode 100644 index 0000000000..288e03b6d5 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssq8.mf @@ -0,0 +1,75 @@ +% Computer Modern Sans Serif Quotation Style 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMSSQ"; font_size 8pt#; + +u#:=20/36pt#; % unit width +width_adj#:=2/36pt#; % width adjustment for certain characters +serif_fit#:=-10/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-14/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=220/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197/36pt#; % height of caps +fig_height#:=190/36pt#; % height of numerals +x_height#:=150/36pt#; % height of lowercase without ascenders +math_axis#:=80/36pt#; % axis of symmetry for math symbols +bar_height#:=80/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=40/36pt#; % depth of lowercase descenders + +crisp#:=18/36pt#; % diameter of serif corners +tiny#:=18/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=23/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=23/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=20/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=0pt#; % vertical protrusion of beak serifs +vair#:=18/36pt#; % vertical diameter of hairlines +notch_cut#:=23/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=23/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=.5/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/10; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcssqi8.mf b/fonts/cyrillic/cmcyr/mf/cmcssqi8.mf new file mode 100644 index 0000000000..0bdcff574c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcssqi8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif Quotation Style Slanted 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCSSQI"; font_size 8pt#; + +u#:=20/36pt#; % unit width +width_adj#:=2/36pt#; % width adjustment for certain characters +serif_fit#:=-10/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-14/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=220/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197/36pt#; % height of caps +fig_height#:=190/36pt#; % height of numerals +x_height#:=150/36pt#; % height of lowercase without ascenders +math_axis#:=80/36pt#; % axis of symmetry for math symbols +bar_height#:=80/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=40/36pt#; % depth of lowercase descenders + +crisp#:=18/36pt#; % diameter of serif corners +tiny#:=18/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=23/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=23/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=20/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=0pt#; % vertical protrusion of beak serifs +vair#:=18/36pt#; % vertical diameter of hairlines +notch_cut#:=23/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=23/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=.5/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/10; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcti10.mf b/fonts/cyrillic/cmcyr/mf/cmcti10.mf new file mode 100644 index 0000000000..0518eb5883 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcti10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Text Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTI"; font_size 10pt#; + +u#:=18.4/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.2/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=34/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=9/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcti12.mf b/fonts/cyrillic/cmcyr/mf/cmcti12.mf new file mode 100644 index 0000000000..ac8ed9f474 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcti12.mf @@ -0,0 +1,75 @@ +% Computer Modern Text Italic 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTI"; font_size 12pt#; + +u#:=21.6/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=10.8/36pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=12/36pt#; % lowercase hairline breadth +stem#:=26/36pt#; % lowercase stem breadth +curve#:=31/36pt#; % lowercase curve breadth +ess#:=29/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=34/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=35/36pt#; % protrusion of lowercase serifs +cap_jut#:=38/36pt#; % protrusion of uppercase serifs +beak_jut#:=10.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcti7.mf b/fonts/cyrillic/cmcyr/mf/cmcti7.mf new file mode 100644 index 0000000000..6f8c98e9f0 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcti7.mf @@ -0,0 +1,75 @@ +% Computer Modern Text Italic 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTI"; font_size 7pt#; + +u#:=14.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.4/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=7/36pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=10.5/36pt#; % lowercase hairline breadth +stem#:=18.5/36pt#; % lowercase stem breadth +curve#:=21.5/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=10.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24.5/36pt#; % uppercase curve breadth +cap_ess#:=21/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=21/36pt#; % protrusion of lowercase serifs +cap_jut#:=24/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.4/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcti8.mf b/fonts/cyrillic/cmcyr/mf/cmcti8.mf new file mode 100644 index 0000000000..38d01fe325 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcti8.mf @@ -0,0 +1,75 @@ +% Computer Modern Text Italic 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTI"; font_size 8pt#; + +u#:=15.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=7.9/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=23.5/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=24/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.9/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcti9.mf b/fonts/cyrillic/cmcyr/mf/cmcti9.mf new file mode 100644 index 0000000000..0e65e8ceeb --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcti9.mf @@ -0,0 +1,75 @@ +% Computer Modern Text Italic 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTI"; font_size 9pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=8.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=26/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=26/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=26/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=30.5/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.5/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmctitle.mf b/fonts/cyrillic/cmcyr/mf/cmctitle.mf new file mode 100644 index 0000000000..2bbc08c01e --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmctitle.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Sans Serif Demibold Condensed 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="CMCtitle"; font_size 10pt#; + +u#:=19/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-8/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=250/36pt#; % height of numerals +x_height#:=170/36pt#; % height of lowercase without ascenders +math_axis#:=95/36pt#; % axis of symmetry for math symbols +bar_height#:=95/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=60/36pt#; % depth of lowercase descenders + +crisp#:=23/36pt#; % diameter of serif corners +tiny#:=23/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=40/36pt#; % lowercase hairline breadth +stem#:=40/36pt#; % lowercase stem breadth +curve#:=40/36pt#; % lowercase curve breadth +ess#:=37/36pt#; % breadth in middle of lowercase s +flare#:=31/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=40/36pt#; % uppercase hairline breadth +cap_stem#:=44/36pt#; % uppercase stem breadth +cap_curve#:=44/36pt#; % uppercase curve breadth +cap_ess#:=42/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36pt#; % vertical protrusion of beak serifs +vair#:=23/36pt#; % vertical diameter of hairlines +notch_cut#:=40/36pt#; % maximum breadth above or below notches +bar#:=23/36pt#; % lowercase bar thickness +slab#:=31/36pt#; % serif and arm thickness +cap_bar#:=29/36pt#; % uppercase bar thickness +cap_band#:=27/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=37/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=2/36pt#; % for small refinements of hairline height +apex_corr#:=14/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.91; % factor applied to weights of heavy characters +math_spread:=.3; % extra openness of math symbols +superness:=.74; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytitle; % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmctt10.mf b/fonts/cyrillic/cmcyr/mf/cmctt10.mf new file mode 100644 index 0000000000..59c4a5f9ad --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmctt10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmctt12.mf b/fonts/cyrillic/cmcyr/mf/cmctt12.mf new file mode 100644 index 0000000000..8c897e5363 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmctt12.mf @@ -0,0 +1,75 @@ +% Computer Modern Typewriter Text for use with 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTT"; font_size 12pt#; + +u#:=24.7/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=300/36pt#; % height of tallest characters +asc_height#:=264/36pt#; % height of lowercase ascenders +cap_height#:=264/36pt#; % height of caps +fig_height#:=264/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=132/36pt#; % axis of symmetry for math symbols +bar_height#:=95/36pt#; % height of crossbar in lowercase e +comma_depth#:=60/36pt#; % depth of comma below baseline +desc_depth#:=96/36pt#; % depth of lowercase descenders + +crisp#:=25/36pt#; % diameter of serif corners +tiny#:=25/36pt#; % diameter of rounded corners +fine#:=22/36pt#; % diameter of sharply rounded corners +thin_join#:=22/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=35/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=39/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=28/36pt#; % uppercase stem breadth +cap_curve#:=28/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=28/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=39/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=39/36pt#; % vertical protrusion of beak serifs +vair#:=25/36pt#; % vertical diameter of hairlines +notch_cut#:=28/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=25/36pt#; % serif and arm thickness +cap_bar#:=25/36pt#; % uppercase bar thickness +cap_band#:=25/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=28/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=11/36pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.86; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmctt8.mf b/fonts/cyrillic/cmcyr/mf/cmctt8.mf new file mode 100644 index 0000000000..39fa39be75 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmctt8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Typewriter Text for use with 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTT"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=200/36pt#; % height of tallest characters +asc_height#:=176/36pt#; % height of lowercase ascenders +cap_height#:=176/36pt#; % height of caps +fig_height#:=176/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=88/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=64/36pt#; % depth of lowercase descenders + +crisp#:=19/36pt#; % diameter of serif corners +tiny#:=19/36pt#; % diameter of rounded corners +fine#:=18/36pt#; % diameter of sharply rounded corners +thin_join#:=18/36pt#; % width of extrafine details +hair#:=22/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=22/36pt#; % lowercase curve breadth +ess#:=19/36pt#; % breadth in middle of lowercase s +flare#:=28/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=31/36pt#; % diameter of dots +cap_hair#:=22/36pt#; % uppercase hairline breadth +cap_stem#:=22/36pt#; % uppercase stem breadth +cap_curve#:=22/36pt#; % uppercase curve breadth +cap_ess#:=22/36pt#; % breadth in middle of uppercase s +rule_thickness#:=22/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=27/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=19/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=8/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmctt9.mf b/fonts/cyrillic/cmcyr/mf/cmctt9.mf new file mode 100644 index 0000000000..3c2b7aa521 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmctt9.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Typewriter Text for use with 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCTT"; font_size 9pt#; + +u#:=18.9/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=225/36pt#; % height of tallest characters +asc_height#:=198/36pt#; % height of lowercase ascenders +cap_height#:=198/36pt#; % height of caps +fig_height#:=198/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=99/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=72/36pt#; % depth of lowercase descenders + +crisp#:=21/36pt#; % diameter of serif corners +tiny#:=21/36pt#; % diameter of rounded corners +fine#:=20/36pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=24/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=24/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=33/36pt#; % diameter of dots +cap_hair#:=24/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=24/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=31/36pt#; % protrusion of lowercase serifs +cap_jut#:=31/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=31/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=24/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=9/36pt#; % extra width at diagonal junctions + +o#:=3.5/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcu10.mf b/fonts/cyrillic/cmcyr/mf/cmcu10.mf new file mode 100644 index 0000000000..1d196d505c --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcu10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Unslanted Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCU"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=10/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cytextit % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr10.mf b/fonts/cyrillic/cmcyr/mf/cmcyr10.mf new file mode 100644 index 0000000000..c4668ae1e3 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr10.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr12.mf b/fonts/cyrillic/cmcyr/mf/cmcyr12.mf new file mode 100644 index 0000000000..ea46935523 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr12.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=30/36pt#; % breadth in middle of lowercase s +flare#:=36/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=35/36pt#; % uppercase stem breadth +cap_curve#:=40/36pt#; % uppercase curve breadth +cap_ess#:=38/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=33/36pt#; % protrusion of lowercase serifs +cap_jut#:=41/36pt#; % protrusion of uppercase serifs +beak_jut#:=11.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr17.mf b/fonts/cyrillic/cmcyr/mf/cmcyr17.mf new file mode 100644 index 0000000000..e4f6a805be --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr17.mf @@ -0,0 +1,75 @@ +% Computer Modern Roman 17 point (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=-0.1pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=425/36pt#; % height of caps +fig_height#:=401/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=150/36pt#; % height of crossbar in lowercase e +comma_depth#:=121/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=41/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=51/36pt#; % diameter of dots +cap_hair#:=13/36pt#; % uppercase hairline breadth +cap_stem#:=40/36pt#; % uppercase stem breadth +cap_curve#:=48/36pt#; % uppercase curve breadth +cap_ess#:=43/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=34/36pt#; % vertical distance from serif base to tangent +jut#:=42/36pt#; % protrusion of lowercase serifs +cap_jut#:=50/36pt#; % protrusion of uppercase serifs +beak_jut#:=15/36pt#; % horizontal protrusion of beak serifs +beak#:=121/36pt#; % vertical protrusion of beak serifs +vair#:=10/36pt#; % vertical diameter of hairlines +notch_cut#:=17pt#; % maximum breadth above or below notches +bar#:=16/36pt#; % lowercase bar thickness +slab#:=16/36pt#; % serif and arm thickness +cap_bar#:=16/36pt#; % uppercase bar thickness +cap_band#:=16/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=17pt#; % max breadth above/below uppercase notches +serif_drop#:=17/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=10/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr5.mf b/fonts/cyrillic/cmcyr/mf/cmcyr5.mf new file mode 100644 index 0000000000..8379a51d22 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr5.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic 5 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 5pt#; + +u#:=12.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=135/36pt#; % height of tallest characters +asc_height#:=125/36pt#; % height of lowercase ascenders +cap_height#:=123/36pt#; % height of caps +fig_height#:=116/36pt#; % height of numerals +x_height#:=77.5/36pt#; % height of lowercase without ascenders +math_axis#:=45/36pt#; % axis of symmetry for math symbols +bar_height#:=43.5/36pt#; % height of crossbar in lowercase e +comma_depth#:=35/36pt#; % depth of comma below baseline +desc_depth#:=35/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=6/36pt#; % diameter of rounded corners +fine#:=5/36pt#; % diameter of sharply rounded corners +thin_join#:=5/36pt#; % width of extrafine details +hair#:=7.5/36pt#; % lowercase hairline breadth +stem#:=16/36pt#; % lowercase stem breadth +curve#:=18/36pt#; % lowercase curve breadth +ess#:=12/36pt#; % breadth in middle of lowercase s +flare#:=19/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=22/36pt#; % diameter of dots +cap_hair#:=8/36pt#; % uppercase hairline breadth +cap_stem#:=19/36pt#; % uppercase stem breadth +cap_curve#:=21/36pt#; % uppercase curve breadth +cap_ess#:=14/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.28pt#; % thickness of lines in math symbols + +dish#:=.7/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=20/36pt#; % protrusion of uppercase serifs +beak_jut#:=6/36pt#; % horizontal protrusion of beak serifs +beak#:=35/36pt#; % vertical protrusion of beak serifs +vair#:=6/36pt#; % vertical diameter of hairlines +notch_cut#:=5pt#; % maximum breadth above or below notches +bar#:=8/36pt#; % lowercase bar thickness +slab#:=8/36pt#; % serif and arm thickness +cap_bar#:=8/36pt#; % uppercase bar thickness +cap_band#:=8/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=.7/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr6.mf b/fonts/cyrillic/cmcyr/mf/cmcyr6.mf new file mode 100644 index 0000000000..ebc07e907b --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr6.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic 6 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 6pt#; + +u#:=14/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3/36pt#; % extra space added to all sidebars + +body_height#:=162/36pt#; % height of tallest characters +asc_height#:=150/36pt#; % height of lowercase ascenders +cap_height#:=147.6/36pt#; % height of caps +fig_height#:=139.2/36pt#; % height of numerals +x_height#:=93/36pt#; % height of lowercase without ascenders +math_axis#:=54/36pt#; % axis of symmetry for math symbols +bar_height#:=52.2/36pt#; % height of crossbar in lowercase e +comma_depth#:=42/36pt#; % depth of comma below baseline +desc_depth#:=42/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8/36pt#; % lowercase hairline breadth +stem#:=18/36pt#; % lowercase stem breadth +curve#:=20.5/36pt#; % lowercase curve breadth +ess#:=17/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=8.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=19/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.31pt#; % thickness of lines in math symbols + +dish#:=.8/36pt#; % amount erased at top or bottom of serifs +bracket#:=12/36pt#; % vertical distance from serif base to tangent +jut#:=17/36pt#; % protrusion of lowercase serifs +cap_jut#:=23/36pt#; % protrusion of uppercase serifs +beak_jut#:=6.8/36pt#; % horizontal protrusion of beak serifs +beak#:=42/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=6pt#; % maximum breadth above or below notches +bar#:=8.5/36pt#; % lowercase bar thickness +slab#:=8.5/36pt#; % serif and arm thickness +cap_bar#:=8.5/36pt#; % uppercase bar thickness +cap_band#:=8.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=6pt#; % max breadth above/below uppercase notches +serif_drop#:=2.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=.8/36pt#; % for small refinements of stem breadth +vair_corr#:=.7/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4.5/36pt#; % amount of overshoot for curves +apex_o#:=4.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr7.mf b/fonts/cyrillic/cmcyr/mf/cmcyr7.mf new file mode 100644 index 0000000000..4de418a91b --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr7.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Roman 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 7pt#; + +u#:=15.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8.5/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=9/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=23/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=19/36pt#; % protrusion of lowercase serifs +cap_jut#:=26/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.6/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr8.mf b/fonts/cyrillic/cmcyr/mf/cmcyr8.mf new file mode 100644 index 0000000000..5d12253082 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr8.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/cmcyr9.mf b/fonts/cyrillic/cmcyr/mf/cmcyr9.mf new file mode 100644 index 0000000000..18fc3271e9 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cmcyr9.mf @@ -0,0 +1,75 @@ +% Computer Modern Cyrillic Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMCYR"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate cyrillic % switch to the driver file diff --git a/fonts/cyrillic/cmcyr/mf/coding.bak b/fonts/cyrillic/cmcyr/mf/coding.bak new file mode 100644 index 0000000000..7ce9c009ff --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/coding.bak @@ -0,0 +1,69 @@ +% that coding is KOI-8 + +CYR_a := oct"101"; +CYR_be := oct"102"; +CYR_ve := oct"127"; +CYR_ghe := oct"107"; +CYR_de := oct"104"; +CYR_ie := oct"105"; +CYR_yo := oct"74"; +CYR_zhe := oct"126"; +CYR_ze := oct"132"; +CYR_i := oct"111"; +CYR_short_i := oct"112"; +CYR_ka := oct"113"; +CYR_el := oct"114"; +CYR_em := oct"115"; +CYR_en := oct"116"; +CYR_o := oct"117"; +CYR_pe := oct"120"; +CYR_er := oct"122"; +CYR_es := oct"123"; +CYR_te := oct"124"; +CYR_u := oct"125"; +CYR_ef := oct"106"; +CYR_ha := oct"110"; +CYR_tse := oct"103"; +CYR_che := oct"136"; +CYR_sha := oct"133"; +CYR_shcha := oct"135"; +CYR_hard_sign := oct"137"; +CYR_yeru := oct"131"; +CYR_soft_sign := oct"130"; +CYR_e := oct"134"; +CYR_yu := oct"100"; +CYR_ya := oct"121"; + +CYR_A := oct"141"; +CYR_BE := oct"142"; +CYR_VE := oct"167"; +CYR_GHE := oct"147"; +CYR_DE := oct"144"; +CYR_IE := oct"145"; +CYR_YO := oct"76"; +CYR_ZHE := oct"166"; +CYR_ZE := oct"172"; +CYR_I := oct"151"; +CYR_SHORT_I := oct"152"; +CYR_KA := oct"153"; +CYR_EL := oct"154"; +CYR_EM := oct"155"; +CYR_EN := oct"156"; +CYR_O := oct"157"; +CYR_PE := oct"160"; +CYR_ER := oct"162"; +CYR_ES := oct"163"; +CYR_TE := oct"164"; +CYR_U := oct"165"; +CYR_EF := oct"146"; +CYR_HA := oct"150"; +CYR_TSE := oct"143"; +CYR_CHE := oct"176"; +CYR_SHA := oct"173"; +CYR_SHCHA := oct"175"; +CYR_HARD_SIGN := oct"177"; +CYR_YERU := oct"171"; +CYR_SOFT_SIGN := oct"170"; +CYR_E := oct"174"; +CYR_YU := oct"140"; +CYR_YA := oct"161"; diff --git a/fonts/cyrillic/cmcyr/mf/coding.mf b/fonts/cyrillic/cmcyr/mf/coding.mf new file mode 100644 index 0000000000..65513e3ce5 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/coding.mf @@ -0,0 +1,69 @@ +% that coding is KOI-7 + +CYR_a := oct"101"; +CYR_be := oct"102"; +CYR_ve := oct"127"; +CYR_ghe := oct"107"; +CYR_de := oct"104"; +CYR_ie := oct"105"; +CYR_yo := oct"74"; +CYR_zhe := oct"126"; +CYR_ze := oct"132"; +CYR_i := oct"111"; +CYR_short_i := oct"112"; +CYR_ka := oct"113"; +CYR_el := oct"114"; +CYR_em := oct"115"; +CYR_en := oct"116"; +CYR_o := oct"117"; +CYR_pe := oct"120"; +CYR_er := oct"122"; +CYR_es := oct"123"; +CYR_te := oct"124"; +CYR_u := oct"125"; +CYR_ef := oct"106"; +CYR_ha := oct"110"; +CYR_tse := oct"103"; +CYR_che := oct"136"; +CYR_sha := oct"133"; +CYR_shcha := oct"135"; +CYR_hard_sign := oct"137"; +CYR_yeru := oct"131"; +CYR_soft_sign := oct"130"; +CYR_e := oct"134"; +CYR_yu := oct"100"; +CYR_ya := oct"121"; + +CYR_A := oct"141"; +CYR_BE := oct"142"; +CYR_VE := oct"167"; +CYR_GHE := oct"147"; +CYR_DE := oct"144"; +CYR_IE := oct"145"; +CYR_YO := oct"76"; +CYR_ZHE := oct"166"; +CYR_ZE := oct"172"; +CYR_I := oct"151"; +CYR_SHORT_I := oct"152"; +CYR_KA := oct"153"; +CYR_EL := oct"154"; +CYR_EM := oct"155"; +CYR_EN := oct"156"; +CYR_O := oct"157"; +CYR_PE := oct"160"; +CYR_ER := oct"162"; +CYR_ES := oct"163"; +CYR_TE := oct"164"; +CYR_U := oct"165"; +CYR_EF := oct"146"; +CYR_HA := oct"150"; +CYR_TSE := oct"143"; +CYR_CHE := oct"176"; +CYR_SHA := oct"173"; +CYR_SHCHA := oct"175"; +CYR_HARD_SIGN := oct"177"; +CYR_YERU := oct"171"; +CYR_SOFT_SIGN := oct"170"; +CYR_E := oct"174"; +CYR_YU := oct"140"; +CYR_YA := oct"161"; diff --git a/fonts/cyrillic/cmcyr/mf/cyrillic.mf b/fonts/cyrillic/cmcyr/mf/cyrillic.mf new file mode 100644 index 0000000000..9af2e2d87a --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyrillic.mf @@ -0,0 +1,276 @@ +% The Computer Modern Cyrillic family of fonts (by N.Glonti) + +let cmchar=message; % `|cmchar|' should precede each character + +font_coding_scheme:="TeX text"; +input coding; + +mode_setup; font_setup; + + +input cyru; % upper case (majuscules) +input cyrl; % lower case (minuscules) +input cyrsymb; % three additional char + +font_slant slant; +font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + + +% k#:=.5u#; kk#:=.75u#; kkk#:=1.5u#; kkkk#:=-2u#; + + k#:=.25u#; kk#:=.5u#; kkk#:=0.75u#; kkkk#:=-1.25 +u#; + +%k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +%k#:=2u#; kk#:=u#; kkk#:=3u#; kkkk#:=-5u#; + ligtable CYR_a: % a + CYR_ya kern -kk#, % ya + CYR_u kern -kk#, % u + CYR_de kern k#, % d + CYR_che kern -kk#; % ch + + ligtable CYR_be: % b + CYR_ve kern -k#, % ve + CYR_ghe kern -k#, % ghe + CYR_ie kern k#, % e + CYR_zhe kern -k#, % zhe + CYR_i kern -k#, % i + CYR_ka kern -k#, % ka + CYR_em kern -k#, % em + CYR_en kern -k#, % en + CYR_pe kern -k#, % pe + CYR_er kern -k#, % er +% CYR_ef kern -k#, % (was -kk# AS) f + CYR_ha kern -k#, % x +% CYR_o kern -k#, % o (-kkkk -> -kkk AS) + CYR_es kern -k#, % s (-kkkk -> -kkk AS) + CYR_u kern -k#, % u + CYR_soft_sign kern -k#, % soft_sign + CYR_yeru kern -k#, % yeru + CYR_shcha kern -k#, % shcha + CYR_tse kern -k#; % tse + + ligtable CYR_tse: CYR_sha: CYR_shcha: + CYR_en: CYR_em: CYR_pe: + CYR_be kern -k#, % be + CYR_o kern -k#, % o + CYR_ie kern -k#, % es + CYR_ef kern -k#, % ef + CYR_es kern -k#, % ie + CYR_de kern k#; % d + + ligtable CYR_de: % d + CYR_be kern -kkk#, % be + CYR_o kern -kkk#, % o + CYR_ie kern -kkk#, % es + CYR_ef kern -kk#, % ef + CYR_es kern -kkk#, % ie + CYR_de kern kk#; % d + + ligtable CYR_ie: % e + CYR_be kern kkk#, % b + CYR_de kern -kk#, % d +% CYR_ie kern -k#, % e + CYR_zhe kern -kk#, % e +% CYR_ef kern -k#, % f + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o +% CYR_es kern -k#, % s +% CYR_te kern -k#, % t + CYR_u kern -k#; % u + + ligtable CYR_ef: % f + CYR_ie kern k#, % e + CYR_ha kern -kk#, % x + CYR_i kern -kk#, % i + CYR_en kern -k#, % + CYR_pe kern -k#, % + CYR_er kern -k#, % + CYR_o kern k#, % o + CYR_es kern k#, % s + CYR_te kern -k#; % t + + ligtable CYR_ghe: % g + CYR_be kern -k#, % b + CYR_ie kern -kkk#, % e + CYR_o kern -kkk#, % o + CYR_es kern -kkk#; % s + + ligtable CYR_ha: % kh + CYR_ie kern -kk#, % e + CYR_o kern -kk#, % o + CYR_ef kern -kk#, % + CYR_es kern -kk#; % s + + ligtable CYR_ka: % k + CYR_ie kern -kk#, % e + CYR_ef kern -kk#, % f + CYR_o kern -kk#, % o + CYR_es kern -kk#, % s + CYR_u kern -k#; % u + + ligtable CYR_el: % l + CYR_ie kern -kk#, % e + CYR_ef kern -kk#, % f + CYR_o kern -kk#, % o + CYR_es kern -kk#; % s + + ligtable CYR_o: % o +% CYR_be kern -k#, % b (was kkkk AS) + CYR_ve kern -kk#, % ve + CYR_de kern -kkk#, % de +% CYR_ie kern -k#, % e (was kkkk AS) + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o (was kkkk AS) +% CYR_es kern -kk#, % s (was kkkk AS) + CYR_em kern -kk#, % + CYR_en kern -kk#, % + CYR_pe kern -kk#, % + CYR_i kern -kk#, % + CYR_short_i kern -kk#, % + CYR_ka kern -kk#, % + CYR_er kern -kk#, % + CYR_sha kern -kk#, % + CYR_shcha kern -kk#, % + CYR_che kern -kkk#, % + CYR_zhe kern -kk#; % zh + + ligtable CYR_er: % p +% CYR_be kern -k#, % b (kkkk -> -kkk AS) +% CYR_ie kern -k#, % e(kkkk -> -kkk AS) + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o (kkkk -> -kkk AS) +% CYR_es kern -kk#, % s (kkkk -> -kkk AS) + CYR_te kern -k#; % t + +%ligtable CYR_es: % s +% CYR_be kern -k#, % b +% CYR_ie kern -k#, % e +% CYR_ef kern -k#, % f +% CYR_o kern -k#, % o +% CYR_es kern -k#; % s + ligtable CYR_te: % t + CYR_en kern -k#, % + CYR_es kern -k#, % + CYR_ie kern -k#, % e + CYR_o kern -k#; % o + ligtable CYR_u: % u + CYR_de kern -k#, % d + CYR_el kern -kk#, % + CYR_a kern -k#; % s + ligtable CYR_zhe: % zh + CYR_be kern -kk#, % b + CYR_ie kern -kk#, % + CYR_ef kern -kk#, % + CYR_o kern -kk#, % o + CYR_es kern -kk#; % s + + ligtable CYR_ve: % w + CYR_te kern -k#; % d + +%ligtable CYR_ze: % z +% CYR_be kern -k#, % b +% CYR_ie kern -k#, % e +% CYR_o kern -k#, % o +% CYR_es kern -k#; % s + + ligtable CYR_A: % A + CYR_u kern -kk#, % + CYR_CHE kern -kkk#; % ch + + ligtable CYR_BE: % B + CYR_O kern -k#, % o + CYR_ES kern -k#, % s + CYR_U kern -kk#; % u + + ligtable CYR_GHE: CYR_U: % G U + CYR_A kern -kk#, % a +% CYR_ve kern -kk#, % w +% CYR_GHE kern -kk#, % g + CYR_DE kern -kk#, % d +% CYR_IE kern -kk#, % e + CYR_EF kern -kk#, % f + CYR_HA kern -kk#, % kh +% CYR_I kern -kk#, % i +% CYR_SHORT_I kern -kk#, % j +% CYR_KA kern -kk#, % k + CYR_EL kern -kk#, % l +% CYR_EM kern -kk#, % m +% CYR_EN kern -kk#, % n +% CYR_O kern -kk#, % o +% CYR_PE kern -kk#, % p + CYR_YA kern -kk#, % ya +% CYR_ER kern -kk#, % r + CYR_ES kern -kk#, % s + CYR_TE kern -kk#, % t + CYR_U kern -kk#; % u +% CYR_VE kern -kk#, % w +% CYR_SOFT_SIGN kern -kk#, % ' +% CYR_YERU kern -kk#, % y +% CYR_ZE kern -kk#, % z +% CYR_SHA kern -kk#, % sh +% CYR_SHCHA kern -kk#, % shch +% CYR_CHE kern -kk#; % ch +% CYR_HARD_SIGN kern -k#; % '' + + ligtable CYR_O: CYR_ES: CYR_EF: + CYR_de kern -kkk#, % + CYR_A kern -kkk#, % + CYR_VE kern -kkk#, % + CYR_GHE kern -kkk#, % + CYR_ER kern -kkk#, % + CYR_PE kern -kkk#, % + CYR_EN kern -kkk#, % + CYR_E kern -kkk#, % + CYR_HA kern -kkk#, % + CYR_I kern -kkk#, % + CYR_KA kern -kkk#, % + CYR_EM kern -kkk#, % + CYR_SHA kern -kkk#, % + CYR_SHCHA kern -kkk#, % + CYR_SHORT_I kern -kkk#; % j + + ligtable CYR_EN: CYR_EM: CYR_ER: CYR_PE: + CYR_ZHE: CYR_KA: CYR_DE: CYR_HA: + CYR_O kern -kkk#, % + CYR_ES kern -kkk#, % + CYR_EF kern -kkk#; % + + ligtable CYR_TE: % T + CYR_A kern -kkk#, % a +% CYR_VE kern -kkk#, % w +% CYR_GHE kern -kkk#, % g + CYR_DE kern -kkk#, % d + CYR_IE kern -kkk#, % e + CYR_EF kern -kkk#, % f + CYR_HA kern -kkk#, % kh + CYR_I kern -kkk#, % i + CYR_SHORT_I kern -kkk#, % j + CYR_KA kern -kkk#, % k + CYR_EL kern -kkk#, % l +% CYR_EM kern -kkk#, % m +% CYR_EN kern -kkk#, % n + CYR_O kern -kkk#, % o +% CYR_PE kern -kkk#, % p + CYR_YA kern -kkk#, % ya +% CYR_ER kern -kkk#, % r + CYR_ES kern -kkk#, % s + CYR_TE kern -kkk#, % t + CYR_U kern -kkk#, % u +% CYR_VE kern -kkk#, % +% CYR_SOFT_SIGN kern -kkk#, % +% CYR_YERU kern -kkk#, % y + CYR_ZE kern -kkk#; % z +% CYR_SHA kern -kk#, % sh +% CYR_SHCHA kern -kk#, % shch +% CYR_CHE kern -kk#, % ch +% CYR_HARD_SIGN kern -kk#; % +fi; +bye. diff --git a/fonts/cyrillic/cmcyr/mf/cyrl.mf b/fonts/cyrillic/cmcyr/mf/cyrl.mf new file mode 100644 index 0000000000..a9e9f90865 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyrl.mf @@ -0,0 +1,1061 @@ +cmchar "The cyrillic letter a"; +beginchar(CYR_a,9u#,x_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); define_pixels(bh); +italcorr 1/3[bh#,x_height#]*slant+.5stem#-serif_fit#-2u#; +adjust_fit(0,serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi); +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=.5w-.2u; top y1r=vround .82[bh,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % terminal +pos4(stem,0); rt x4r=hround(w-2.5u+.5stem); y4=1/3[bh,h]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(x,y8r)=whatever[z8l,z9l]; x8r:=max(x,x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e&super_arc.e(7,6)}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=.2[.5tiny,bh]; + pos11(shaved_stem,0); rt x11r=hround(w-.25u); bot y11=0; + pos12(shaved_stem,0); x11=x12; top y12=slab+eps; + filldraw z5'l---z10l...z11l{right}--z11r + --z12r{left}...z10r+.75(z12-z11)---z5'r--cycle; % foot + else: pickup crisp.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=1/3bh; + pos11(.2[vair,stem],90); x11r=.5[x10r,x12r]; bot y11l=-vround .5oo; + pos12(hair,180); rt x12l=hround(w-.1u); y12=max(y10,y11+vair); + pos13(hair,180); x13=x12; top y13=max(vround .6bh,top y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=max(x',x10); + filldraw stroke z5'e---z10e...z11e{right}...z12e---z13e; fi % hook +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; bot y10=0; + filldraw stroke z5'e--z10e; fi % base of stem +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "The cyrillic letter be"; +beginchar(CYR_be,9u#,fig_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos2'(hair,180); lft x2'r=x2r; y2'=y2r; +penpos5(.8curve,90); penpos6(.8curve,90); +penpos6'(.8curve,-90); x6=.5[x5,x7]; y6=y5; z6'=z6; +penpos7(thin_join,0); rt x7r=rt x4r; +top y7=h; top y5r=.97h; x5=x1; +fill stroke z2'e{up}...{right}z5e..z6e; +fill circ_stroke pulled_arc.e(7,6'); +penlabels(1,2,2',3,4,5,6',6,7); endchar; + +cmchar "The cyrillic letter ve"; +beginchar(CYR_ve,9u#,x_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-u); x10r=hround(w-.5u); +if serifs: right_curve=curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,jut,b,1/3,.5jut); % upper serif + nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "The cyrillic letter ghe"; +beginchar(CYR_ghe,8.5u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.75u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +nodish_serif(1,2,a,1/3,jut,b,1/3,.5jut); % upper serif +dish_serif(2,1,c,1/3,jut,d,1/3,1.25jut); % lower serif +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter de"; +beginchar(CYR_de,10u#,x_height#,comma_depth#); +italcorr x_height#*slant-serif_fit# + +.75jut#-2.5u#+min(.5stem#,u#); +adjust_fit(0,serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=if monospace: stem-tiny + else: min(hair,stem-1.3tiny) fi; +if serifs: penpos1(thin_stem,0); penpos2(thin_stem,0); x2=.5[hround .5u,x1]; +else: penpos1(thin_stem,0); penpos2(thin_stem,0); x2=.5u+stem; fi +pos3(stem,0); pos4(stem,0); +x1l=x0l=.33w; top y1=h; bot y2=0; +rt x3r=rt x4r=hround(w-2u); top y3=h; bot y4=0; +filldraw stroke z3e--z4e; +filldraw stroke z1e{down}..z2e; % stem and arc +if serifs: pickup crisp.nib; numeric inner_jut,newbracket; + newbracket:=max(1.5,bracket); inner_jut:=.5(x3l-x1r); + path p[]; p1=z1{down}...z2; + p12=(0,y1-newbracket)--(w,y1-newbracket); + p21=(0,y2+newbracket)--(w,y2+newbracket); + z12=p1 intersectionpoint p12; z21=p1 intersectionpoint p21; + nodish_serif(1,12,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,c,1/3,inner_jut,d,1/3,jut); % upper right serif + inner_jut:=.5(x4l-x2r); + nodish_serif(2,21,e,1/3,jut,f,1/3,inner_jut); % middle left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % middle right serif + pickup crisp.nib; + pos5(slab,90); pos6(hair,180); pos7(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x7r=tiny.rt x4r+jut; lft x6r=tiny.lft x2l-jut; + y6=y7=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % left beak + arm(5,7,n,1.25beak_darkness,0); % right beak +else: + pos1'(slab,90); pos3'(slab,90); + pos6(slab,90); pos7(slab,90); + pos6'(slab,0); pos7'(slab,0); + pos8(slab,0); pos9(slab,0); + lft x1'=lft x1l; rt x3'=rt x3r; top y1'r=top y3'r=h; + lft x6=lft x6'l=lft x8l=.5u; rt x7=rt x7'r=rt x9r=w-.5u; + bot y6l=bot y7l=0; y6'=y7'=y6; bot y8=bot y9=-.75d; + filldraw stroke z1'e--z3'e; % upper bar + filldraw stroke z6e--z7e; % lower bar + filldraw stroke z6'e--z8e; % left beak + filldraw stroke z7'e--z9e; % right beak +fi +penlabels(1,1',2,3,3',4,5,6,7,8,9,12,21); endchar; + +cmchar "The cyrillic letter ie"; +beginchar(CYR_ie,7.25u#+max(.75u#,.5curve#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter yo"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(CYR_yo,7.25u#+max(.75u#,.5curve#),1.4x_height#,0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve,letter_h; letter_h=x_height; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=letter_h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +pos6(dot_diam,0); pos7(dot_diam,90); +x6=x7=2.5u; top y7r=h+1; +if bot y7l<letter_h+o+slab: y7l:=min(y7r-eps,letter_h+o+slab+.5tiny); fi +y6=.5[y7l,y7r]; dot(6,7); % left dot +pos8(dot_diam,0); penpos9(y7r-y7l,90); y8=y9=y6; x8=x9=w-x6; +dot(8,9); % right dot +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter zhe"; +beginchar(CYR_zhe,14u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(serif_fit#,serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +x1=x2=.5w; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +stem2=max(tiny.breadth,fudged.stem-3stem_corr); +rt x3r=w-lft x7l=hround(r-letter_fit-.9u-right_jut); +rt x6r=w-lft x9l=hround(r-letter_fit-.5u-right_jut); +top y3=top y7=h; bot y6=bot y9=0; x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +penpos7(alpha1*(stem1-tiny),0); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); penpos9(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=y7'$=h; y6'$=y9'$=0; + z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; + x8$=w-x5$; y8$=y5$; endfor +z5=.5[z5l,z5r]; z8=.5[z8l,z8r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +x7'r=w-x3'r; x7'l=w-x3'l; x9'r=w-x6'r; x9'l=w-x6'l; +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % right upper diagonal +fill z4r--diag_end(4r,7'r,1,.5,7'l,4l)--z4l--cycle; % left upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % right lower diagonal +fill z8l--diag_end(8l,9'l,.5,1,9'r,8r)--z8r--cycle; % left lower diagonal +if serifs: numeric inner_jut,mon_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x6l-inner_jut; fi + mon_jut=if monospace: inner_jut else: jut fi; + dish_serif(1,2,a,1/3,mon_jut,b,1/3,mon_jut); % upper stem serif + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif + dish_serif(3,4,e,2/3,right_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark); % lower diagonal serif + dish_serif(7,4,i,1/2,right_jut,j,2/3,right_jut)(dark); % upper diagonal serif + dish_serif(9,8,k,1/3,right_jut,l,1/2,inner_jut)(dark); fi %lower diagonal seri +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ze"; +beginchar(CYR_ze,7.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +pickup fine.nib; +if serifs: pos1(hair,180); pos2(cap_band,90); + pos3(max(fine.breadth,curve-stem_corr),0); pos4(vair',270); + lft x1r=u; top y2r=h+oo; + bot y1=min(vround .7h,bot y2l-eps); rt x3r=hround(w-u); + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(curve,0); + x9=.5w-u; x2=x4=.5w-.5u; bot y4r=-oo; + rt x10r=w-.5u; lft x8=min(hround 5u,lft x9)-eps; + y3=.5[top y7l,bot y2l]; y10=.5[bot y9l,top y4l]; + top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.3bar_height),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + interim superness:=more_super; + filldraw stroke z1e{up} + ... pulled_super_arc.e(2,3)(.5superpull) + & z3e{down}...z7e---z8e; % upper bowl + filldraw z8r--z9l--z9r--z8l---cycle; % middle tip + filldraw stroke pulled_super_arc.e(9,10)(.5superpull) + & pulled_super_arc.e(10,4)(.5superpull) + ..z5e; % arc and lower terminal + pos6(.3[fine.breadth,hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x1-x2,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: pos1(1.2flare,100); pos2(slab,90); + pos3(curve,0); pos4(slab,-90); pos5(flare,-95); + rt x1r=hround(1.1u); x2=.5w; x4=.45[x1,x10]; x9=.5w-u; + rt x3r=hround w-max(u,2u-.5curve); rt x5r=hround(.9u); + top y1r=vround .9h+oo; top y2r=h+oo; y3=.5[y7,y2]; + bot y4r=-oo; bot y5r=vround .15h-oo; y5l:=good.y y5l; x5l:=good.x x5l; + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(curve,0); + rt x10r=hround(w-.75u); lft x8=min(hround 5u,lft x9)-eps; + y10=.5[y9,y4]; top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) + & pulled_arc.e(3,8); % upper bowl + filldraw stroke pulled_arc.e(9,10) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); fi % lower bowl +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter i"; +beginchar(CYR_i,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +top y1=top y3=h; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround(w-2.5u+.5fudged.stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=h-y6=.12h; + else: bot y5l=h-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=h-notch_cut; lower_notch=notch_cut; + penpos5(1.5stem,alpha); penpos6(1.5stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z7=z6l-(max(eps,hair-tiny),0) rotated (angle(z5-z6)-90); + z5r=z7+whatever*(z5-z6); z6r=z7+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,2',3,3',4,4',5,6); endchar; + +cmchar "The cyrillic letter short_i"; +beginchar(CYR_short_i,10u#,if serifs: 1.5x_height# + else: 1.4x_height# fi,0); +italcorr 1.5x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +top y1=top y3=x_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround(w-2.5u+.5fudged.stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=x_height-y6=.12x_height; + else: bot y5l=x_height-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=x_height-notch_cut; lower_notch=notch_cut; + penpos5(1.5stem,alpha); penpos6(1.5stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z6'=z6l-(max(eps,hair-tiny),0) rotated (angle(z5-z6)-90); + z5r=z6'+whatever*(z5-z6); z6r=z6'+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower left serif + if monospace: penpos7(.25vair,-90); + else: penpos7(vair,-90); fi + penpos8(.7vair,-180); penpos9(.5flare,-180); + penpos10(.7vair,0); penpos11(.5flare,0); + x7=.5[x8,x10]; bot y7r=.8h; + x8=.5w-2u; x10=w-x8; y8=y11=.95h; + bulb(7,8,9); % left bulb + bulb(7,10,11); % right bulb +else: pickup fine.nib; penpos7(.75vair,-90); + penpos8(.75vair,-180); penpos10(.75vair,0); + x7=.5[x8,x10]; y7=.85h; + x8r=x1r; x10r=x3l; top y8=top y10=h; + filldraw stroke z8e...z7e...z10e; +fi +penlabels(1,2,2',3,3',4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter ka"; +beginchar(CYR_ka,9.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(serif_fit#,serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +lft x1l=lft x2l=hround(2.5u-.5fudged.stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-.75u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.5u-right_jut); +x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=h; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5l,z5r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +% we have also |z3'l=z3l+penoffset z4-z3 of currentpen+whatever*(z3-z4)|;\] +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % lower diagonal +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper stem serif + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif + dish_serif(3,4,e,2/3,right_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark);fi % lower diagonal serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter el"; +beginchar(CYR_el,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit# + +.75jut#-2.5u#+min(.5stem#,u#); +adjust_fit(0,serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=min(1.2hair,stem); +if serifs: pos1(thin_stem,0); pos12(thin_stem,0); +else: pos1(hair,0); pos12(hair,0); fi +pos5(stem,0); pos6(stem,0); +x1=.33w; top y1=h; x12=x1; y12=.5h; +rt x5r=rt x6r=hround(w-2.5u+.5stem); top y5=h; bot y6=0; +filldraw stroke z5e--z6e; % right stem +if serifs: + numeric light_bulb,inner_jut; + inner_jut:=.5(x5l-x1r); light_bulb=hround 7/8[hair,flare]; + pos2(thin_stem,-90); pos3(thin_stem,-180); + pos4(light_bulb,-180); + bot y2r=-oo; x2=.3[x4,x1]; + y4=.2h; rt x4l=hround 2u; z4r=z3r; + bulb(2,3,4); % bulb + filldraw stroke z2e{right}...{up}z12e--z1e; % left stem and arc + nodish_serif(1,12,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(5,6,g,1/3,inner_jut,h,1/3,jut); % upper right serif + dish_serif(6,5,e,1/3,jut,f,1/3,jut); % lower right serif +else: pos1'(slab,90); pos5'(slab,90); + pos2(hair,-90); pos3(hair,-90); + x2=.5u; x3=x2+u; bot y2r=0; bot y3r=-oo; + lft x1'=lft x1l; rt x5'=rt x5r; top y1'r=top y5'r=h; + filldraw stroke z1'e--z5'e; % upper bar + filldraw stroke z2e...z3e{right}...{up}z12e--z1e; % stem and arc +fi +penlabels(1,1',2,3,4,5,5',6,7); endchar; + +cmchar "The cyrillic letter em"; +beginchar(CYR_em,12u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.stem-3stem_corr); +if stem4<stem1: stem4:=stem1; fi +pickup tiny.nib; pos1(stem1,0); pos2(stem1,0); +pos3(stem4,0); pos4(stem4,0); +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround(w-2.5u+.5stem4); +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(stem2,0); penpos6(stem2,0); penpos7(stem3,0); penpos8(stem3,0); +x5l=x1; x6l=x7l; x8=lft x3l; x6-x5=x8-x7; y5=y8=h; y6=y7; +if hefty: y6=if monospace: vround 1/3h else: o fi; + numeric upper_notch,lower_notch; + upper_notch=h-notch_cut; lower_notch=y6+notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x3'=lft x3l; z3'=whatever[z7r,z8r]; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + if y3'<upper_notch: ...{up}(x3'-1,upper_notch){right} fi + ..z8r--diag_out(8r,1,8l,7l){z7-z8} + if y0<=lower_notch: ..{z7-z8}z0{z5-z6}.. + else: ...{down}(x0+.5,lower_notch)--(x0-.5,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonals +else: y6=0; z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l..{z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + ..z8r--diag_out(8r,1,8l,7l){z7-z8}..{z7-z8}z0{z5-z6} + ..{z5-z6}diag_in(6r,5r,1,5l)--cycle; fi % diagonals +if serifs: serif(1,2,a,1/3,-jut); % upper left serif + dish_serif(2,1,b,1/2,jut,c,1/2,jut)(dark); % lower left serif + serif(3,4,d,1/3,jut); % upper right serif + dish_serif(4,3,e,1/3,jut,f,1/3,jut); fi % lower right serif +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + +cmchar "The cyrillic letter en"; +beginchar(CYR_en,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(bar,90); penpos6(bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); fi % lower left serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter o"; +beginchar(CYR_o,9u#,x_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=h+vround 1.5oo; y3r=-oo; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter pe"; +beginchar(CYR_pe,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower left serif + inner_jut:=inner_jut+u; + nodish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif +else: pos5(slab,90); pos6(slab,90); + lft x5=x1l; rt x6=x3r; y5r=y6r=y3; + filldraw stroke z5e--z6e; fi % upper bar +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter er"; +beginchar(CYR_er,10u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=h if serifs: +min(oo,serif_drop) fi; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair',90); pos5(curve,0); pos6(vair,-90); penpos7(x3l-x3r,-180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l), 1/3[rt x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; pos8(hair,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=0; +filldraw stroke z7'e--z8e; % point +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter es"; +beginchar(CYR_es,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + rt x1r=hround(w-.6u); top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); rt x5r=hround(w-.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..tension atleast.9 and 1..{dir 75}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & p.e; fi % arc and lower terminal +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter te"; +beginchar(CYR_te,10u#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +lft x1l=lft x2l=hround(.5w-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.65u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414jut,d,1/3,1.414jut); % lower serif + nodish_serif(1,2,a,1/3,.5jut,b,1/3,.5jut); fi % upper bracketing +penlabels(1,2,3,4,5); endchar; + +cmchar "The cyrillic letter u"; +beginchar(CYR_u,if serifs:9.5u# else:9u# fi,x_height#,desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +left_stem=fudged.stem-stem_corr; +right_stem=fudged.hair if hefty:-2stem_corr fi; +bot_stem=fudged.hair if hefty:-8stem_corr fi; +bot_vair=Vround(if serifs: vair else:.5[vair,bot_stem] fi); +outer_jut=.75jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4r=h; y2=y3=0; x2l=x3l; +numeric alpha,alpha[]; x9=3u; y9=bot_vair-d-oo; +alpha1=diag_ratio(2,bot_stem,y1-y3,x4r-x1l-apex_corr); +alpha2=diag_ratio(1,bot_stem,y1-y9,x4r-x9); +if alpha1<alpha2: x2l-x1l=x4r-x3r+apex_corr; alpha=alpha1; +else: alpha=alpha2; z3l=whatever[z9,z4r-(alpha*bot_stem,0)]; fi +penpos3(alpha*bot_stem,0); penpos4(alpha*right_stem,0); +alpha3=(y1++(x2l-x1l))/y1; +penpos1(alpha3*left_stem,0); penpos2(alpha3*left_stem,0); +z0=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +if y0>notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4r-z3r}diag_end(0,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--z3r--z2l + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +penpos5(alpha*bot_stem,0); z5r=whatever[z3r,z4r]; y5-.5vair=-.5d; +if serifs: numeric light_bulb; light_bulb=hround 7/8[hair,flare]; clearpen; + penpos6(vair,-90); penpos7(hair,-180); penpos8(light_bulb,-180); + x6=2u; y6r=-d-oo; y8-.5light_bulb=-.85d; x8r=hround .35u; + fill stroke z3e---z5e...{left}z6e; bulb(6,7,8); % arc and bulb + numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+jut+.5u+1<=lft x4'l-jut: inner_jut=jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % right serif +else: penpos6(bot_vair,-90); x6=2.5u; y6r=-d-oo; + fill stroke z3e---z5e...{left}z6e; % arc + pickup fine.nib; pos6'(bot_vair,-90); z6'=z6; + pos7(2/3[bot_vair,flare],-85); + lft x7l=hround u; bot y7r=vround-.96d-oo; y7l:=good.y y7l; + filldraw stroke term.e(6',7,left,1,4); fi % arc and terminal +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ef"; +beginchar(CYR_ef,12u#,x_height#+desc_depth#,desc_depth#); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +top y1=h if serifs: +min(oo,serif_drop) fi; +x1=x2=.5w; bot y2=-d; +penpos3(cap_band,180);penpos3'(cap_band,0); +penpos4(cap_band,90); penpos5(curve,0); +penpos6(.5[vair,cap_band],-90); +penpos7(.5[vair,cap_band],180); penpos7'(.5[vair,cap_band],0); +penpos8(cap_band,90); penpos9(curve,180); +penpos10(.5[vair,cap_band],270); +x3l=x7l=rt x1r; x3'l=x7'l=lft x1l; +y4r=y8r=x_height+oo; y5=y9=.5[y4l,y6l]; +x4r=x6r=.5[x1,x5]; x8r=x10r=.5[x9,x1]; +x5r=w-x9r=w-.5u; +y7=y7'=.25x_height; y3=y3'=x_height-y7; y6r=y10r=-oo; +filldraw stroke z1e--z2e; % stem +fill stroke z3e{up}..pulled_arc.e(4,5) & pulled_arc.e(5,6)..{up}z7e; +fill stroke z3'e{up}..pulled_arc.e(8,9) & pulled_arc.e(9,10)..{up}z7'e; % lobe +if serifs: + sloped_serif.l(1,2,a,1/3,jut,.1h); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,3',4,5,6,7,7',8,9,10); endchar; + +cmchar "The cyrillic letter ha"; +beginchar(CYR_ha,if serifs:9.5u# else:9u# fi,x_height#,0); +italcorr x_height#*slant-.05u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=fudged.stem-4stem_corr; stem2=min(fudged.hair,stem1); +outer_jut=.75jut; xjut= if serifs: (stem1-stem2)/4 else: 0 fi; +x1l=l+letter_fit+.1u+outer_jut; x2r=r-letter_fit-.3u-outer_jut-xjut; +x3l=l+letter_fit+outer_jut+xjut; x4r=r-letter_fit-outer_jut; +y1=y2=h; y3=y4=0; +alpha1=diag_ratio(1,stem1,h,x4r-x1l); +alpha2=diag_ratio(1,stem2,h,x2r-x3l); +penpos1(alpha1*stem1,0); penpos2(alpha2*stem2,0); +penpos3(alpha2*stem2,0); penpos4(alpha1*stem1,0); +if hefty: z0=whatever[z1,z4]=whatever[z2,z3]; + x12=x34=x0; y13=y24=y0; + z12=whatever[z2l,z3l]; z13=whatever[z2l,z3l]; + z24=whatever[z2r,z3r]; z34=whatever[z2r,z3r]; + forsuffixes $=13,24,34: z$'=.2[z$,z0]; endfor + fill diag_end(12,1r,.5,1,1l,13')--z13'--diag_end(13',3l,1,.5,3r,34')--z34' + --diag_end(34',4l,.5,1,4r,24')--z24' + --diag_end(24',2r,1,.5,2l,12)--z12--cycle; % diagonals +else: fill diag_end(4r,1r,.5,1,1l,4l) + --diag_end(1l,4l,.5,1,4r,1r)--cycle; % left diagonal + fill diag_end(2l,3l,.5,1,3r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +if serifs: numeric inner_jut[]; pickup tiny.nib; + prime_points_inside(1,4); prime_points_inside(2,3); + prime_points_inside(3,2); prime_points_inside(4,1); + if rt x1'r+jut+.5u+1<=lft x2'l-jut-xjut: inner_jut1=jut; + else: rt x1'r+inner_jut1+.5u+1=lft x2'l-inner_jut1-xjut; fi + if rt x3'r+jut+.5u+1<=lft x4'l-jut-xjut: inner_jut2=jut; + else: rt x3'r+inner_jut2+.5u+1=lft x4'l-inner_jut2-xjut; fi + dish_serif(1',4,a,1/3,outer_jut,b,2/3,inner_jut1); % upper left serif + dish_serif(4',1,c,2/3,inner_jut2,d,1/3,outer_jut); % lower right serif + dish_serif(2',3,e,2/3,inner_jut1+xjut, + f,1/2,outer_jut+xjut)(dark); % upper right serif + dish_serif(3',2,g,1/2,outer_jut+xjut, + h,2/3,inner_jut2+xjut)(dark); fi % lower left serif +penlabels(0,1,2,3,4,12,13,24,34); endchar; + +cmchar "The cyrillic letter tse"; +beginchar(CYR_tse,10u#,x_height#,comma_depth#); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,c,1/3, jut,d,1/3,inner_jut); % lower left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower right serif + pickup crisp.nib; pos5(slab,90); pos6(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x6r=tiny.rt x4r+jut; y6=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos4'(slab,90); + pos5(slab,0); pos6(slab,0); + lft x2'=lft x2l; rt x4'=rt x5r=rt x6r=w-.5u; + bot y2'l=bot y4'l=0; y5=y4; bot y6=-.75d; + filldraw stroke z2'e--z4'e; % lower bar + filldraw stroke z5e--z6e; % right beak +fi +penlabels(1,2,2',3,4,4',5,6); endchar; + +cmchar "The cyrillic letter che"; +beginchar(CYR_che,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +numeric light_vair; light_vair=vair-fine; +lft x1l=hround(2.5u-.5stem); x1=x2; x3l=w-x1r; x3r=x4r; +top y1=h; bot y4=0; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.65h; +penpos5(light_vair,-90); penpos6(light_vair,0); +y6=.5h; lft x6l=lft x3l; if rt x6r>rt x3r: x6r:=x3r; fi +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +pickup fine.nib; bot y5r=y6-vair-.05h; x5=.5w; +filldraw stroke {{interim superness:=hein_super; + pulled_super_arc.e(2',5)(.01superpull)}} + & z5e{right}...z6e; % arc +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter sha"; +beginchar(CYR_sha,15u#,x_height#,0); +italcorr x_height#*slant-.25u#; +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +pos3(stem',0); pos4(stem',0); +pos5(stem',0); pos6(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=lft x2l=hround(2.5u-.5stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +z3=.5[z1,z5]; z4=.5[z2,z6]; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3,jut); % lower right serif +else: pos2'(slab,90); pos6'(slab,90); + lft x2'=lft x1l; rt x6'=rt x6r; bot y2'l=bot y6'l=0; + filldraw stroke z2'e--z6'e; % lower bar +fi +penlabels(1,2,2',3,4,5,6,6'); endchar; + + +cmchar "The cyrillic letter shcha"; +beginchar(CYR_shcha,15u#,x_height#,comma_depth#); +italcorr x_height#*slant-.25u#; +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +pos3(stem',0); pos4(stem',0); +pos5(stem',0); pos6(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=lft x2l=hround (2.25u-.5stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +z3=.5[z1,z5]; z4=.5[z2,z6]; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: + numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3,jut); % lower right serif + pickup crisp.nib; pos7(slab,90); pos8(hair,0); + x7=.5[x4,x6]; bot y7l=0; + rt x8r=tiny.rt x6r+jut; y8=good.y(y7l-.5beak)-eps; + arm(7,8,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos6'(slab,90); + pos7(slab,0); pos8(slab,0); + lft x2'=lft x1l; rt x6'=rt x7r=rt x8r=w-.5u; + bot y2'l=bot y6'l=0; y7=y6; bot y8=-.75d; + filldraw stroke z2'e--z6'e; % lower bar + filldraw stroke z7e--z8e; % right beak +fi +penlabels(1,2,2',3,4,5,6,6',7,8); endchar; + +cmchar "The cyrillic letter hard_sign"; +beginchar(CYR_hard_sign,10.5u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(4u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +pickup crisp.nib; pos3(slab,90); pos4(hair,180); +top y3r=h; x3=x1; lft x4r=hround(.5u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,-.7beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,0,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter yeru"; +beginchar(CYR_yeru,13u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +pos3(stem,0); pos4(stem,0); x3=x4=w-x1; top y3=h; bot y4=0; +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6ltop +:=x6-.25u; x8l:=x8l-.5u; +x7r=if serifs: tiny.lft x3l-jut; else: 8.5u; fi +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-4.5u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-5.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +filldraw stroke z3e--z4e; % right stem +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper left serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); % lower left serif +dish_serif(3,4,e,1/3,1.05jut,f,1/3,1.05jut); % upper right serif +dish_serif(4,3,g,1/3,1.05jut,h,1/3,1.05jut); fi % lower right serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter soft_sign"; +beginchar(CYR_soft_sign,9u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter e"; +beginchar(CYR_e,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; +pos2(cap_band,90); pos4(vair',270); pos3(curve,0); +x2=x4=.5(w-u); top y2r=h+oo; bot y4r=-oo; +rt x3r=w-hround min(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,180); + lft x1r=u; bot y1=min(vround .7h,bot y2l-eps); + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + filldraw stroke z1e{up} + ..pulled_super_arc.e(2,3)(superpull)%(.7superpull) + & pulled_super_arc.e(3,4)(superpull)%(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal + pos6(.3[fine.breadth,hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x1-x2,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: pos1(4/7[vair',flare],110); + lft x1r=hround(.6u); + top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],265); lft x5r=hround(.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{left}..tension .9 and 1..z5e; + if angle direction 1 of p.e<105: + p.e:=z4e{left}..tension atleast.9 and 1..{dir 105}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.7superpull) & p.e; fi % arc and lower terminal +penpos7(bar,90); penpos8(bar,90); +x7=lft x3l; x8=.5w-1.5u; +y7=y8=.5h; +fill stroke z7e--z8e; % bar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter yu"; +beginchar(CYR_yu,13.5u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,if monospace: .5u# else: 0 fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +penpos5(vair,90); penpos7(vair',-90); +penpos6(curve,180); penpos8(curve,0); +x5=x7=.5[x6,x8]; y5r=h+oo; y7r=-oo; +x8r=hround(w-.5u); x6r=hround(w-8.5u); +y6=y8=.5h-vair_corr; y6l:=y8l:=.52h; +penstroke pulled_arc.e(5,6) & pulled_arc.e(6,7) + & pulled_arc.e(7,8) & pulled_arc.e(8,5) & cycle; % bowl +penpos3(bar,90); penpos4(bar,90); x3=x1; x4=x6; y3=y4=.52h; +fill stroke z3e--z4e; % bar +if serifs: numeric inner_jut; inner_jut=jut; + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); fi % lower left serif +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter ya"; +beginchar(CYR_ya,8u#+.5max(2u#,curve#),x_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=rt x2r=w-hround(2.5u-.5stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(curve if hefty:-3stem_corr fi,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w-.5u; x5r=hround(.75u); fi +x4l:=x6l:=x4+.125curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(curve,0); pos8(curve,0); x6'r=x6l; y6'=y6; +tiny.lft x8l=.5u+.5jut; bot y8=0; +filldraw stroke z6'e--z8e; % diagonal stem +if serifs: numeric inner_jut; + if rt x8r+u+1<=lft x2l-jut: inner_jut=jut; + else: lft x2l-u-1=rt x8r+inner_jut; fi + nodish_serif(1,2,a,1/3,.5jut,b,1/3,jut); % upper serif + dish_serif(2,1,c,1/3,inner_jut,d,1/3,jut); % lower serif + serif(8,6',e,1/3,-.5jut); fi % lower diagonal serif +penlabels(1,2,3,4,5,6,7,8); endchar; diff --git a/fonts/cyrillic/cmcyr/mf/cyrlc.mf b/fonts/cyrillic/cmcyr/mf/cyrlc.mf new file mode 100644 index 0000000000..d63e637a92 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyrlc.mf @@ -0,0 +1,1179 @@ +"Lowercase Softened N ligature"; +call charbegin('010,pvbli+.5pwi/pu+pvbls+phbls+.5pwii/pu+phbli,px,0,.33.px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; x3=good1(x1+pvbls.u); x4=x3; +top1y1=m; y1=y3; bot1y2=0; y2=y4; +w1 draw 1..2; % left stem +w1 draw 3..4; % right stem +if lcs0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); % upper left serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); % lower left serif + call `e serif(3,1,4,-lcs); + call `f serif(3,1,4,lcs); + call `g serif(4,1,3,-lcs); + call `h serif(4,1,3,.5lcs); % lower right serif +fi; +x5=x1; x6=x3; y5=y6; y5=.52m; +w0 draw 5..6; % bar +x25=x3; x26=.5[x25,x27]; +y25=y26=lb; x28=x26; bot0y28=0; +rt2x27=round(r-phbli.u); y27=.5[y25,y4]; +lft0x29=lft2x27; rt0x30=rt2x27; y29=y30=y27; +call `f lune(26,28,29,30,.48.rdns,.48.rdns,.48.rdns,.48.rdns); % bowl +w0 draw 25..26; % connections to stem +w0 draw 4..28. +"Lowercase Softened L ligature"; +call charbegin('011,plli+.4pwiii/pu+llwidth+phbls+.5pwii/pu+phbli,px,0,.33px.slant); +hpen; x1=good1((plli+llwidth).u+.4w3); x2=x1; bot0y1=0; top0y2=m; y3=y2; x4=x3; +cpen; +if ssflag=0: x6=(plli+1.5).u; x3=good0(x6+1.75u); y4=y3-s; +new w99; w99=.8w3; +lft99x8=lft0x7=round(plli.u); y8=y7=.12m; +else: x7=plli.u; y7=y6; x7=x6-.75u; x3=good0(x6+.75u); y4=y3; fi; +bot0y6=-oo; +hpen; +w1 draw 1..2; % vertical stroke +w0 draw 2..3; % upper bar +if lcs0: call `a serif(1,1,2,.5lcs); % all the serifs + call `b serif(1,1,2,-lcs); + call `c serif(2,1,1,lcs); + call `d serif(2,1,1,-lcs); + call `e dserif(3,0,4,lcs); + call `f dserif(3,0,4,-lcs); +fi; +cpen; +if ssflag=0: +w0 draw 4{0,-1}..6{-1,0}..7{0,1}; +w99 draw 8; % bulb +else: +w0 draw 4{0,-1}..6{-1,0}..7; +fi; +x25=x1; x26=.5[x25,x27]; +y25=y26=lb; x28=x26; bot0y28=0; +rt2x27=round(r-phbli.u); y27=.5[y25,y1]; +lft0x29=lft2x27; rt0x30=rt2x27; y29=y30=y27; +call `f lune(26,28,29,30,.48.rdns,.48.rdns,.48.rdns,.48.rdns); % bowl +w0 draw 25..26; % connections to stem +w0 draw 1..28. +"Serbian dzh"; +call charbegin('012,2.pvbli+pwi/pu+pvbls,px,.4pd,px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; rt1x3=round(r-pvbli.u); x4=x3; +top1y1=m; y1=y3; bot1y2=0; y2=y4; +w1 draw 1..2; % left stem +w1 draw 3..4; % right stem +if lcs0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); % upper left serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,.5lcs); % lower left serif + call `e serif(3,1,4,-lcs); + call `f serif(3,1,4,lcs); % upper right serif + call `g serif(4,1,3,-.5lcs); + call `h serif(4,4,3,lcs); % lower right serif +fi; +w0 draw 2..4; % bar +new w99; w99=.85w1; +rt99x5=.5[x2,x4]=lft99x6; y5=0=y6; +x7=.2[x5,x6]; x8=.8[x5,x6]; y7=-.4d=y8; +ddraw 7..5,8..6. % middle spur +"The letter i (for Ukrainian)"; +call charbegin('014,2.pvbli+pw1/pu,ph,0,ph.slant); +hpen; x1=x2=good1 .5r; top1y1=m+ssdoo; bot1y2=0; +w1 draw 1..2; % stem +cpen; top3y3=h-ssd; rt3x3=rt1x1; w3 draw 3; % dot +if lcs0: call `a sserif(1,1,2,-lcs); % upper serif + call `b serif(2,1,1,-lcs); + call `c serif(2,1,1,lcs); % lower serif +fi. +"Ukrainian ebar"; +call charbegin('015,poli+qza.(.5pwii/pu)+lepwidth+.5pw/pu+plzi,px,0,px.slant); +cpen; rt0x901=round(r-plzi.u); +if ssflag=0: y901=.12m; x1=.44[x901,x3]; +else: y901=.15m; x1=.36[x901,x3]; fi; +x1=x2; top0y1=m+oo; bot0y2=-oo; +new w99; w99=qza.w2; +lft99x3=round(poli.u); y3=.5[y1,y2]; +lft0x13=lft99x3; rt0x23=rt99x3; +y13=y23=y3; +call lune(1,2,23,13,.42rdns,.42rdns,.42rdns,.42rdns); % bowl +if ssflag=0: +x903=x901+.3u; y903=y901+(1.5+qyg).w0; +x101=good0(x901-.2u); y101=.9m; +x103=x101+.1u; y103=y101-(1.5+qyg).w0; +new tailex; tailex=1.2; new tailmid; tailmid=.6; +call arcpoint(2,901,902,1,0,tailex,1,.5,.5); +call arcpoint(2,903,904,1,0,tailmid,1,.55,.5); +call arcpoint(1,101,102,1,0,tailex,-1,.5,.5); +call arcpoint(1,103,104,1,0,tailmid,-1,.55,.5); + +w0 ddraw 2{1,0}..902{x901-x2,y901-y2}..901{tailex,1}, + 2{1,0}..904{x903-x2,y903-y2}..903{tailmid,1}; + +w0 ddraw 1{1,0}..102{x101-x1,y101-y1}..101{tailex,-1}, + 1{1,0}..104{x103-x1,y103-y1}..103{tailmid,-1}; +else: +new slp; slp=1.2; +x101=x901; y101=.85m; +call arcpoint(1,101,102,1,0,slp,-1,.5,.5); +call arcpoint(2,901,902,1,0,slp,1,.5,.5); +w0 draw 1{1,0}..102{x101-x1,y101-y1}..101{slp,-1}; + draw 2{1,0}..902{x901-x2,y901-y2}..901{slp,1}; +fi; +cpen; +if ssflag=0: +y509=y510=y511=round .51m; x509=round(rt0x901-(1.2+qyh).u); +x510=.5[x509,x511]; +y515-y509=.1(m-e); y509-y516=.1(m-e); +x515=.4[x509,x510]; x516=.6[x510,x511]; +new hgt,bdth,theta,sintheta,costheta,acoef,bcoef,ccoef; +hgt=w0; bdth=qzb.(1.75w0); theta=-30; sintheta=sind theta; costheta=cosd theta; +x511-.5bdth.costheta=rt99x3+.25u; +acoef=4.((costheta.costheta)/(bdth.bdth)+(sintheta.sintheta)/(hgt.hgt)); +bcoef=8.sintheta.costheta(1/(bdth.bdth)-1/(hgt.hgt)); +ccoef=4.((sintheta.sintheta)/(bdth.bdth)+(costheta.costheta)/(hgt.hgt)); +spen(acoef,bcoef,ccoef,0,0,0,0); +draw 509..515..510{-2,-1}..516..511; % center tilde +else: +x800=1[x3,x1]; y800=y3; +w0 draw 800..3; +fi. +"Serbian dbar"; +call charbegin('016,2.pvbli+pwi/pu+pvbls,ph,0,.5px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; top1y1=h; bot1y2=0; +w1 draw 1..2; %left vertical stem +if lcs>0: call `a serif(2,1,1,-lcs); %bot lft. lft. serif + call `b sserif(1,1,2,-lcs); %top lft. lft. serif + call `c serif(2,1,1,.75lcs); %bot inside lft. serif +fi; +x4=.5[x2,x7]; y4=-d; +rt0x5=rt1x1; y5=1/4[e,m]; %point near middle of left stem +x6=.5[x2,x7]; top0y6=m+oo; %top of curve +rt1x7=round(r-pvbli.u); y7=.5[y6,y4]; +cpen; w0 draw 5{0,1}..6{1,0}; %shoulder +call `e arc(6,7,w1); %right bowl +call `f arc(4,7,w1); %right bowl +cpen; +lft0x8=lft1x1-lcs.u; rt0x9=x6; y8=y9=.5[m,h]; +w0 draw 8..9. % top bar +"Serbian cprime"; +call charbegin('017,2.pvbli+pwi/pu+pvbls,ph,0,.9px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; top1y1=h; bot1y2=0; +w1 draw 1..2; %left vertical stem +rt1x7=round(r-pvbli.u); y7=1/3[e,m]; x8=x7; bot1y8=0; +rt0x3=rt1x2; y3=1/4[e,m]; +x4=.5[x2,x7]; top3y4=m+oo; +rt0x6=rt1x7; lft0x5=lft1x7; +new stwo; stwo = sqrt 1.23114413sqrttwo; % the constant is $2^{3/10}$ +x9=1/stwo[x4,x5]; x10=1/stwo[x4,x6]; +y5=y6=y7; y9=y10=1/stwo[y7,y4]; +w0 draw 3{0,1}..4{1,0}; % link +ddraw 4{1,0}..10{x6-x4,y6-y4}..6{0,-1}, + 4{1,0}..9{x5-x4,y5-y4}..5{0,-1}; % shoulder +w1 draw 7..8; % stem +if lcs>0: call `a serif(2,1,1,-lcs); %bot lft. lft. serif + call `b sserif(1,1,2,-lcs); %top lft. lft. serif + call `c serif(2,1,1,.75lcs); %bot inside lft. serif + call `e serif(8,1,7,-.75lcs); %bot inside rt serif + call `f serif(8,1,7,lcs); %bot rt rt serif +fi; +cpen; +lft0x15=lft1x1-lcs.u; rt0x17=.6[x2,x8]; y15=y17=.5[m,h]; +w0 draw 15..17. % top bar +"The letter s"; +call charbegin('036,7,px,0,px.slant-.5pu); +hpen; top0y1=m+oo; bot0y5=-oo; +x3=.5r; (y3-w6-.5w8)=(m-2w6-w8).(e/m); % white space ratio +lft11x2=round u; +if lcs=0: x1=x5=x3; lft0x6=round 2/3u; rt0x7=round(r-u); rt11x4=round(r-.75u); + y6=1/3[top0 0,y3]; y7=1/4[bot0m,y3]; + w0 draw 6{x5-x6,3(y5-y6)}..5{1,0}; % lower left stroke + draw 7{x1-x7,2(y1-y7)}..1{-1,0}; % upper right stroke +else: if w0=w1: x1=x5=x3; x6=x2; x7=x4; rt11x4=round(r-u); + y6=1/3[top0 0,y3]; y7=1/4[bot0m,y3]; + w0 draw 6{x5-x6,3(y5-y6)}..5{1,0}; % lower left stroke + draw 7{x1-x7,2(y1-y7)}..1{-1,0}; % upper right stroke + x8=x9=x6; y9=y6+.5lcs.aspect.u+eps; bot0y8=0; + x10=x11=x7; y11=y7-.5lcs.aspect.u-eps; top0y10=m; + w0 draw 8..9; % lower serif + draw 10..11; % upper serif + else: x1=x3-.5u; x5=x3+.5u; lft0x6=round u; rt0x7=round(r-u); + rt11x4=round(r-.5u); + y6=good6(5/7 y3)-1; y7=good6(2/7[y3,m+oo])+1; + bot0y8=0; y9=y6; x8=x6; rt1x6=rt0x9; + top0y10=m+oo; y11=y7; x10=x7; lft1x7=lft0x11; + w0 ddraw 6..8, 9..8; % lower serif + ddraw 7..10, 11..10; % upper serif + rpen#; w1 draw 6{0,-1}..5{1,0}; % erase excess + lpen#; w1 draw 7{0,1}..1{-1,0}; % ditto + hpen; w0 draw 6{0,-1}..5{1,0}; % lower left stroke + draw 7{0,1}..1{-1,0}; % upper right stroke + fi; +fi; +new aa; +if m+oo-e>e: aa=m+oo-e; +else: aa=e; +fi; +call `a sdraw(1,2,3,4,5,w11,w8,-aa/(12u)); % middle stroke +if ptsize>18: + if mode=2: call snip(pa); + fi; +fi. +"Cyrillic letter ja"; +call charbegin('037,plki+.5pw/pu+ljawidth+.5pwi/pu+pvbli,px,0,px.slant); +hpen; rt1x1=rt1x2=round(r-pvbli.u); top1y1=m; bot1y2=0; +w1 draw 1..2; %stem +if lcs>0: call `a serif(1,1,2,lcs); %upper serif + call `b serif(2,1,1,lcs); + call `c serif(2,1,1,-lcs); %lower serifs +fi; +x3=x1; y3=.5m; +x25=good2(x1-(pvbls-.75).u); y25=.5[y1,y3]; +rt0x26=rt2x25; lft0x27=lft2x25; y26=y27=1[y3,y25]; +x29=.5[x1,x25]; top0y29=m; +x28=.5[x3,x25]; y28=y3; +call `e lune(29,28,26,27,.48rdns,.48rdns,.48rdns,.48rdns); % upper bowl +cpen; w0 draw 29..1; % connections to stem + draw 28..3; + +bot0y460=-oo; +if ssflag=0: +x450=lft1x3-0u; y450=y3; +x460=(plki+1).u; +x454=(.52+qya)[x450,x460]; y454=.5[y450,y460]; +x455=.82[x450,x460]; y455=.8[y450,y460]; + +new dirml,dirmr; dirml=.45+qyb; dirmr=.3+qyc; + + +call arcpoint(450,454,452,-1,0,dirml(x460-x450),y460-y450,.55,.3); +call arcpoint(454,460,458,dirml(x460-x450),y460-y450,-1,0,.6,.5); +call arcpoint(450,455,451,-1,0,dirmr(x460-x450),y460-y450,.5,.5); +call arcpoint(455,460,459,dirmr(x460-x450),y460-y450,-1,0,.5,.4); + +call arcpoint(450,451,421,-1,0,x455-x450,y455-y450,.4,.6); +call arcpoint(450,452,422,-1,0,x454-x450,y454-y450,.4,.5); +call arcpoint(451,455,425,x455-x450,y455-y450,dirmr(x460-x450),y460-y450,.5,.5); +call arcpoint(452,454,424,x454-x450,y454-y450,dirml(x460-x450),y460-y450,.6,.3); + +w0 ddraw 450{-1,0}..422{x452-x450,y452-y450}.. % leg + 452{x454-x450,y454-y450}..424{x454-x452,y454-y452}.. + 454{dirml(x460-x450),y460-y450}..458{x460-x454,y460-y454}.. + 460{-1,0}, + 450{-1,0}..421{x451-x450,y451-y450}.. + 451{x455-x450,y455-y450}..425{x455-x451,y455-y451}.. + 455{dirmr(x460-x450),y460-y450}..459{x460-x455,y460-y455}.. + 460{-1,0}; +w0 draw 3..450; + +lft0x469=round(plki.u); y469=.25y450; +x465=.7[x460,x469]; y465=.3[y460,y469]; +w0 draw 460{-1,0}..465..469{0,1}; % foot +else: +hpen; lft2x460=plki.u; +w2 draw 28..460; +fi. +"Cyrillic letter ju"; +call charbegin('030,pvbli+.5pwi/pu+(4+qyi)+(lowidth-.75)+.5pwii/pu+poli,px,0,.5.px.slant); +hpen; lft1x1=round (pvbli.u); x2=x1; top1y1=m; bot1y2=0; +w1 draw 1..2; %left stem +if lcs>0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); %upper serifs + call `c serif(2,1,1,-lcs); + call `d serif (2,1,1,lcs); %lower serifs +fi; +x3=x1; y3=.5m; y4=y3; x4=good2(x1+(4+qyi).u); +w0 draw 3..4; %horizontal bar +rt2x6=round(r-poli.u); x5=.5(x4+x6)=x7; top0y5=m+o; bot0y7=-o; y6=y4; +lft0x24=lft2x4; rt0x34=rt2x4; y24=y34=y4; lft0x26=lft2x6; +rt0x36=rt2x6; y26=y36=y6; +call lune(5,7,26,36,.42rdns,.42rdns,.42rdns,.42rdns); % bowl +call lune(5,7,34,24,.42rdns,.42rdns,.42rdns,.42rdns). +"Cyrillic letter zh"; +call charbegin('031,2.plki+pw/pu+2.lkwidth,px,0,px.slant); +hpen; x1=good1 .5r; x3=x2=x1; +top1y1=m; bot1y2=0; +w1 draw 1..2; % stem +if lcs>0: call `a serif(1,1,2,-lcs); % serifs on stem + call `b serif(1,1,2,lcs); + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); +fi; +cpen; +new w99; w99=.8w3; +y3=good6 .5m; rt99x118=round(r-(plki+.5).u); top99y118=m; +y150=y3; +if ssflag=0: x150=rt1x3; x160=x118-.25w99; top0y160=m+oo; +else: x150=rt1x3+u; rt0x160=r-(plki+.5).u; top0y160=m+oo; fi; +rt0x161=rt99x118; y161=y118; +x154=.6[x150,x160]; y154=.55[y150,y160]; +x155=.73[x150,x160]; y155=.75[y150,y160]; + +lft99x318=round((plki+.5).u); top99y318=m; +y350=y3; +if ssflag=0: x350=lft1x3; x360=x318+.25w99; top0y360=m+oo; +else: x350=lft1x3-u; lft0x360=(plki+.5).u; top0y360=m+oo; fi; +lft0x361=lft99x318; y361=y318; +x354=.6[x350,x360]; y354=.55[y350,y360]; +x355=.73[x350,x360]; y355=.75[y350,y360]; + +new dirml,dirmr; dirml=.5; dirmr=.25; + +call arcpoint(150,154,152,1,0,dirml(x160-x150),y160-y150,.6,.4); +call arcpoint(154,160,158,dirml(x160-x150),y160-y150,1,0,.68,.5); +call arcpoint(150,155,151,1,0,dirmr(x160-x150),y160-y150,.4,.6); +call arcpoint(155,160,159,dirmr(x160-x150),y160-y150,1,0,.55,.5); + +call arcpoint(150,151,121,1,0,x155-x150,y155-y150,.78,.5); +call arcpoint(151,155,125,x155-x150,y155-y150,dirmr(x160-x150),y160-y150,.5,.5); +call arcpoint(150,152,122,1,0,x154-x150,y154-y150,.5,.5); +call arcpoint(152,154,124,x154-x150,y154-y150,dirml(x160-x150),y160-y150,.5,.5); + +call arcpoint(350,354,352,-1,0,dirml(x360-x350),y360-y350,.6,.4); +call arcpoint(354,360,358,dirml(x360-x350),y360-y350,-1,0,.68,.5); +call arcpoint(350,355,351,-1,0,dirmr(x360-x350),y360-y350,.4,.6); +call arcpoint(355,360,359,dirmr(x360-x350),y360-y350,-1,0,.55,.5); + +call arcpoint(350,351,321,-1,0,x355-x350,y355-y350,.78,.5); +call arcpoint(351,355,325,x355-x350,y355-y350,dirmr(x360-x350),y360-y350,.5,.5); +call arcpoint(350,352,322,-1,0,x354-x350,y354-y350,.5,.5); +call arcpoint(352,354,324,x354-x350,y354-y350,dirml(x360-x350),y360-y350,.5,.5); + +if ssflag=0: +w0 ddraw 150{1,0}..122{x152-x150,y152-y150}.. % upper right arm + 152{x154-x150,y154-y150}..124{x154-x152,y154-y152}.. + 154{dirml(x160-x150),y160-y150}..158{x160-x154,y160-y154}.. + 160..161{0,-1}, + 150{1,0}..121{x151-x150,y151-y150}.. + 151{x155-x150,y155-y150}..125{x155-x151,y155-y151}.. + 155{dirmr(x160-x150),y160-y150}..159{x160-x155,y160-y155}.. + 160..161{0,-1}; +w99 draw 118; % right bulb + +w0 ddraw 350{-1,0}..322{x352-x350,y352-y350}.. % upper left arm + 352{x354-x350,y354-y350}..324{x354-x352,y354-y352}.. + 354{dirml(x360-x350),y360-y350}..358{x360-x354,y360-y354}.. + 360..361{0,-1}, + 350{-1,0}..321{x351-x350,y351-y350}.. + 351{x355-x350,y355-y350}..325{x355-x351,y355-y351}.. + 355{dirmr(x360-x350),y360-y350}..359{x360-x355,y360-y355}.. + 360..361{0,-1}; +w99 draw 318; % left bulb +else: +x170=x160+.3u; y170=y160; +w0 draw 150{1,0}..122{x152-x150,y152-y150}.. % upper right arm + 152{x154-x150,y154-y150}..124{x154-x152,y154-y152}.. + 154{dirml(x160-x150),y160-y150}..158{x160-x154,y160-y154}.. + 160{1,0}..170; +x370=x360-.3u; y370=y360; +w0 draw 350{-1,0}..322{x352-x350,y352-y350}.. % upper left arm + 352{x354-x350,y354-y350}..324{x354-x352,y354-y352}.. + 354{dirml(x360-x350),y360-y350}..358{x360-x354,y360-y354}.. + 360{-1,0}..370; +fi; + +y250=y3; +if ssflag=0: x250=rt1x3+.5u; x260=r-(plki+1.5).u; bot0y260=-oo; +else: x250=rt1x3+1.5u; rt0x260=r-plki.u; bot0y260=-oo; fi; +x254=(.55+qyd)[x250,x260]; y254=.5[y250,y260]; +x255=.84[x250,x260]; y255=.8[y250,y260]; + +y450=y3; +if ssflag=0: x450=lft1x3-.5u; x460=(plki+1.5).u; bot0y460=-oo; +else: x450=lft1x3-1.5u; lft0x460=plki.u; bot0y460=-oo; fi; +x454=(.55+qyd)[x450,x460]; y454=.5[y450,y460]; +x455=.84[x450,x460]; y455=.8[y450,y460]; + +new dirml,dirmr; dirml=.37+qye; dirmr=.15+qyf; + +call arcpoint(250,254,252,1,0,dirml(x260-x250),y260-y250,.55,.3); +call arcpoint(254,260,258,dirml(x260-x250),y260-y250,1,0,.6,.5); +call arcpoint(250,255,251,1,0,dirmr(x260-x250),y260-y250,.5,.5); +call arcpoint(255,260,259,dirmr(x260-x250),y260-y250,1,0,.5,.4); + +call arcpoint(250,251,221,1,0,x255-x250,y255-y250,.4,.6); +call arcpoint(250,252,222,1,0,x254-x250,y254-y250,.4,.5); +call arcpoint(251,255,225,x255-x250,y255-y250,dirmr(x260-x250),y260-y250,.5,.5); +call arcpoint(252,254,224,x254-x250,y254-y250,dirml(x260-x250),y260-y250,.6,.3); + +call arcpoint(450,454,452,-1,0,dirml(x460-x450),y460-y450,.55,.3); +call arcpoint(454,460,458,dirml(x460-x450),y460-y450,-1,0,.6,.5); +call arcpoint(450,455,451,-1,0,dirmr(x460-x450),y460-y450,.5,.5); +call arcpoint(455,460,459,dirmr(x460-x450),y460-y450,-1,0,.5,.4); + +call arcpoint(450,451,421,-1,0,x455-x450,y455-y450,.4,.6); +call arcpoint(450,452,422,-1,0,x454-x450,y454-y450,.4,.5); +call arcpoint(451,455,425,x455-x450,y455-y450,dirmr(x460-x450),y460-y450,.5,.5); +call arcpoint(452,454,424,x454-x450,y454-y450,dirml(x460-x450),y460-y450,.6,.3); + +if ssflag=0: +w0 ddraw 250{1,0}..222{x252-x250,y252-y250}.. % left leg + 252{x254-x250,y254-y250}..224{x254-x252,y254-y252}.. + 254{dirml(x260-x250),y260-y250}..258{x260-x254,y260-y254}.. + 260{1,0}, + 250{1,0}..221{x251-x250,y251-y250}.. + 251{x255-x250,y255-y250}..225{x255-x251,y255-y251}.. + 255{dirmr(x260-x250),y260-y250}..259{x260-x255,y260-y255}.. + 260{1,0}; + +w0 ddraw 450{-1,0}..422{x452-x450,y452-y450}.. % left leg + 452{x454-x450,y454-y450}..424{x454-x452,y454-y452}.. + 454{dirml(x460-x450),y460-y450}..458{x460-x454,y460-y454}.. + 460{-1,0}, + 450{-1,0}..421{x451-x450,y451-y450}.. + 451{x455-x450,y455-y450}..425{x455-x451,y455-y451}.. + 455{dirmr(x460-x450),y460-y450}..459{x460-x455,y460-y455}.. + 460{-1,0}; +else: +x270=x260; bot0y270=-oo; +w0 draw 250{1,0}..222{x252-x250,y252-y250}.. % left leg + 252{x254-x250,y254-y250}..224{x254-x252,y254-y252}.. + 254{dirml(x260-x250),y260-y250}..258{x260-x254,y260-y254}.. + 260..270{1,0}; +x470=x460; bot0y470=-oo; +w0 draw 450{-1,0}..422{x452-x450,y452-y450}.. % left leg + 452{x454-x450,y454-y450}..424{x454-x452,y454-y452}.. + 454{dirml(x460-x450),y460-y450}..458{x460-x454,y460-y454}.. + 460..470{-1,0}; +fi; +cpen; +w0 draw 3..250; % connections to stem + draw 3..450; + +if ssflag=0: +rt0x269=round(r-plki.u); y269=.25y250; +x265=.7[x260,x269]; y265=.3[y260,y269]; +w0 draw 260{1,0}..265..269{0,1}; % foot on right leg + +lft0x469=round(plki.u); y469=.25y450; +x465=.7[x460,x469]; y465=.3[y460,y469]; +w0 draw 460{-1,0}..465..469{0,1}; % foot on left leg +fi. +"Dotless letter i (for Ukrainian)"; +call charbegin('075,2.pvbli+pw1/pu,px,0,px.slant); +hpen; x1=x2=good1 .5r; top1y1=m+ssdoo; bot1y2=0; +w1 draw 1..2; % stem +if lcs0: call `a sserif(1,1,2,-lcs); % upper serif + call `b serif(2,1,1,-lcs); + call `c serif(2,1,1,lcs); % lower serif +fi. +"Lowercase Cyrillic soft sign"; +call charbegin('176,pvbli+.5pwi/pu+phbls+.5pwii/pu+phbli,px,0,.33.px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); +top1y1=m; bot1y2=0; +w1 draw 1..2; % stem +if lcs 0: + call `a serif(1,1,2, -lcs); % upper stem serif + call `b serif(1,1,2, lcs); + call `c serif(2,1,1, -lcs); % lower stem serif + call `d serif(2,1,1,.25lcs); +fi; +x25=x1; x26=.5[x25,x27]; +y25=y26=lb; x28=x26; bot0y28=0; +rt2x27=round(r-phbli.u); y27=.5[y25,y2]; +lft0x29=lft2x27; rt0x30=rt2x27; y29=y30=y27; +call `f lune(26,28,29,30,.48.rdns,.48.rdns,.48.rdns,.48.rdns); % bowl +w0 draw 25..26; % connections to stem +w0 draw 2..28. +"Lowercase Cyrillic hard sign"; +call charbegin('177,plai+.5pw/pu+(plal-1)+phbls+.5pwii/pu+phbli,px,0,1/3px.slant); +hpen; x1=good1((plai+plal-1).u+.5w0); x2=x1; top1y1 = m; bot1y2 = 0; +w1 draw 1..2; % stem +if lcs 0: + call `a serif(1,1,2,-.5lcs); % upper stem serif + call `b serif(1,1,2, lcs); + call `c serif(2,1,1, -lcs); % lower stem serif + call `d serif(2,1,1,.5lcs); +fi; +lft0x3=round(plai.u); y3=y1; % upper arm and serif + x4= good0(x3-.5u); y4 = y3-sas; +call `e arm(1,3,4,sas); +x25= x1; x26=.4[x25,x27]; +y25= y26=lb+oo; x28=x26; bot0y28=0; +rt2x27=round(r-phbli.u); y27=.5[y25,y2]; +lft0x29=lft2x27; rt0x30=rt2x27; y29=y30=y27; +call `f lune(26,28,29,30,.48.rdns,.48.rdns,.48.rdns,.48.rdns); % bowl +x44=x25; y44=.2[y25,y27]; +w0 draw 44{0,1}..26{1,0}; % connections to stem +w0 draw 2..28. +"Cyrillic letter eprime"; +call charbegin('013,plzi+.5pw/pu+lepwidth+qza.(.5pwii/pu)+poli,px,0,.5.px.slant); +cpen; lft0x901=round(plzi.u); +if ssflag=0: y901=.12m; x1=.44[x901,x3]; +else: y901=.15m; x1=.36[x901,x3]; fi; +x1=x2; top0y1=m+oo; bot0y2=-oo; +new w99; w99=qza.w2; +rt99x3=round(r-poli.u); y3=.5[y1,y2]; +rt0x13=rt99x3; lft0x23=lft99x3; +y13=y23=y3; +call lune(1,2,23,13,.42rdns,.42rdns,.42rdns,.42rdns); % bowl +if ssflag=0: +x903=x901-.3u; y903=y901+(1.5+qyg).w0; +lft0x101=round(lft0x901+.2u); y101=.9m; +x103=x101-.1u; y103=y101-(1.5+qyg).w0; +new tailex; tailex=-1.2; new tailmid; tailmid=-.6; +call arcpoint(2,901,902,-1,0,tailex,1,.5,.5); +call arcpoint(2,903,904,-1,0,tailmid,1,.55,.5); +call arcpoint(1,101,102,-1,0,tailex,-1,.5,.5); +call arcpoint(1,103,104,-1,0,tailmid,-1,.55,.5); + +w0 ddraw 2{-1,0}..902{x901-x2,y901-y2}..901{tailex,1}, + 2{-1,0}..904{x903-x2,y903-y2}..903{tailmid,1}; + +w0 ddraw 1{-1,0}..102{x101-x1,y101-y1}..101{tailex,-1}, + 1{-1,0}..104{x103-x1,y103-y1}..103{tailmid,-1}; +else: +new slp; slp=-1.2; +x101=x901; y101=.85m; +call arcpoint(1,101,102,-1,0,slp,-1,.5,.5); + +call arcpoint(2,901,902,-1,0,slp,1,.5,.5); +w0 draw 1{-1,0}..102{x101-x1,y101-y1}..101{slp,-1}; + draw 2{-1,0}..902{x901-x2,y901-y2}..901{slp,1}; +fi; + +cpen; +if ssflag=0: +y509=y510=y511=round .51m; x509=round(lft0x901+(1.2+qyh).u); x510=.5[x509,x511]; +y515-y509=.1(m-e); y509-y516=.1(m-e); +x515=.4[x509,x510]; x516=.6[x510,x511]; +new hgt,bdth,theta,sintheta,costheta,acoef,bcoef,ccoef; +hgt=w0; bdth=qzb.(1.75w0); theta=30; sintheta=sind theta; costheta=cosd theta; +x511+.5bdth.costheta=lft99x3-.25u; +acoef=4.((costheta.costheta)/(bdth.bdth)+(sintheta.sintheta)/(hgt.hgt)); +bcoef=8.sintheta.costheta(1/(bdth.bdth)-1/(hgt.hgt)); +ccoef=4.((sintheta.sintheta)/(bdth.bdth)+(costheta.costheta)/(hgt.hgt)); +spen(acoef,bcoef,ccoef,0,0,0,0); +draw 509..515..510{2,-1}..516..511; % center tilde +else: +x800=1[x3,x1]; y800=y3; +w0 draw 800..3; +fi. + +"Cyrillic letter a"; +call charbegin(`a,plcali+.5pwii/pu+lawidth+.5pwi/pu+plcari,px,0,1/3[pe,px].slant); +cpen; lft3x1=round((plcali+.8).u); +if top3(top3top6e+2)>.9[e,m]: top3y1=.9[e,m]; +else: y1=top3top6e+2; +fi; +w3 draw 1; % bulb +hpen; lft0x2=lft3x1; y2=y1; x3=4u; top0y3=m+oo; +rt1x4=rt1x5=round(r-plcari.u); y4=1/3[e,m]; +w0 draw 2{0,1}..3{1,0}; call `a arc(3,4,w1); % shoulder +if lcs=0: bot1y5=0; w1 draw 4..5; % stem +else: rt0x7=round(r-(plcari-1.5).u); y5=.2[top1 0,e]; + w1 draw 4..5; % stem + if rt1x5+.75ulft0x7: rt0x6=.5[rt1x5,rt0x7]; + bot0y6=0; y7=.5e; + draw |w1#|5{0,-1}.. + |w0#|6{1,0}..7{0,1}; % hook + else: rt1x6=round(r-.5u); bot1y6=0; + w1 draw 5{0,-1}..6{1,0}; % foot + fi; +fi; +x8=x9+1.5u; y8=e; x9=x4; y9=e; +lft2x11=round(plcali.u); y11=.2[w6,y9]; +x12=.23[x11,x8]; bot0y12=-oo; x13=.38[x11,x8]; y13=.015[y12,y9]; +x10=x9; y10=.3[y12,y9]; +call arc(9,11,w2); % upper part of bowl +draw |w2#|11{0,-1}.. + |.7[w0,w2]|12{1,0}..|w0#|13..10(..8). % lower part of bowl +"Cyrillic letter b"; +call charbegin(`b,2.poli+pwii/pu+lowidth-.25,ph,0,ph.slant-.25pu); +hpen; x1=.5[x2,x3]; lft2x2=round(poli.u); rt2x3=round(r-poli.u); +top0y1=m+oo; bot0y2=-oo; y3=y2; +call `a darc(1,2,w2); call `b darc(1,3,w2); % bowl +lft0x4=lft2x2; y4=.5[y1,y2]; +x5=x2+2u; x6=x3-2u; y5=.6[m,h]; y6=2/3[m,h]; +x7=x8=x5; x9=x10=x6; rt0x11=rt2x3; top0y11=h+oo; +vpen; w7 draw 5..6; % bar +top7y5=top6y7; top7y6=top6y9; bot7y5=bot6y8; bot7y6=bot6y10; +hpen; w0 ddraw 4{0,1}..7{x6-x5,y6-y5}, 4{0,1}..8{x6-x5,y6-y5}; % link +ddraw 9{x6-x5,y6-y5}..11{0,1}, 10{x6-x5,y6-y5}..11{0,1}. % hook +"Cyrillic letter ts"; +call charbegin(`c,pvbli+.5pwi/pu+pvbls+plstla+.5pw/pu+plali,px,psas,px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; x3=good1(r-.5w0-(plali+plstla).u); +x4=x3; x5=.5[x1,x3]; +top0y1=m; bot0y2=0; y3=y1; y2=y5=y4=y6; +rt0x6=round(r-plali.u); x7=good0(x6+.5u); y7=y6-sas; +if lcs0:call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,.5lcs); + call `e serif(3,1,4,-lcs); + call `f serif(3,1,4,lcs); + call `g serif(4,1,3,-.5lcs); + new tmp; tmp=crisp; new crisp; crisp=0; + rt0x12=rt1x4; + call `h serif(4,1,3,(x6-x12)/u); + new crisp; crisp=tmp; +fi; +w1 draw 1..2; % left stem +w1 draw 3..4; % right stem +w0 draw 2..4; % bar +call `i carm(5,6,7,sas). % lower arm +"Cyrillic letter d"; +call charbegin(`d,2.plali+pw/pu+ldwidth+plstla,px,psas,px.slant); +hpen; lft0x9=lft0x8-.5u; lft0x8=round(plali.u); +x5=.5[x1,x3]; rt0x6=round(r-plali.u); rt0x7=rt0x6+.5u; +x1=good0(x8+2u); x2=x8+u; x3=good1(r-(plali+plstla).u-.5w0); x4=x3; +top0y1=m; bot0y2=0; y3=y1; y8=y2=y5=y4=y6; y7=y9=y6-sas; +y10=y1-s; y11=y2+s; +x10=x1; +(x11-x2)/(y11-y2)=(.3(x1+x3)-x2)/(.3(y1+y3)-y2); +if lcs0: call `a dserif(1,0,10,-lcs); + call `b dserif(1,0,10,lcs); % upper left serif + call `c serif(3,1,4,-.5lcs); + call `d serif(3,1,4,lcs); % upper right serif + new tmp; tmp=crisp; new crisp; crisp=0; + call `e serif(2,0,11,(x8-x2)/u);% lower left serif + rt0x12=rt1x4; + call `j serif(4,1,3,(x6-x12)/u);% lower right serif + new crisp; crisp=tmp; + call `f serif(2,0,11,lcs); % lower left serif + call `i serif(4,1,3,-.5lcs); % lower right serif +fi; +w1 draw 3..4; % right stem +w0 draw 10{0,-1}..11{x2-x11,y2-y11}; % diagonal +draw 1..3; % upper bar +call `g carm(5,8,9,sas); % left arm +call `h carm(5,6,7,sas). % right arm +"Cyrillic letter e"; +call charbegin(`e,2.poli+pwii/pu+(lowidth-1.25),px,0,pe.slant); +hpen; x3=.5r; top0y3=m+oo; y1=e; y2=.5[y5,y3]; +lft2x2=round(fixwidth[poli.u,(poli+.25).u]); rt2x1=round(r-fixwidth[poli.u,(poli+.25).u]); +fi; +bot0y5=-oo; x5=x3+.5u; +new save; save=sqrttwo; new sqrttwo; sqrttwo=sqrt 1.3save; +call `a arc(3,1,w1); % bowl +new sqrttwo; sqrttwo=save; +call `b arc(3,2,w2); call `c arc(5,2,w2); % stroke +new aa; y1=y4=aa[y2,y3]; x4-1=(sqrt(1-aa.aa))[x3,x2]; +w0 draw 4..1; % bar +if w0=w1: x6=x1; x7-x5=x1-x3; y7=y2; + new aa; x6=aa[x5,x7]; y6=(sqrt(1-aa.aa))[y7,y5]; +else: rt0x6=rt2x1; x7=x6; y6=.5e-1; y7=e; +fi; +w0 draw 5{1,0}..6(..7). % point +"Cyrillic letter f"; +call charbegin(`f,2.poli+pwi/pu+lfwidth,ph,pd,.6px.slant); +hpen; x1=x2=good1 .5r; top1y1=h; bot1y2=-d; +w1 draw 1..2; % stem +if lcs0: call `a sserif(1,1,2,-lcs); % upper serif + call `b serif(2,1,1,-lcs); + call `c serif(2,1,1,lcs); % lower serif +fi; +lft1x7=round(poli.u); rt0x5=rt1x1; +x3=.6[x5,x7]; +x3+x4=x5+x6=x7+x8=r; y3=y4; y5=y6; y7=y8; % symmetry +top0y3=m+oo; bot0y5=-oo; y5=y7; +x10+x3=2x1; y9=y7; x9+x4=2x1; y10=y8; +x11=x1; 2y11=y3+y10; +call `d darc(4,8,w1); % right bowl +call `e darc(3,7,w1); % left bowl +call `f arc(4,11,w0); call `g arc(10,11,w0); % right innards +call `h arc(3,11,w0); call `i arc(9,11,w0). % left innards +"Cyrillic letter g"; +call charbegin(`g,pvbli+.5pwi/pu+plal+.5pw/pu+plai,px,0,px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; top1y1=m; bot1y2=0; +w1 draw 1..2; % stem +if lcs0: + call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,.5lcs); % upper stem serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); % lower stem serif +fi; +rt0x3=round(r-plai.u); x4=good0(x3+.5u); y3=y1; y4=y3-sas; +call `e arm(1,3,4,sas). % upper arm and serif +"Cyrillic letter kh"; +call charbegin(`h,2.pvbli+pwii/pu+lkhwidth,px,0,px.slant); +hpen; lft2x1=round(pvbli.u); rt2x4=round(r-pvbli.u); x3=x1; x2=good0(x4-.25u); +top2y1=m; bot2y4=0; y2=y1; y3=y4; +w2 draw 1..4; % upper left to lower right diagonal +w0 draw 3..2; % lower left to upper right diagonal +if lcs0: call `a serif(1,2,4,-lcs); + call `b serif(1,2,4,lcs); % upper left serif + call `c serif(4,2,1,-lcs); + call `d serif(4,2,1,lcs); % lower right serif + new ss; ss=.5(w2-w0)/u; % correction to \\{lcs} makes $w0$ like $w2$ + call `e dserif(2,0,3,-lcs-ss); + call `f dserif(2,0,3,lcs+ss); % upper right serif + call `g dserif(3,0,2,-lcs-ss); + call `h dserif(3,0,2,lcs+ss); % lower left serif +fi. +"Cyrillic letter i"; +call charbegin(`i,2.pvbli+pwi/pu+pvbls,px,0,px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); +rt1x3=rt1x4=round(r-pvbli.u); +top1y1=m; y1=y3; +bot1y2=0; y2=y4; +w1 draw 1..2; % stems + draw 3..4; +if lcs 0: + call `a serif(1,1,2,-lcs); % upper left serif + call `b serif(1,1,2, lcs); + call `c serif(2,1,1,-lcs); % lower left serif + call `d serif(2,1,1, lcs); + call `e serif(3,1,4,-lcs); % upper right serif + call `f serif(3,1,4, lcs); + call `g serif(4,1,3,-lcs); % lower right serif + call `h serif(4,1,3, lcs); +fi; +new w99; w99=.8w0; +w99 draw 3..2. % bar +"The letter j"; +call charbegin(`j,6,ph,pd,ph.slant+.5pwi-2pu); +hpen; x1=x2=good1(r-2.5u); +if fixwidth=0: rt3x4=round 1.25u; +else: lft3x4=round u; +fi; +cpen; top3y3=h-ssd; rt3x3=rt1x1; w3 draw 3; % dot +bot3y4=-.9d; w3 draw 4; % bulb +hpen; top1y1=m+ssdoo; bot1y2=-1/3 d; +bot0y5=-d-oo; y4=y6; lft0x6=lft3x4; x5=.5[x2,x6]; +draw |w1|1..|w1#|2{0,-1}..|w0#|5{-1,0}..6{0,1}; % stem and tail +if lcs0: call `a sserif(1,1,2,-lcs); % serif +fi; +if ptsize>14: + if mode=2: call snip(pa); call snip(px+po); call snip(0); + fi; +fi. +"Cyrillic letter k"; +call charbegin(`k,pvbli+.5pwi/pu+lkwidth+.5pw/pu+plki,px,0,px.slant); +hpen; lft1x1=round(pvbli.u); x3=x2=x1; top1y1=m; bot1y2=0; +w1 draw 1..2; % stem +if lcs>0: call `a serif(1,1,2,-lcs); % serifs on stem + call `b serif(1,1,2,lcs); + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); +fi; +cpen; +new w99; w99=.8w3; +y3=good6 .5m; rt99x118=round(r-(plki+.5).u); top99y118=m; +y150=y3; +if ssflag=0: x150=rt1x3; x160=x118-.25w99; top0y160=m+oo; +else: x150=rt1x3+u; rt0x160=r-(plki+.5).u; top0y160=m+oo; fi; +rt0x161=rt99x118; y161=y118; +x154=.6[x150,x160]; y154=.55[y150,y160]; +x155=.73[x150,x160]; y155=.75[y150,y160]; + +new dirml,dirmr; dirml=.5; dirmr=.25; + +call arcpoint(150,154,152,1,0,dirml(x160-x150),y160-y150,.6,.4); +call arcpoint(154,160,158,dirml(x160-x150),y160-y150,1,0,.68,.5); +call arcpoint(150,155,151,1,0,dirmr(x160-x150),y160-y150,.4,.6); +call arcpoint(155,160,159,dirmr(x160-x150),y160-y150,1,0,.55,.5); + +call arcpoint(150,151,121,1,0,x155-x150,y155-y150,.78,.5); +call arcpoint(151,155,125,x155-x150,y155-y150,dirmr(x160-x150),y160-y150,.5,.5); +call arcpoint(150,152,122,1,0,x154-x150,y154-y150,.5,.5); +call arcpoint(152,154,124,x154-x150,y154-y150,dirml(x160-x150),y160-y150,.5,.5); + +if ssflag=0: +w0 ddraw 150{1,0}..122{x152-x150,y152-y150}.. % upper arm + 152{x154-x150,y154-y150}..124{x154-x152,y154-y152}.. + 154{dirml(x160-x150),y160-y150}..158{x160-x154,y160-y154}.. + 160..161{0,-1}, + 150{1,0}..121{x151-x150,y151-y150}.. + 151{x155-x150,y155-y150}..125{x155-x151,y155-y151}.. + 155{dirmr(x160-x150),y160-y150}..159{x160-x155,y160-y155}.. + 160..161{0,-1}; +w99 draw 118; % bulb +else: +x170=x160+.3u; y170=y160; +w0 draw 150{1,0}..122{x152-x150,y152-y150}.. % upper arm + 152{x154-x150,y154-y150}..124{x154-x152,y154-y152}.. + 154{dirml(x160-x150),y160-y150}..158{x160-x154,y160-y154}.. + 160{1,0}..170{1,0}; +fi; + +y250=y3; +if ssflag=0: x250=rt1x3+.5u; x260=r-(plki+1.5).u; bot0y260=-oo; +else: x250=rt1x3+1.5u; rt0x260=r-plki.u; bot0y260=-oo; fi; +x254=(.55+qyd)[x250,x260]; y254=.5[y250,y260]; +x255=.84[x250,x260]; y255=.8[y250,y260]; +new dirml,dirmr; dirml=.37+qye; dirmr=.15+qyf; + +call arcpoint(250,254,252,1,0,dirml(x260-x250),y260-y250,.55,.3); +call arcpoint(254,260,258,dirml(x260-x250),y260-y250,1,0,.6,.5); +call arcpoint(250,255,251,1,0,dirmr(x260-x250),y260-y250,.5,.5); +call arcpoint(255,260,259,dirmr(x260-x250),y260-y250,1,0,.5,.4); + +call arcpoint(250,251,221,1,0,x255-x250,y255-y250,.4,.6); +call arcpoint(250,252,222,1,0,x254-x250,y254-y250,.4,.5); +call arcpoint(251,255,225,x255-x250,y255-y250,dirmr(x260-x250),y260-y250,.5,.5); +call arcpoint(252,254,224,x254-x250,y254-y250,dirml(x260-x250),y260-y250,.6,.3); + +if ssflag=0: +w0 ddraw 250{1,0}..222{x252-x250,y252-y250}.. % leg + 252{x254-x250,y254-y250}..224{x254-x252,y254-y252}.. + 254{dirml(x260-x250),y260-y250}..258{x260-x254,y260-y254}.. + 260{1,0}, + 250{1,0}..221{x251-x250,y251-y250}.. + 251{x255-x250,y255-y250}..225{x255-x251,y255-y251}.. + 255{dirmr(x260-x250),y260-y250}..259{x260-x255,y260-y255}.. + 260{1,0}; +else: +x270=x260; bot0y270=-oo; +w0 draw 250{1,0}..222{x252-x250,y252-y250}.. % leg + 252{x254-x250,y254-y250}..224{x254-x252,y254-y252}.. + 254{dirml(x260-x250),y260-y250}..258{x260-x254,y260-y254}.. + 260..270{1,0}; +fi; +cpen; +w0 draw 3..250; % connection to stem +if ssflag=0: +rt0x269=round(r-plki.u); y269=.25y250; +x265=.7[x260,x269]; y265=.3[y260,y269]; +w0 draw 260{1,0}..265..269{0,1}; % foot on leg +fi. +"Cyrillic letter l"; +call charbegin(`l,plli+.4pwiii/pu+llwidth+.5pwi/pu+pvbli,px,0,px.slant); +hpen; rt1x1=round(r-pvbli.u); x2=x1; bot0y1=0; top0y2=m; y3=y2; x4=x3; +cpen; +if ssflag=0: x6=(plli+1.5).u; x3=good0(x6+1.75u); y4=y3-s; +new w99; w99=.8w3; +lft99x8=lft0x7=round(plli.u); y8=y7=.12m; +else: x7=plli.u; y7=y6; x7=x6-.75u; x3=good0(x6+.75u); y4=y3; fi; +bot0y6=-oo; +hpen; +w1 draw 1..2; % vertical stroke +w0 draw 2..3; % upper bar +if lcs0: call `a serif(1,1,2,lcs); % serifs + call `b serif(1,1,2,-lcs); + call `c serif(2,1,1,lcs); + call `d serif(2,1,1,-lcs); + call `e dserif(3,0,4,lcs); + call `f dserif(3,0,4,-lcs); +fi; +cpen; +if ssflag=0: +w0 draw 4{0,-1}..6{-1,0}..7{0,1}; +w99 draw 8; % bulb +else: +w0 draw 4{0,-1}..6{-1,0}..7; +fi. +"Cyrillic letter m"; +call charbegin(`m,2.pvbli+.5(pw+pwi)/pu+lmwidth,px,0,px.slant); +if fudge1: new w0,w1; % lines will be thinner in fudged styles + w0=round(fudge.pixels.pw+blacker); w1=round(fudge.pixels.pwi+blacker); +fi; +hpen; lft0x1=round(pvbli.u); x1=x2; top0y1=m; bot0y2=0; +new w99; w99=round .8[w0,w1]; +rt99x3=round(r-pvbli.u); x3=x4; top99y3=m; bot99y4=0; +lft99x5=lft0x1+del; lft0x6=lft99x3-del; y1=y5; y6=y3; +x7-x5=x6-x8; lft99x7=lft0x8; bot4y7=0; y8=y7; +w0 draw 5..1..1..2; % left stem +w99 draw 5..7; % left diagonal +rpen#; w1 draw 8..6; % erase excess at lower right +hpen; w0 draw 8..6..6..3; % right diagonal +w1 draw 3..4; % right stem +if ucs0: call `a dserif(2,0,1,-lcs); + call `b dserif(2,0,1,lcs); % lower left serif + call `c serif(5,4,7,-lcs-del/u); % upper left serif + call `d serif(3,99,4,lcs); % upper right serif + call `e serif(4,99,3,-lcs); + call `f serif(4,99,3,lcs); % lower right serif +fi; +if fudge1: new w0,w1; % restore normal sizes in fudged styles + w0=round(pixels.pw+blacker); w1=round(pixels.pwi+blacker); +fi. +"Cyrillic letter n"; +call charbegin(`n,2.pvbli+pwi/pu+pvbls,px,0,px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; +rt1x3=round(r-pvbli.u); x4=x3; +top1y1=m; y1=y3; +bot1y2=0; y2=y4; +w1 draw 1..2; % left stem +w1 draw 3..4; % right stem +if lcs0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); % upper left serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); % lower left serif + call `e serif(3,1,4,-lcs); + call `f serif(3,1,4,lcs); % upper right serif + call `g serif(4,1,3,-lcs); + call `h serif(4,1,3,lcs); % lower right serif +fi; +x5=x1; x6=x3; y5=y6; y5=(px/phh).ub; +w0 draw 5..6. % bar +"Cyrillic letter o"; +call charbegin(`o,2.poli+pwii/pu+lowidth,px,0,.5px.slant); +hpen; +if fixwidth0: new save; save=sqrttwo; + new sqrttwo; sqrttwo=sqrt save; % super-superellipse + lft2x2=round 1.5u; +else: lft2x2=round(poli.u); +fi; +x1=r-x1; % axis of left-right symmetry +top0y1=m+oo; +bot0y2=-oo; y3=y2; x3=r-x2; +%call `a darc(1,2,w5); % left part of bowl +%call `b darc(1,3,w5); % right part of bowl +lft0x112=lft2x2; good0 x112=x12; +rt0x122=rt2x2; good0 x122=x22; y12=y22=.5[y1,y2]; +lft0x113=lft2x3; good0 x113=x13; +rt0x123=rt2x3; good0x123=x23; y13=y23=y12; +x5=x1; bot0y5=-o; +call lune(1,5,22,12,.42rdns,.42rdns,.42rdns,.42rdns); +call lune(1,5,13,23,.42rdns,.42rdns,.42rdns,.42rdns); + +if fixwidth0: new sqrttwo; sqrttwo=save; +fi. +"Cyrillic letter p"; +call charbegin(`p,2.pvbli+pwi/pu+pvbls,px,0,px.slant); +hpen; lft1x1=round(pvbli.u); x2=x1; +rt1x3=round(r-pvbli.u); x4=x3; +top1y1=m; y1=y3; +bot1y2=0; y2=y4; +w1 draw 1..2; % left stem +w1 draw 3..4; % right stem +if lcs0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,.5lcs); % upper left serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); % lower left serif + call `e serif(3,1,4,-.5lcs); + call `f serif(3,1,4,lcs); % upper right serif + call `g serif(4,1,3,-lcs); + call `h serif(4,1,3,lcs); % lower right serif +fi; +w0 draw 1..3. % bar +"Cyrillic letter ch"; +call charbegin(`q,2.pvbli+pwi/pu+pvbls-.25,px,0,px.slant); +hpen; rt1x1=round(r-pvbli.u); x2=x1; bot1y1=0; top1y2=m; +y4=y2; lft1x4=round(pvbli.u); +w1 draw 1..2; %right vertical stem +x3=x4; lft0x6=lft1x1; x5=.5[x3,x6]; +new vfr; vfr=.9px/phh; +top1y2-bot1y5=vfr.(m+oo); top1y4-y3=vfr.(1/3[e,m]); top1y2-y6=vfr.(.25[e,m]); +new stwo; stwo=1.37; x7=1/stwo[x5,x3]; y7=1/stwo[y3,y5]; +rt0x31=rt1x3; lft0x32=lft1x3; y31=y32=y3; +x71=1/stwo[x5,x31]; x72=1/stwo[x5,x32]; +y71=1/stwo[y31,y5]; y72=1/stwo[y32,y5]; +w1 draw 4..3; %left vertical +w0 draw 5{1,0}..6{0,1}; %hump + ddraw 31{0,-1}..71{x5-x31,y5-y31}..5{1,0}, + 32{0,-1}..72{x5-x32,y5-y32}..5{1,0}; +if lcs>0: call `a serif(2,4,1,lcs); %top rt. rt. serif + call `b serif(1,4,2,lcs); %bot rt. rt. serif + call `c serif(2,4,1,-.5lcs); %top inside rt. serif + call `d serif(1,4,2,-lcs); %bot left serif + call `e serif(4,4,3,.5lcs); %top inside lft serif + call `f serif(4,4,3,-lcs); %top lft lft serif +fi. +"Cyrillic letter r"; +call charbegin(`r,pvbli+.5pwi/pu+(lowidth-.75)+.5pwii/pu+poli,px,pd,.5px.slant); +hpen; lft1x1=lft1x2=lft1x3=round(pvbli.u); x4=x5=.55[x1,x6]; +rt2x6=round(r-poli.u); +top1y1=m+ssdoo; bot1y2=-d; top0y4=m+oo; bot0y5=-oo; +y3=.5[y4,y5]; y6=y5; +w1 draw 1..2; % stem +w0 draw 5{-1,0}..3{0,1}..4{1,0}; % left part of bowl +call `a darc(4,6,w2); % right part of bowl +if lcs0: call `b sserif(1,1,2,-lcs); % upper serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,lcs); % lower serif +fi. +"Cyrillic letter s"; +call charbegin(`s,poli+.5pwii/pu+lswidth+.5pwiii/pu+plsi,px,0,px.slant-pu); +cpen; rt3x1=round(r-plsi.u); +if top3(top3top6e+2)>.9[e,m]: top3y1=.9[e,m]; +else: y1=top3top6e+2; +fi; +if ssflag=0: w3 draw 1; fi; % bulb +hpen; rt0x2=rt3x1; y2=y1; x3=x5=.6[x4,x1]; top0y3=m+oo; +lft2x4=round(poli.u); y4=y5; bot0y5=-oo; +call `a darc(3,4,w2); % stroke +if w0=w1: x6=x2; x7-x5=x5-x4; y7=.5[y3,y5]; + new aa; x6=aa[x5,x7]; y6=(sqrt(1-aa.aa))[y7,y5]; +else: lft0x6=x2; y6=.45e; x7=x6; y7=e; +fi; +if ssflag=0: w0 draw 2{0,1}..3{-1,0}; % shoulder +else: x12=x6; y3-y12=y6-y5; +x8=x7; y12-y8=y7-y6; w0 draw 3{1,0}..12(..8); +fi; +w0 draw 5{1,0}..6(..7); % point +if ptsize>18: + if mode=2: call snip(pa); + fi; +fi. +"Cyrillic letter t"; +call charbegin(`t,2.plali+pw/pu+2.(plal-1),px,0,px.slant); +hpen; x1=good1 .5r; x2=x1; top1y1=m; bot1y2=0; +w1 draw 1..2; % stem +if lcs0: call `a serif(1,1,2,-.5lcs); + call `b serif(1,1,2,.5lcs); % upper bracketing + call `c serif(2,1,1,-1.25lcs); + call `d serif(2,1,1,1.25lcs); % lower serif +fi; +lft0x5=round(plai.u); x6=good0(x5-.5u); y3=y1; y4=y3-sas; +x5+x3=x6+x4=x1+x1; y5=y1; y6=y4; % left-right symmetry +call `e arm(1,3,4,sas); % upper right arm and serif +call `f arm(1,5,6,sas). % upper left arm and serif +"Cyrillic letter u"; +call charbegin(`u,pllui+.5pwi/pu+luwidth+.5pw/pu+prlui,px,pd,px.slant); +hpen; lft1x1=round(pllui.u); rt0x4=round(r-prlui.u); +x2-x1=x4-x3; lft0x3=lft1x2+.5del; +top1y1=m; y4=y1; bot1y2=-o;y3=y2; +w1 draw 1..2; w0 draw 2..3; % left diagonal stroke +rpen#; w1 draw 3..4; % erase excess at lower right + +if ssflag=0: cpen; lft3x8=lft0x7=round((pllui-1).u); bot3y8=-.9d; y7=y8; +hpen; x6=x8+u; bot0y5=-.5d; +else: x6=x5; x7=x6-u; hpen; bot0y7=bot0y6=bot0y5; +fi; +bot0y6=-d-oo; +new aa; x5=aa[x3,x4]; y5=aa[y3,y4]; +cpen; +if ssflag=0: +w0 draw 4..3{x3-x4,y3-y4}..6{-1,0}..7{0,1}; % right diagonal and tail +w3 draw 8; % bulb +else: +w0 draw 4..3{x3-x4,y3-y4}..6{-1,0}..7; +fi; +if lcs0: call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,lcs); % left serif + call `c dserif(4,0,3,-lcs); + call `d dserif(4,0,3,lcs); % right serif +fi. +"Cyrillic letter v"; +call charbegin(`v,pvbli+.5pwi/pu+phbls+.5pwii/pu+phbli,px,0,.75px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); top1y1=m; bot1y2=0; +w1 draw1..2; % stem +if lcs0: + call `a serif(1,1,2,-lcs); + call `b serif(1,1,2,.5lcs); % upper serif + call `c serif(2,1,1,-lcs); + call `d serif(2,1,1,.5lcs); % lower serif +fi; +x3=x1; y3=.52m; +rt1x25=round(r-(phbli+.5).u); y25=.5[y1,y3]; +lft0x26=lft1x25; rt0x27=rt1x25; y26=y27=1[y3,y25]; +x29=.5[x1,x25]; top0y29=m; +x28=.5[x3,x25]; y28=y3; +call `e lune(29,28,26,27,.48rdns,.48rdns,.48rdns,.48rdns); % upper bowl +hpen; w0 draw 29..1; % connection to stem + draw 28..3; +rt2x41=round(r-phbli.u); y41=.55[y2,y3]; +lft0x42=lft2x41; rt0x43=rt2x41; y42=y43=.55[y2,y3]; +x45=.5[x2,x41]; bot0y45=0; +call `f lune(28,45,42,43,.48rdns,.48rdns,.48rdns,.48rdns); % lower bowl +hpen; w0 draw 45..2. % connection to stem +"Cyrillic letter shch"; +call charbegin(`w,pvbli+.5pwi/pu+2.pvblshs+plstla+.5pw/pu+plali,px,psas,px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); x3=good1(x1+pvblshs.u)=x4; +x5=x6=good1(r-.5w0-(plali+plstla).u);; +top1y1=m; y1=y3=y5; bot1y2=0; y2=y4=y6=y7; +rt0x7=round(r-plali.u); rt0x8=r; y8=y7-sas; +w1 draw 1..2; % stems + draw 3..4; + draw 5..6; +if lcs 0: + if 4lcs.u+2w1>x5-x1-2u: new aa; 4aa.u+2w1=x5-x1-2u; + else: new aa; aa=lcs; + fi; + call `a serif(1,1,2,- lcs); % upper left serif + call `b serif(1,1,2, aa); + call `c serif(2,1,1,- lcs); % lower left serif + call `d serif(2,1,1, .5lcs); + call `e serif(3,1,4,- aa); % upper middle serif + call `f serif(3,1,4, aa); + call `g serif(4,1,3,-.5lcs); % lower middle serif + call `h serif(4,1,3, .5lcs); + call `i serif(5,1,6,- aa); % upper right serif + call `j serif(5,1,6, lcs); + call `k serif(6,1,5,-.5lcs); % lower right serif + new tmp; tmp=crisp; new crisp; crisp=0; + rt0x12=rt1x6; + call `l serif(6,1,5,(x7-x12)/u); + new crisp; crisp=tmp; +fi; +w0 draw 2..6; % bottom bar +call `m carm(4,7,8,sas). +"Cyrillic letter sh"; +call charbegin(`x,2.pvbli+pwi/pu+2.pvblshs,px,0,px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); +x3=good1 .5r; rt1x5=round(r-pvbli.u); x4=x3; x6=x5; +top1y1=m; y1=y3=y5; +bot1y2=0; y2=y4=y6; +w1 draw 1..2; % stems + draw 3..4; + draw 5..6; +if lcs 0: + if 4lcs.u+2w1>x5-x1-2u: new aa; 4aa.u+2w1=x5-x1-2u; + else: new aa; aa=lcs; + fi; + call `a serif(1,1,2,- lcs); % upper left serif + call `b serif(1,1,2, aa); + call `c serif(2,1,1,- lcs); % lower left serif + call `d serif(2,1,1, .5lcs); + call `e serif(3,1,4,- aa); % upper middle serif + call `f serif(3,1,4, aa); + call `g serif(4,1,3,-.5lcs); % lower middle serif + call `h serif(4,1,3, .5lcs); + call `i serif(5,1,6,- aa); % upper right serif + call `j serif(5,1,6, lcs); + call `k serif(6,1,5,-.5lcs); % lower right serif + call `l serif(6,1,5, lcs); +fi; +w0 draw 2..6. % bottom bar +"Cyrillic letter y"; +call charbegin(`y,2.pvbli+pwi/pu+phbls+(3.5+qyi),px,0,px.slant); +hpen; lft1x1=lft1x2=round(pvbli.u); rt1x3=rt1x4=round(r-pvbli.u); +top1y1=top1y3=m; bot1y2=bot1y4=0; +w1 draw 1..2; % stems + draw 3..4; +if lcs 0: + call `a serif(1,1,2, -lcs); % upper left serif + call `b serif(1,1,2, lcs); + call `c serif(2,1,1, -lcs); % lower left serif + call `d serif(2,1,1,.5lcs); + call `e serif(3,1,4, -lcs); % upper right serif + call `f serif(3,1,4, lcs); + call `g serif(4,1,3, -lcs); % lower right serif + call `h serif(4,1,3, lcs); +fi; +x25=x1; x26=.5[x25,x27]; +y25=y26=lb; x28=x26; bot0y28=0; +x27=good1(x1+phbls.u); y27=.5[y25,y2]; +lft0x29=lft2x27; rt0x30=rt2x27; y29=y30=y27; +call `f lune(26,28,29,30,.48.rdns,.48.rdns,.48.rdns,.48.rdns); % bowl +w0 draw 25..26; % connections to stem +w0 draw 2..28. +"Cyrillic letter z"; +call charbegin(`z,plzi+.5pw/pu+lzwidth+.5pwii/pu+phbli,px,0,px.slant); +cpen; +if ssflag=0: lft0x901=round(plzi.u); y901=.08m; x1=.45[x901,x7]; +else: lft0x901=round(plzi.u); y901=.15m; x1=.4[x901,x7]; +fi; +top0y1=m+oo; +y5=(px/phh).ub; x5=x1; +bot0y9=-oo; x9=x1; +rt1x3=round(r-(phbli+.5).u); y3=.5[y1,y5]; +rt0x4=rt1x3; lft0x2=lft1x3; y2=y3=y4; +rt2x7=round(r-phbli.u); y7=.5[y5,y9]; +rt0x8=rt2x7; lft0x6=lft2x7; y6=y7=y8; +call exlune(1,5,2,4,.45rdns,.45rdns,.45rdns,.45rdns,0,.3); % bowls +call exlune(5,9,6,8,.45rdns,.47rdns,.45rdns,.45rdns,.25,0); +if ssflag=0: x15=x5-1.15u; else: x15=x5; fi; +y15=y5; +w0 draw 5..15; % center line +if ssflag=0: +x903=x901-.1u; y903=y901+(1.5+qyg).w0; +lft0x101=round((plzi+.2).u); y101=.92m; +x103=x101-.1u; y103=y101-(1.5+qyg).w0; +new tailex; tailex=-1.2; new tailmid; tailmid=-.6; +call arcpoint(9,901,902,-1,0,tailex,1,.5,.5); +call arcpoint(9,903,904,-1,0,tailmid,1,.55,.5); +call arcpoint(1,101,102,-1,0,tailex,-1,.5,.5); +call arcpoint(1,103,104,-1,0,tailmid,-1,.55,.5); +w0 ddraw 1{-1,0}..102{x101-x1,y101-y1}..101{tailex,-1}, + 1{-1,0}..104{x103-x1,y103-y1}..103{tailmid,-1}; +w0 ddraw 9{-1,0}..902{x901-x9,y901-y9}..901{tailex,1}, + 9{-1,0}..904{x903-x9,y903-y9}..903{tailmid,1}; +else: +lft0x101=round((plzi+.1).u); y101=.85m; +new tail; tail=-1.2; +call arcpoint(1,101,102,-1,0,tail,-1,.5,.5); +call arcpoint(9,901,902,-1,0,tail,1,.5,.5); +w0 draw 1{-1,0}..102{x101-x1,y101-y1}..101{tail,-1}; + draw 9{-1,0}..902{x901-x9,y901-y9}..901{tail,1}; +fi. diff --git a/fonts/cyrillic/cmcyr/mf/cyrsymb.mf b/fonts/cyrillic/cmcyr/mf/cyrsymb.mf new file mode 100644 index 0000000000..6bb49ba643 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyrsymb.mf @@ -0,0 +1,92 @@ +cmchar "open cyrillic quote (looks like <<)"; +beginchar(oct"035",10u#,x_height#,0); +adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup rule.nib; +lft x2=hround u-epsilon; x1=x3=.55w; +y1=h; y3=0; y2=.5[y1,y3]; +draw z1--z2--z3; % left diagonals +x4=w-x2; y4=.9[y3,y1]; y6=.1[y3,y1]; +x5-x2=x6-x3=x4-x1; y5=y2; +draw z4--z5--z6; % right diagonals +z2'=z2; x2':=x2-.625rule_thickness; +z5'=z5; x5':=x5+.625rule_thickness; +draw z1--z2'--z3; % left diagonals +draw z4--z5'--z6; % right diagonals +labels(1,2,3,4,5,6); endchar; + +cmchar "close cyrillic quote (looks like >>)"; +beginchar(oct"036",10u#,x_height#,0); +adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup rule.nib; +lft x2=.55w; x1=x3=hround u-epsilon; +y1=.9h; y3=.1h; y2=.5[y1,y3]; +y4=h; y6=0; y5=.5[y4,y6]; +draw z1--z2--z3; % left diagonals +x4=w-x2; +x5-x2=x6-x3=x4-x1; +draw z4--z5--z6; % right diagonals +z2'=z2; x2':=x2-.625rule_thickness; +z5'=z5; x5':=x5+.625rule_thickness; +draw z1--z2'--z3; % left diagonals +draw z4--z5'--z6; % right diagonals +labels(1,2,3,4,5,6); +endchar; + +cmchar "The number mark"; +beginchar(oct"031",17u#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric thin_stem,letter_w,light_bulb; letter_w=14u; +thin_stem=hround(fudged.hair+stem_corr); +pickup tiny.nib; pos1(thin_stem,0); pos2(thin_stem,0); +pos3(thin_stem,0); pos4(thin_stem,0); +top y1=h; bot y4=0; +if serifs: top y3=h-bot y2=.9h; else: top y3=h; bot y2=0; fi +x1=x2; x3=x4; x1l=letter_w-x3r; +rt x3r=hround min(letter_w-3u,letter_w-4u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_stem,0); + x5l=x1; x6r=x4; y5=h; y6=0; + numeric upper_notch,lower_notch; + upper_notch=h-cap_notch_cut; lower_notch=cap_notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x4'=lft x4l; z4'=whatever[z5r,z6r]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y4'>lower_notch: {left}(x4'-1,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,0); penpos6(whatever,90); + z5l=z1l; z6l=z4l; + z7=z6l+(max(eps,cap_stem-3stem_corr-tiny),0) rotated (angle(z5l-z6l)-90); + z5r=z7+whatever*(z5l-z6l); z6r=z7+whatever*(z5l-z6l); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: serif(5,6,a,1/3,-cap_jut); % upper left serif + light_bulb=hround 7/8[cap_hair,flare]; + z2'r=(tiny.rt x2r,y2); z2'l=(tiny.lft x2l,y2); + z3'l=(tiny.rt x3r,y3); z3'r=(tiny.lft x3l,y3); + penpos8(vair,-90); penpos9(cap_hair,-180); penpos10(light_bulb,-180); + penpos11(vair,90); penpos12(cap_hair,0); penpos13(light_bulb,0); + x8=x1-1.25u; x11=letter_w-x8; + x10r=hround .5u; x13r=hround(letter_w-.5u); + if monospace: y10=u; y11=h-y8=h; + else: y10=2u-min(.5light_bulb,.5u); top y11r=h+o; bot y8r=-o; fi + y13=h-y10; + fill stroke z2'e{down}...{left}z8e; + fill stroke z3'e{up}...{right}z11e; % upper and lower arcs + clearpen; + bulb(8,9,10); bulb(11,12,13); fi % upper and lower bulbs +numeric thick_hair; thick_hair=max(hair,.75stem); +penpos14(vair,90); penpos16(vair,-90); +penpos15(thick_hair,180); penpos17(thick_hair,0); +interim superness:=sqrt(more_super*hein_super); +if monospace: x15=hround(w-4.5u); rt x17r=hround(w-.5u); + else: x15=hround(w-4u); rt x17r=hround(w-.5u); fi +x14=x16=.5[x15,x17]; y14r=h-y16r=.7h; y15=y17=.5[y14,y16]; +if x17l<=x15l+10: x15l:=x15r+vair; x17l:=x17r-vair; fi +penstroke pulled_arc.e(14,15) & pulled_arc.e(15,16) + & pulled_arc.e(16,17) & pulled_arc.e(17,14) & cycle; % bowl +pickup crisp.nib; pos18(thick_hair,90); pos19(thick_hair,90); +bot y18l=bot y19l=.075h; rt x19=x17r; lft x18=x15r; +filldraw stroke z18e--z19e; % bar +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,1',2,3,4,4',5,6,7,8,9,10,11,12,13,14,15,16,17,18,19); +endchar; diff --git a/fonts/cyrillic/cmcyr/mf/cyrt.mf b/fonts/cyrillic/cmcyr/mf/cyrt.mf new file mode 100644 index 0000000000..7723705019 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyrt.mf @@ -0,0 +1,1024 @@ +cmchar "The cyrillic letter a"; +beginchar(CYR_a,9u#,x_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); define_pixels(bh); +italcorr 1/3[bh#,x_height#]*slant+.5stem#-serif_fit#-2u#; +adjust_fit(0,serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi); +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=.5w-.2u; top y1r=vround .82[bh,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % terminal +pos4(stem,0); rt x4r=hround(w-2.5u+.5stem); y4=1/3[bh,h]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(x,y8r)=whatever[z8l,z9l]; x8r:=max(x,x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e&super_arc.e(7,6)}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=.2[.5tiny,bh]; + pos11(shaved_stem,0); rt x11r=hround(w-.25u); bot y11=0; + pos12(shaved_stem,0); x11=x12; top y12=slab+eps; + filldraw z5'l---z10l...z11l{right}--z11r + --z12r{left}...z10r+.75(z12-z11)---z5'r--cycle; % foot + else: pickup crisp.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=1/3bh; + pos11(.2[vair,stem],90); x11r=.5[x10r,x12r]; bot y11l=-vround .5oo; + pos12(hair,180); rt x12l=hround(w-.1u); y12=max(y10,y11+vair); + pos13(hair,180); x13=x12; top y13=max(vround .6bh,top y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=max(x',x10); + filldraw stroke z5'e---z10e...z11e{right}...z12e---z13e; fi % hook +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; bot y10=0; + filldraw stroke z5'e--z10e; fi % base of stem +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "The cyrillic letter be"; +beginchar(CYR_be,9u#,fig_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos2'(vair,180); lft x2'r=x2r; y2'=y2r; +penpos5(.8curve,90); penpos6(.8curve,90); +penpos6'(.8curve,-90); x6=.5[x5,x7]; y6=y5; z6'=z6; +penpos7(thin_join,0); rt x7r=rt x4r; +top y7=h; top y5r=.97h; x5=x1; +fill stroke z2'e{up}...{right}z5e..z6e; +fill circ_stroke pulled_arc.e(7,6'); +penlabels(1,2,2',3,4,5,6',6,7); endchar; + +cmchar "The cyrillic letter ve"; +beginchar(CYR_ve,9u#,x_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.75vair; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(.75vair,90); penpos4(.75vair,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(.75vair,-90); penpos12(.75vair,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; bot y11=bot y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-u); x10r=hround(w-.5u); +if serifs: right_curve=curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,jut,b,1/3,.5jut); % upper serif + nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "The cyrillic letter ghe"; +beginchar(CYR_ghe,8.5u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.75u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +nodish_serif(1,2,a,1/3,jut,b,1/3,.5jut); % upper serif +dish_serif(2,1,c,1/3,jut,d,1/3,1.25jut); % lower serif +penlabels(1,2,3,4); endchar; + +def ellipse_set(suffix $,@,@@,$$) = % given |z$,x@,z$$|, find |y@| and |z@@| +% such that the path |z${x@-x$,0}..z@{0,y@-y$}..{z$$-z@@}z@@| +% is consistent with an ellipse +% and such that the line |z@@--z$$| has a given |slope| + alpha_:=slope*(x$-x@); beta_:=y$$-y$-slope*(x$-x$$); + gamma_:=alpha_/beta_; + y@-y$=.5(beta_-alpha_*gamma_); + x$-x@@=-2gamma_*(x$-x@)/(1+gamma_*gamma_); + y@@-y$$=slope*(x$$-x@@) enddef; + +cmchar "The cyrillic letter ghe"; +beginchar(CYR_ghe,7.1u#,x_height#,0); +italcorr x_height#*slant-.3u#; +adjust_fit(if monospace: .5u#,.4u# else: 0,-.2u# fi); +numeric theta; theta=90+angle(40u,h); slope:=-h/40u; % angle at middle +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-80); +pos0(ess',theta); pos7(s_slab,-90); x2l=x0=x7=.5w; +top y2l=h+vround 1.5oo; bot y7r=-oo; +y0-.5ess'=y7l+.52(y2r-y7l-ess'); +rt x3l=hround(w-.6u); lft x6r=hround .6u; +x3l-x3r=x6l-x6r=hround .5[s_slab,ess']-fine; +ellipse_set(2l,3l,4l,0l); ellipse_set(2r,3r,4r,0r); y3=y3r; +ellipse_set(7l,6l,5l,0l); ellipse_set(7r,6r,5r,0r); y6=y6r; +interim superness:=more_super; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +pos1(4/7[s_slab,flare],-80); pos8(flare,-80); +x1l=good.x(x1l+u-lft x1); rt x8r=hround(w-.5u); +top y1l=vround(.93h+1.5oo); bot y8r=vround .1h-oo; +filldraw stroke term.e(2,1,left,.9,4); % upper arc and terminal +filldraw stroke term.e(7,8,right,1,4); % lower arc and terminal +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +cmchar "The cyrillic letter de"; +beginchar(CYR_de,10u#+serif_fit#,x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u# if serifs:+.5u# fi; +adjust_fit(0,serif_fit# if serifs: -.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0r=z0'r; x0'=x1; x0=x2; +rt x1r=hround(w-2.5u+.5stem'); +numeric edge; edge=lft x2l; +path edge_path; edge_path=(edge,h)--(edge,0); +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,0); +pos4(vair,90); pos5(curve,180); pos6(vair,270); penpos7(x3r-x3l,360); +lft x3l=min(lft x3l-(rt x3r-tiny.rt x2r),2/3[lft x2,edge]); y3=bar_height; +x4l=.5(w-serif_fit)-.3u; top y4r=x_height+oo; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=vround 1/3vair; +lft x7l=edge; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(edge_path intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(edge_path intersectionpoint(z7l{down}...{left}z6l)); +pickup tiny.nib; bot y2=if serifs: -.25d else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z1; x8r=x7'r; top y8=h+oo; +filldraw stroke z7'e--z8e; % point +if serifs: pickup tiny.nib; + pos9(vair,-90); x9=.5[x2,x10]; bot y9r=-d-o-1; + pos10(hair,-180); lft x10r=hround u; y10=-.75d+.5flare; + pos11(flare,-180); z11r=z10r; + bulb(9,10,11); filldraw stroke super_arc.e(2,9); % tail +else: pickup fine.nib; pos2'(stem,0); z2'=z2; + z2''r=z2'r; z2''=z2'; z2''l=(x2'l,0); + pos9(vair,-90); x9=4.5u; bot y9r=-d-o-1; + pos10(.5[vair,flare],-90); lft x10=hround 1.25u; + y10r=good.y -5/6d; y10l:=good.y y10l; + filldraw stroke z2'e..z2''e&super_arc.e(2'',9) + & term.e(9,10,left,.9,4); fi % tail +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter ie"; +beginchar(CYR_ie,7.25u#+max(.75u#,.5curve#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter ye"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(CYR_ye,7.25u#+max(.75u#,.5curve#),1.4x_height#,0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve,letter_h; letter_h=x_height; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=letter_h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +pos6(dot_diam,0); pos7(dot_diam,90); +x6=x7=2.5u; top y7r=h+1; +if bot y7l<letter_h+o+slab: y7l:=min(y7r-eps,letter_h+o+slab+.5tiny); fi +y6=.5[y7l,y7r]; dot(6,7); % left dot +pos8(dot_diam,0); penpos9(y7r-y7l,90); y8=y9=y6; x8=x9=w-x6; +dot(8,9); % right dot +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter zhe"; +beginchar(CYR_zhe,15.5u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +numeric arc_width; arc_width=7u; +pos2(vair,-90); pos3(.8curve,0); pos4(vair,90); % NG +pos9(vair,90); pos10(.8curve,180); pos11(vair,270); % NG +x2=x4=w-x9=.5(arc_width-2u); x11=x9; +rt x3r=w-lft x10r=hround(arc_width-2.5u+.5curve); % NG +x6=x5; bot y2r=-oo; top y9r=h+oo; +top y4r=h+oo; bot y11r=-oo; y3=h-y10=.5[y2,y4]; +pos5(4/7[vair',flare],110); pos8(4/7[vair',flare],80); +rt x8r=w-lft x5r=hround(w-.6u); top y8r=top y5r=vround .82[bar_height,top y9r]; +filldraw stroke term.e(4,5,left,.8,4); % left upper terminal +filldraw stroke term.e(9,8,right,.8,-4); % right upper terminal +pos1(.6[vair',flare],265); pos12(.6[vair',flare],275); +rt x12r=w-lft x1r=hround(w-.5u); +y1r=good.y(y1r+1/3bar_height-y1); y1l:=good.y y1l; x1l:=good.x x1l; +y12r=good.y(y12r+1/3bar_height-y12); y12l:=good.y y12l; x12l:=good.x x12l; +forsuffixes e=l,r: path p.e,q.e; +p.e=z2e{left}..tension .9 and 1..z1e; +q.e=z11e{right}..tension .9 and 1..z12e; +if angle direction 1 of p.e>75: + p.e:=z2e{left}..tension atleast.9 and 1..{dir 115}z1e; + q.e:=z11e{right}..tension atleast.9 and 1..{dir 75}z12e; fi endfor +filldraw stroke pulled_super_arc.e(4,3)(.7superpull) + & pulled_super_arc.e(3,2)(.5superpull) & p.e; % left arc and lower terminal +filldraw stroke pulled_super_arc.e(9,10)(.7superpull) + & pulled_super_arc.e(10,11)(.5superpull) & q.e; % right arc and terminal +pos14(.9stem,0); pos15(.9stem,0); % NG +x14=x15=.5w; top y14=h; bot y15=0; +filldraw stroke z14e--z15e; % stem +penpos3'(bar,90); penpos10'(bar,90); z3'=z3; z10'=z10; +fill stroke z3'e--z10'e; % bar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +cmchar "The cyrillic letter ze"; +beginchar(CYR_ze,7.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +pickup fine.nib; +pos1(1.2flare,100); pos2(slab,90); +pos3(flare,0); pos4(slab,-90); pos5(flare,-95); +rt x1r=hround(1.1u); x2=.5w; x4=.45[x1,x10]; x9=.5w-u; +rt x3r=hround w-max(u,2u-.5curve); rt x5r=hround(.9u); +top y1r=vround .9h+oo; top y2r=h+oo; y3=.5[y7,y2]; +bot y4r=-oo; bot y5r=vround .15h-oo; y5l:=good.y y5l; x5l:=good.x x5l; +pos7(vair,-90); pos8(vair,-90); +pos9(max(fine.breadth,vround 2/3vair),90); pos10(flare,0); +rt x10r=hround(w-.75u); lft x8=min(hround 5u,lft x9)-eps; +y10=.5[y9,y4]; top y8l=vround(.54h+.5vair); y8r=y9l; +x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); +filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) +& pulled_arc.e(3,8); % upper bowl +filldraw stroke pulled_arc.e(9,10) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); % lower bowl +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter i"; +beginchar(CYR_i,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=h+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=h; bot y4=0; fi +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +penlabels(1,2,3,4,5); labels(6); endchar; + +cmchar "The cyrillic letter short_i"; +beginchar(CYR_short_i,10u#,if serifs: 1.5x_height# + else: 1.4x_height# fi,0); +italcorr 1.5x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; bot y4=0; fi +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +pickup fine.nib; penpos7(.75vair,-90); +penpos8(.75vair,-180); penpos10(.75vair,0); +x7=.5[x8,x10]; y7=.85h; +x8r=x1r; x10r=x3l; top y8=top y10=h; +filldraw stroke z8e...z7e...z10e; +penlabels(1,2,2',3,3',4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter ka"; +beginchar(CYR_ka,9.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(serif_fit#,serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +lft x1l=lft x2l=hround(2.5u-.5fudged.stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-.75u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.5u-right_jut); +x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=h; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5l,z5r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +% we have also |z3'l=z3l+penoffset z4-z3 of currentpen+whatever*(z3-z4)|;\] +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % lower diagonal +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper stem serif + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif + dish_serif(3,4,e,2/3,right_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark);fi % lower diagonal serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter el"; +beginchar(CYR_el,9.5u#,x_height#,0); +italcorr x_height#*slant-.5u; +adjust_fit(0,serif_fit#); +pickup tiny.nib; +numeric light_stem; light_stem=.9stem; +pos1(light_stem,0); pos2(light_stem,0); pos3(light_stem,0); +lft x1l=.5u; rt x3r=w-.5u; bot y1=bot y3=0; +x2=.5[x1,x3]; top y2=h; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z2e--z3e; % right stem +penlabels(1,2,3); endchar; + +%cmchar "The cyrillic letter el"; +%beginchar(CYR_el,10u#,x_height#,0); +%italcorr x_height#*slant-serif_fit# +% +.75jut#-2.5u#+min(.5stem#,u#); +%adjust_fit(0,serif_fit#); +%pickup tiny.nib; +%pos1(hair,90); pos2(hair,90); pos3(hair,180); +%pos4(stem,0); pos4'(slab,90); pos5(stem,0); +%x3=.33w; rt x4r=rt x5r=hround(w-2.5u+.5stem); +%top y4=h; bot y5=0; y3=.52h; +%filldraw stroke z4e--z5e; % right stem +%x1=u; x2=x1+.75u; bot y1l=0; bot y2l=0; +%rt x4'=rt x4r; top y4'r=h; +%filldraw stroke z1e..z2e{right}...{up}z3e{up}..{right}z4'e; % stem and arc +%penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter em"; +beginchar(CYR_em,12u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.stem-3stem_corr); +if stem4<stem1: stem4:=stem1; fi +pickup tiny.nib; pos1(stem1,0); pos2(stem1,0); +pos3(stem4,0); pos4(stem4,0); +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround(w-2.5u+.5stem4); +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(stem2,0); penpos6(stem2,0); penpos7(stem3,0); penpos8(stem3,0); +x5l=x1; x6l=x7l; x8=lft x3l; x6-x5=x8-x7; y5=y8=h; y6=y7; +y6=1/3h; +if hefty: +%y6=if monospace: vround 1/3h else: o fi; + numeric upper_notch,lower_notch; + upper_notch=h-notch_cut; lower_notch=y6+notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x3'=lft x3l; z3'=whatever[z7r,z8r]; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + if y3'<upper_notch: ...{up}(x3'-1,upper_notch){right} fi + ..z8r--diag_out(8r,1,8l,7l){z7-z8} + if y0<=lower_notch: ..{z7-z8}z0{z5-z6}.. + else: ...{down}(x0+.5,lower_notch)--(x0-.5,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonals +else: +%y6=0; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l..{z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + ..z8r--diag_out(8r,1,8l,7l){z7-z8}..{z7-z8}z0{z5-z6} + ..{z5-z6}diag_in(6r,5r,1,5l)--cycle; fi % diagonals +if serifs: serif(1,2,a,1/3,-jut); % upper left serif + dish_serif(2,1,b,1/2,jut,c,1/2,jut)(dark); % lower left serif + serif(3,4,d,1/3,jut); % upper right serif + dish_serif(4,3,e,1/3,jut,f,1/3,jut); fi % lower right serif +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + +cmchar "The cyrillic letter en"; +beginchar(CYR_en,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(bar,90); penpos6(bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); fi % lower left serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter o"; +beginchar(CYR_o,9u#,x_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=h+vround 1.5oo; y3r=-oo; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter pe"; +beginchar(CYR_pe,10u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter er"; +beginchar(CYR_er,10u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=h if serifs: +min(oo,serif_drop) fi; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair',90); pos5(curve,0); pos6(vair,-90); penpos7(x3l-x3r,-180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l), 1/3[rt x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; pos8(hair,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=0; +filldraw stroke z7'e--z8e; % point +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter es"; +beginchar(CYR_es,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + rt x1r=hround(w-.6u); top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); rt x5r=hround(w-.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..tension atleast.9 and 1..{dir 75}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & p.e; fi % arc and lower terminal +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter te"; +beginchar(CYR_te,10u#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +lft x1l=lft x2l=hround(.5w-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.65u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414jut,d,1/3,1.414jut); % lower serif + nodish_serif(1,2,a,1/3,.5jut,b,1/3,.5jut); fi % upper bracketing +penlabels(1,2,3,4,5); endchar; + +cmchar "The cyrillic letter te"; +beginchar(oct"040",15u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; +lft x3l=hround(.5w-.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)-l; fi % change width for better fit +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % left arch and middle stem +h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.l(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); % lower middle serif + dish_serif(6,5,h,1/3,inner_jut,i,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter u"; +beginchar(CYR_u,if serifs:9.5u# else:9u# fi,x_height#,desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +left_stem=fudged.stem-stem_corr; +right_stem=fudged.hair if hefty:-2stem_corr fi; +bot_stem=fudged.hair if hefty:-8stem_corr fi; +bot_vair=Vround(if serifs: vair else:.5[vair,bot_stem] fi); +outer_jut=.75jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4r=h; y2=y3=0; x2l=x3l; +numeric alpha,alpha[]; x9=3u; y9=bot_vair-d-oo; +alpha1=diag_ratio(2,bot_stem,y1-y3,x4r-x1l-apex_corr); +alpha2=diag_ratio(1,bot_stem,y1-y9,x4r-x9); +if alpha1<alpha2: x2l-x1l=x4r-x3r+apex_corr; alpha=alpha1; +else: alpha=alpha2; z3l=whatever[z9,z4r-(alpha*bot_stem,0)]; fi +penpos3(alpha*bot_stem,0); penpos4(alpha*right_stem,0); +alpha3=(y1++(x2l-x1l))/y1; +penpos1(alpha3*left_stem,0); penpos2(alpha3*left_stem,0); +z0=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +if y0>notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4r-z3r}diag_end(0,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--z3r--z2l + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +penpos5(alpha*bot_stem,0); z5r=whatever[z3r,z4r]; y5-.5vair=-.5d; +if serifs: numeric light_bulb; light_bulb=hround 7/8[hair,flare]; clearpen; + penpos6(vair,-90); penpos7(hair,-180); penpos8(light_bulb,-180); + x6=2u; y6r=-d-oo; y8-.5light_bulb=-.85d; x8r=hround .35u; + fill stroke z3e---z5e...{left}z6e; bulb(6,7,8); % arc and bulb + numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+jut+.5u+1<=lft x4'l-jut: inner_jut=jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % right serif +else: penpos6(bot_vair,-90); x6=2.5u; y6r=-d-oo; + fill stroke z3e---z5e...{left}z6e; % arc + pickup fine.nib; pos6'(bot_vair,-90); z6'=z6; + pos7(2/3[bot_vair,flare],-85); + lft x7l=hround u; bot y7r=vround-.96d-oo; y7l:=good.y y7l; + filldraw stroke term.e(6',7,left,1,4); fi % arc and terminal +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ef"; +beginchar(CYR_ef,12u#,x_height#+desc_depth#,desc_depth#); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +top y1=h if serifs: +min(oo,serif_drop) fi; +x1=x2=.5w; bot y2=-d; +penpos3(.75vair,180);penpos3'(.75vair,0); +penpos4(.75vair,90); penpos5(curve,0); +penpos6(.5[vair,.75vair],-90); +penpos7(.75vair,180); penpos7'(.75vair,0); +penpos8(.75vair,90); penpos9(curve,180); +penpos10(.75vair,270); +x3l=x7l=rt x1r; x3'l=x7'l=lft x1l; +y4r=y8r=x_height+oo; y5=y9=.5[y4l,y6l]; +x4r=x6r=.5[x1,x5]; x8r=x10r=.5[x9,x1]; +x5r=w-x9r=w-.5u; +y7=y7'=.25x_height; y3=y3'=x_height-y7; y6r=y10r=-oo; +filldraw stroke z1e--z2e; % stem +fill stroke z3e{up}..pulled_arc.e(4,5) & pulled_arc.e(5,6)..{up}z7e; +fill stroke z3'e{up}..pulled_arc.e(8,9) & pulled_arc.e(9,10)..{up}z7'e; % lobe +if serifs: + sloped_serif.l(1,2,a,1/3,jut,.1h); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,3',4,5,6,7,7',8,9,10); endchar; + +cmchar "The cyrillic letter ha"; +beginchar(CYR_ha,if serifs:9.5u# else:9u# fi,x_height#,0); +italcorr x_height#*slant-.05u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=fudged.stem-4stem_corr; stem2=min(fudged.hair,stem1); +outer_jut=.75jut; xjut= if serifs: (stem1-stem2)/4 else: 0 fi; +x1l=l+letter_fit+.1u+outer_jut; x2r=r-letter_fit-.3u-outer_jut-xjut; +x3l=l+letter_fit+outer_jut+xjut; x4r=r-letter_fit-outer_jut; +y1=y2=h; y3=y4=0; +alpha1=diag_ratio(1,stem1,h,x4r-x1l); +alpha2=diag_ratio(1,stem2,h,x2r-x3l); +penpos1(alpha1*stem1,0); penpos2(alpha2*stem2,0); +penpos3(alpha2*stem2,0); penpos4(alpha1*stem1,0); +if hefty: z0=whatever[z1,z4]=whatever[z2,z3]; + x12=x34=x0; y13=y24=y0; + z12=whatever[z2l,z3l]; z13=whatever[z2l,z3l]; + z24=whatever[z2r,z3r]; z34=whatever[z2r,z3r]; + forsuffixes $=13,24,34: z$'=.2[z$,z0]; endfor + fill diag_end(12,1r,.5,1,1l,13')--z13'--diag_end(13',3l,1,.5,3r,34')--z34' + --diag_end(34',4l,.5,1,4r,24')--z24' + --diag_end(24',2r,1,.5,2l,12)--z12--cycle; % diagonals +else: fill diag_end(4r,1r,.5,1,1l,4l) + --diag_end(1l,4l,.5,1,4r,1r)--cycle; % left diagonal + fill diag_end(2l,3l,.5,1,3r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +if serifs: numeric inner_jut[]; pickup tiny.nib; + prime_points_inside(1,4); prime_points_inside(2,3); + prime_points_inside(3,2); prime_points_inside(4,1); + if rt x1'r+jut+.5u+1<=lft x2'l-jut-xjut: inner_jut1=jut; + else: rt x1'r+inner_jut1+.5u+1=lft x2'l-inner_jut1-xjut; fi + if rt x3'r+jut+.5u+1<=lft x4'l-jut-xjut: inner_jut2=jut; + else: rt x3'r+inner_jut2+.5u+1=lft x4'l-inner_jut2-xjut; fi + dish_serif(1',4,a,1/3,outer_jut,b,2/3,inner_jut1); % upper left serif + dish_serif(4',1,c,2/3,inner_jut2,d,1/3,outer_jut); % lower right serif + dish_serif(2',3,e,2/3,inner_jut1+xjut, + f,1/2,outer_jut+xjut)(dark); % upper right serif + dish_serif(3',2,g,1/2,outer_jut+xjut, + h,2/3,inner_jut2+xjut)(dark); fi % lower left serif +penlabels(0,1,2,3,4,12,13,24,34); endchar; + +cmchar "The cyrillic letter tse"; +beginchar(CYR_tse,11u#,x_height#,comma_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric light_vair,letter_w; letter_w=10u; +light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(2.5u-.5stem); x1=x2; x3=letter_w-x1; x3r=x4r; +top y1=h; bot y4=.12h; +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +z4'l=lft z4l; z4'r=rt z4r; +penpos7(stem,40); penpos8(stem,-35); +rt x7r=w-.5u; y7=0; x8l=x4l; y8=-d; +(z8l-z9)=whatever*(z8r-z7r); y9=.5[y7l,y7r]; +fill stroke z4'e{down}..z7e; % lower arc +fill z8l--z8r--z7r--z9--cycle; % appendix +pickup fine.nib; bot y5r=-oo; x5l=.5letter_w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +penlabels(1,2,3,4,5,7,8,9); labels(6); endchar; + +cmchar "The cyrillic letter che"; +beginchar(CYR_che,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +numeric light_vair; light_vair=vair-fine; +lft x1l=hround(2.5u-.5stem); x1=x2; x3l=w-x1r; x3r=x4r; +top y1=h; bot y4=0; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.65h; +penpos5(light_vair,-90); penpos6(light_vair,0); +y6=.5h; lft x6l=lft x3l; if rt x6r>rt x3r: x6r:=x3r; fi +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +pickup fine.nib; bot y5r=y6-vair-.05h; x5=.5w; +filldraw stroke {{interim superness:=hein_super; + pulled_super_arc.e(2',5)(.01superpull)}} + & z5e{right}...z6e; % arc +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + + def i_stroke(suffix $,@,@@,$$) = + penpos$$(x@@l-x@@r,180); x$$=x@@; top y$$=h; + y@@=h-1/3[bar_height,x_height]; + penpos$''(x$l-x$r,180); x$''=x$; y$''=h-1/8[bar_height,x_height]; + filldraw stroke z$''e--z$e; % thicken the lower left stem + penpos@0(min(rt x$l-lft x$r,thin_join)-fine,0); pickup fine.nib; + lft x@0l=tiny.lft x$r; y@0=y$''; + pos@1(vair,-90); pos@@'(x@@l-x@@r+tiny,180); z@@'=z@@; + x@1=.5[lft x@@'r,lft x@0l]; bot y@1r=-oo; + (x@,y@1l)=whatever[z@0l,z@1r]; x@1l:=x@; + filldraw stroke z@0e{down}...{left}z@1e + &{{interim superness:=hein_super; super_arc.e(@1,@@')}}; % arch + pickup tiny.nib; filldraw stroke z@@e--z$$e; % right stem + labels(@0); penlabels(@0,@1); enddef; + +cmchar "The cyrillic letter sha"; +beginchar(CYR_sha,15u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,180); pos2(mfudged.stem,180); +pos1'(shaved_stem,180); pos2'(shaved_stem,180); +pos3(mfudged.stem,180); pos5(mfudged.stem,180); +rt x1l=hround(w-2.5u+.5stem); x1l=x1'l=x2l=x2'l; +rt x3l=hround(.5w+.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x1+x5)-l; fi % change width for better fit +bot y1=-min(oo,serif_drop); top y2=h; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +i_stroke(2,a,3,4); % left arch and middle stem +i_stroke(4,b,5,6); % right arch and right stem +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter shcha"; +beginchar(CYR_shcha,16u#,x_height#,comma_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric shaved_stem,letter_w; letter_w=15u; +shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,180); pos2(mfudged.stem,180); +pos1'(shaved_stem,180); pos2'(shaved_stem,180); +pos3(mfudged.stem,180); pos5(mfudged.stem,180); +rt x1l=hround(letter_w-2.5u+.5stem); x1l=x1'l=x2l=x2'l; +rt x3l=hround(.5letter_w+.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x1+x5+u)-l; fi % change width for better fit +bot y1=.12h; top y2=h; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +i_stroke(2,a,3,4); % left arch and middle stem +i_stroke(4,b,5,6); % right arch and right stem +z6'l=lft z1r; z6'r=rt z1l; +penpos7(stem,40); penpos8(stem,-35); +rt x7r=w-.5u; y7=0; x8l=x1r; y8=-d; +(z8l-z9)=whatever*(z8r-z7r); y9=.5[y7l,y7r]; +fill stroke z6'e{down}..z7e; % lower arc +fill z8l--z8r--z7r--z9--cycle; % appendix +penlabels(1,2,3,4,5,6,6',7,8,9); endchar; + +cmchar "The cyrillic letter hard_sign"; +beginchar(CYR_hard_sign,10.5u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(4u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(.75vair,90); penpos6(.75vair,90); penpos7(right_curve,0); +penpos8(.75vair,-90); penpos9(.75vair,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +pickup crisp.nib; pos3(slab,90); pos4(hair,180); +top y3r=h; x3=x1; lft x4r=hround(.5u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,-.7beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,0,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter yeru"; +beginchar(CYR_yeru,13u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +pos3(stem,0); pos4(stem,0); x3=x4=w-x1; top y3=h; bot y4=0; +penpos5(.75vair,90); penpos6(.75vair,90); penpos7(right_curve,0); +penpos8(.75vair,-90); penpos9(.75vair,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6ltop:=x6-.25u; x8l:=x8l-.5u; +x7r=if serifs: tiny.lft x3l-jut; else: 8.5u; fi +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-4.5u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-5.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +filldraw stroke z3e--z4e; % right stem +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper left serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); % lower left serif +dish_serif(3,4,e,1/3,1.05jut,f,1/3,1.05jut); % upper right serif +dish_serif(4,3,g,1/3,1.05jut,h,1/3,1.05jut); fi % lower right serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter soft_sign"; +beginchar(CYR_soft_sign,9u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(.75vair,90); penpos6(.75vair,90); penpos7(right_curve,0); +penpos8(.75vair,-90); penpos9(.75vair,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter e"; +beginchar(CYR_e,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; +pos2(cap_band,90); pos4(vair',270); pos3(curve,0); +x2=x4=.5(w-u); top y2r=h+oo; bot y4r=-oo; +rt x3r=w-hround min(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,180); + lft x1r=u; bot y1=min(vround .7h,bot y2l-eps); + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + filldraw stroke z1e{up} + ..pulled_super_arc.e(2,3)(superpull)%(.7superpull) + & pulled_super_arc.e(3,4)(superpull)%(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal + pos6(.3[fine.breadth,hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x1-x2,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: pos1(4/7[vair',flare],110); + lft x1r=hround(.6u); + top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],265); lft x5r=hround(.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{left}..tension .9 and 1..z5e; + if angle direction 1 of p.e<105: + p.e:=z4e{left}..tension atleast.9 and 1..{dir 105}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.7superpull) & p.e; fi % arc and lower terminal +penpos7(bar,90); penpos8(bar,90); +x7=lft x3l; x8=.5w-1.5u; +y7=y8=.5h; +fill stroke z7e--z8e; % bar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter yu"; +beginchar(CYR_yu,13.5u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,if monospace: .5u# else: 0 fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +penpos5(vair,90); penpos7(vair',-90); +penpos6(curve,180); penpos8(curve,0); +x5=x7=.5[x6,x8]; y5r=h+oo; y7r=-oo; +x8r=hround(w-.5u); x6r=hround(w-8.5u); +y6=y8=.5h-vair_corr; y6l:=y8l:=.52h; +penstroke pulled_arc.e(5,6) & pulled_arc.e(6,7) + & pulled_arc.e(7,8) & pulled_arc.e(8,5) & cycle; % bowl +penpos3(bar,90); penpos4(bar,90); x3=x1; x4=x6; y3=y4=.52h; +fill stroke z3e--z4e; % bar +if serifs: numeric inner_jut; inner_jut=jut; + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); fi % lower left serif +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter ya"; +beginchar(CYR_ya,8u#+.5max(2u#,curve#),x_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=rt x2r=w-hround(2.5u-.5stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(.75vair,90); penpos4(.75vair,90); +penpos5(curve if hefty:-3stem_corr fi,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w; x5r=hround(.75u); fi +x4l:=x6l:=x4+.125curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(curve,0); pos8(curve,0); x6'r=x6l; y6'=y6; +tiny.lft x8l=.5u+.5jut; bot y8=0; +filldraw stroke z6'e--z8e; % diagonal stem +if serifs: numeric inner_jut; + if rt x8r+u+1<=lft x2l-jut: inner_jut=jut; + else: lft x2l-u-1=rt x8r+inner_jut; fi + nodish_serif(1,2,a,1/3,.5jut,b,1/3,jut); % upper serif + dish_serif(2,1,c,1/3,inner_jut,d,1/3,jut); % lower serif + serif(8,6',e,1/3,-.5jut); fi % lower diagonal serif +penlabels(1,2,3,4,5,6,7,8); endchar; diff --git a/fonts/cyrillic/cmcyr/mf/cyru.mf b/fonts/cyrillic/cmcyr/mf/cyru.mf new file mode 100644 index 0000000000..b26fd5aa32 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cyru.mf @@ -0,0 +1,1027 @@ +cmchar "The cyrillic letter A"; +beginchar(CYR_A,13u#,cap_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=h+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0<h-cap_notch_cut: y0:=h-cap_notch_cut; + fill z0+.5right{down}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{up}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +penpos5(whatever,angle(z2-z1)); z5=whatever[z1,z2]; +penpos6(whatever,angle(z3-z4)); z6=whatever[z3,z4]; y6=y5; +if hefty: y5r else: y5 fi =5/12y0; +y5r-y5l=y6r-y6l=cap_band; penstroke z5e--z6e; % bar line +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/2,outer_jut,b,.6,inner_jut)(dark); % left serif + dish_serif(4',3,c,1/2,inner_jut,d,1/3,outer_jut); fi % right serif +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter BE"; +beginchar(CYR_BE,12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve; +left_stem=cap_stem-hround 2stem_corr; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x8=x6; x5=x1; x6l:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-2u); y4=good.y(y3l-.8beak)-eps; +arm(3,4,e,beak_darkness,.9beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif +nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter VE"; +beginchar(CYR_VE,12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-1.5u); x10r=hround(w-u); +if serifs: right_curve=cap_curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=cap_curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "The cyrillic letter GHE"; +beginchar(CYR_GHE,11.5u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.75u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter DE"; +beginchar(CYR_DE,13u#,cap_height#,comma_depth#); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=if monospace: cap_stem-tiny + else: min(cap_hair,cap_stem-1.5tiny) fi; +if serifs: penpos1(thin_stem,0); penpos2(thin_stem,0); +penpos0(thin_stem,0); x2=.5[hround .5u,x1]; +else: penpos1(thin_stem,0); penpos2(thin_stem,0); +penpos0(thin_stem,0); x2=.5u+cap_stem; fi +pos3(cap_stem,0); pos4(cap_stem,0); +x1l=x0l=.33w; top y1=h; y0=.75h; bot y2=0; +rt x3r=rt x4r=hround(w-2u); top y3=h; bot y4=0; +filldraw stroke z3e--z4e; +filldraw stroke z1e--z0e{down}..z2e; % stem and arc +if serifs: pickup crisp.nib; numeric inner_jut, newbracket; + newbracket:=max(1.5,bracket); inner_jut:=.5(x3l-x1r); + path p[]; p1=z1{down}...z2; + p12=(0,y1-newbracket)--(w,y1-newbracket); + p21=(0,y2+newbracket)--(w,y2+newbracket); + z12=p1 intersectionpoint p12; z21=p1 intersectionpoint p21; + nodish_serif(1,12,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,c,1/3,inner_jut,d,1/3,cap_jut); % upper right serif + inner_jut:=.5(x4l-x2r); + nodish_serif(2,21,e,1/3,cap_jut,f,1/3,inner_jut); % middle left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % middle right serif + pickup crisp.nib; + pos5(slab,90); pos6(cap_hair,180); pos7(cap_hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x7r=tiny.rt x4r+cap_jut; lft x6r=tiny.lft x2l-cap_jut; + y6=y7=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % left beak + arm(5,7,n,1.25beak_darkness,0); % right beak +else: + pos1'(slab,90); pos3'(slab,90); + pos6(slab,90); pos7(slab,90); + pos6'(stem,0); pos7'(stem,0); + pos8(stem,0); pos9(stem,0); + lft x1'=lft x1l; rt x3'=rt x3r; top y1'r=top y3'r=h; + lft x6=lft x6'l=lft x8l=.5u; rt x7=rt x7'r=rt x9r=w-.5u; + bot y6l=bot y7l=0; y6'=y7'=y6; bot y8=bot y9=-.8d; + filldraw stroke z1'e--z3'e; % upper bar + filldraw stroke z6e--z7e; % lower bar + filldraw stroke z6'e--z8e; % left beak + filldraw stroke z7'e--z9e; % right beak +fi +math_fit(0,.5ic#-.5u#); +penlabels(0,1,1',2,3,3',4,5,6,7,8,9,12,21); endchar; + +cmchar "The cyrillic letter IE"; +beginchar(CYR_IE,12u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_bar,90); pos7(hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs: rt x6r=hround(w-4.4u+.5hair); y6=good.y(y5l+.6beak)+eps; + rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter YO"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(CYR_YO,12u#-width_adj#,1.3cap_height#,0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric letter_h; letter_h=cap_height; +letter_h:=vround(letter_h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=letter_h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=letter_h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_bar,90); pos7(hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs: rt x6r=hround(w-4.4u+.5hair); y6=good.y(y5l+.6beak)+eps; + rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +pos10(dot_diam,0); pos11(dot_diam,90); +x10=x11=3.5u; top y11r=h+1; +if bot y11l<letter_h+o+slab: y11l:=min(y11r-eps,letter_h+o+slab+.5tiny); fi +y10=.5[y11l,y11r]; dot(10,11); % left dot +pos12(dot_diam,0); penpos13(y11r-y11l,90); y12=y13=y10; x12=x13=w-x10; +dot(12,13); % right dot +math_fit(0,.5ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "The cyrillic letter ZHE"; +beginchar(CYR_ZHE,21u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6cap_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.cap_stem,0); pos2(fudged.cap_stem,0); +x1=x2=.5w; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.cap_stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +rt x3r=w-lft x7l=hround(r-letter_fit-u-right_jut); +rt x6r=w-lft x9l=hround(r-letter_fit-.75u-right_jut); +top y3=top y7=h; bot y6=bot y9=0; x4=x4'=x1; y4=y4'=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +penpos7(alpha1*(stem1-tiny),0); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); penpos9(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=y7'$=h; y6'$=y9'$=0; + z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; + x8$=w-x5$; y8$=y5$; endfor +z5=.5[z5l,z5r]; z8=.5[z8l,z8r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +x7'r=w-x3'r; x7'l=w-x3'l; x9'r=w-x6'r; x9'l=w-x6'l; +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % right upper diagonal +fill z4r--diag_end(4r,7'r,1,.5,7'l,4l)--z4l--cycle; % left upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % right lower diagonal +fill z8l--diag_end(8l,9'l,.5,1,9'r,8r)--z8r--cycle; % left lower diagonal +if serifs: numeric inner_jut; + if rt x2r+cap_jut+.5u+1<=lft x6l-cap_jut: inner_jut=cap_jut; + else: rt x2r+cap_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper stem serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower stem serif + dish_serif(3,4,e,2/3,1.2cap_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark); % lower diagonal serif + dish_serif(7,4,i,1/2,right_jut,j,2/3,1.2cap_jut)(dark); % upper diagonal seri + dish_serif(9,8,k,1/3,right_jut,l,1/2,inner_jut)(dark);fi % lower diagonal seri +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ZE"; +beginchar(CYR_ZE,11u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(0,0);pickup fine.nib; +if serifs: pos1(cap_hair,180); pos2(cap_band,90); + pos3(max(fine.breadth,cap_curve-stem_corr),0); pos4(vair',270); + lft x1r=1.5u; top y2r=h+o; + bot y1=min(vround .7h,bot y2l-eps); rt x3r=hround(w-u); + pos7(cap_bar,-90); pos8(cap_bar,-90); + pos9(max(fine.breadth,vround 2/3cap_bar),90); pos10(cap_curve,0); + x9=.5w-.75u; x2=x4=.5w; bot y4r=-o; + rt x10r=w-.5u; lft x8=min(hround 5u,lft x9)-eps; + y3=.5[top y7l,bot y2l]; y10=.5[bot y9l,top y4l]; + top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + pos5(cap_hair,180); lft x5r=hround(u); + y5=max(good.y(.6bar_height),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + interim superness:=more_super; + filldraw stroke z1e{up} + ... pulled_super_arc.e(2,3)(.5superpull) + & z3e{down}...z7e---z8e; % upper bowl +% filldraw z8r--z9l--z9r--z8l---cycle; % middle tip + filldraw stroke pulled_super_arc.e(9,10)(.5superpull) + & pulled_super_arc.e(10,4)(.5superpull) + ..z5e; % arc and lower terminal + pos6(.3[fine.breadth,cap_hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x1-x2,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: pos1(1.2flare,100); pos2(slab,90); + pos3(cap_curve,0); pos4(slab,-90); pos5(flare,-95); + rt x1r=hround(1.1u); x2=.5w; x4=.45[x1,x10]; x9=.5w-u; + rt x3r=hround w-max(u,2u-.5cap_curve); rt x5r=hround(.9u); + top y1r=vround .9h+o; top y2r=h+o; y3=.5[y7,y2]; + bot y4r=-o; bot y5r=vround .15h-o; y5l:=good.y y5l; x5l:=good.x x5l; + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(cap_curve,0); + rt x10r=hround(w-.75u); lft x8=min(hround 5u,lft x9)-eps; + y10=.5[y9,y4]; top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) + & pulled_arc.e(3,8); % upper bowl + filldraw stroke pulled_arc.e(9,10) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); fi % lower bowl +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter I"; +beginchar(CYR_I,13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +top y1=top y3=h; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=h-y6=.1h; + else: bot y5l=h-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=h-cap_notch_cut; lower_notch=cap_notch_cut; + penpos5(1.5cap_stem,alpha); penpos6(1.5cap_stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z7=z6l-(cap_hair,0) rotated (angle(z5-z6)-90); + z5r=z7+whatever*(z5-z6); z6r=z7+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); fi % lower left serif +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,2,2',3,3',4,5,6,7); endchar; + +cmchar "The cyrillic letter SHORT I"; +beginchar(CYR_SHORT_I,13u#+width_adj#,1.3cap_height#,0); +italcorr 1.3cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +pos3(cap_stem',0); pos4(cap_stem',0); +pickup tiny.nib; top y1=top y3=cap_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=cap_height-y6=.12cap_height; + else: bot y5l=cap_height-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=cap_height-cap_notch_cut; lower_notch=cap_notch_cut; + penpos5(1.5cap_stem,alpha); penpos6(1.5cap_stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z6'=z6l-(cap_hair,0) rotated (angle(z5-z6)-90); + z5r=z6'+whatever*(z5-z6); z6r=z6'+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper right serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower right serif + if monospace: penpos7(.25vair,-90); + else: penpos7(vair,-90); fi + penpos8(.7vair,-180); penpos9(.75flare,-180); + penpos10(.7vair,0); penpos11(.75flare,0); + x7=.5[x8,x10]; bot y7r=.85h; + x8=.5w-2u; x10=w-x8; y8=y11=.95h; + bulb(7,8,9); % left bulb + bulb(7,10,11); % right bulb +else: pickup fine.nib; penpos7(.75vair,-90); + penpos8(.75vair,-180); penpos10(.75vair,0); + x7=.5[x8,x10]; y7=.9h; + x8r=x1r; x10r=x3l; top y8=top y10=h; + filldraw stroke z8e...z7e...z10e; +fi +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,2,2',3,3',4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter KA"; +beginchar(CYR_KA,13.5u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6cap_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.cap_stem,0); pos2(fudged.cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5fudged.cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.cap_stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.75u-right_jut); +x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=h; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5l,z5r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +% we have also |z3'l=z3l+penoffset z4-z3 of currentpen+whatever*(z3-z4)|;\] +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % lower diagonal +if serifs: numeric inner_jut; + if rt x2r+cap_jut+.5u+1<=lft x6l-cap_jut: inner_jut=cap_jut; + else: rt x2r+cap_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper stem serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower stem serif + dish_serif(3,4,e,2/3,1.2cap_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark);fi % lower diagonal serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter EL"; +beginchar(CYR_EL,13u#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=min(1.5cap_hair,cap_stem); +if serifs: pos1(thin_stem,0); pos12(thin_stem,0); +else: pos1(cap_hair,0); pos12(cap_hair,0); fi +pos5(cap_stem,0); pos6(cap_stem,0); +x1=.33w; top y1=h; x12=x1; y12=.5h; +rt x5r=rt x6r=hround(w-3u+.5cap_stem); top y5=h; bot y6=0; +filldraw stroke z5e--z6e; % right stem +if serifs: numeric inner_jut; + inner_jut:=.5(x5l-x1r); + pos2(thin_stem,-90); pos3(thin_stem,-180); + pos4(1.2flare,-180); + bot y2r=-o; x2=.38[x4,x1]; y4=.15h; rt x4l=hround 2.5u; z4r=z3r; + bulb(2,3,4); % bulb + filldraw stroke z2e{right}...{up}z12e--z1e; % left stem and arc + nodish_serif(1,12,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(5,6,g,1/3,inner_jut,h,1/3,cap_jut); % upper right serif + dish_serif(6,5,e,1/3,cap_jut,f,1/3,cap_jut); % lower right serif +else: pos1'(slab,90); pos5'(slab,90); + pos2(cap_hair,-90); pos3(cap_hair,-90); + x2=.5u; x3=x2+u; bot y2r=0; bot y3r=-o; + lft x1'=lft x1l; rt x5'=rt x5r; top y1'r=top y5'r=h; + filldraw stroke z1'e--z5'e; % upper bar + filldraw stroke z2e...z3e{right}...{up}z12e--z1e; % stem and arc +fi +math_fit(0,.5ic#-.5u#); +penlabels(1,1',2,3,4,5,5',6,7); endchar; + +cmchar "The cyrillic letter EM"; +beginchar(CYR_EM,16u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.cap_stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.cap_stem-3stem_corr); +if stem4<stem1: stem4:=stem1; fi +pickup tiny.nib; pos1(stem1,0); pos2(stem1,0); +pos3(stem4,0); pos4(stem4,0); +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5stem4); +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(stem2,0); penpos6(stem2,0); penpos7(stem3,0); penpos8(stem3,0); +x5l=x1; x6l=x7l; x8=lft x3l; x6-x5=x8-x7; y5=y8=h; y6=y7; +if hefty: y6=if monospace: vround 1/3h else: o fi; + numeric upper_notch,lower_notch; + upper_notch=h-cap_notch_cut; lower_notch=y6+cap_notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x3'=lft x3l; z3'=whatever[z7r,z8r]; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + if y3'<upper_notch: ...{up}(x3'-1,upper_notch){right} fi + ..z8r--diag_out(8r,1,8l,7l){z7-z8} + if y0<=lower_notch: ..{z7-z8}z0{z5-z6}.. + else: ...{down}(x0+.5,lower_notch)--(x0-.5,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonals +else: y6=0; z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l..{z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + ..z8r--diag_out(8r,1,8l,7l){z7-z8}..{z7-z8}z0{z5-z6} + ..{z5-z6}diag_in(6r,5r,1,5l)--cycle; fi % diagonals +if serifs: serif(1,2,a,1/3,-cap_jut); % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + serif(3,4,d,1/3,cap_jut); % upper right serif + dish_serif(4,3,e,1/3,cap_jut,f,1/3,cap_jut); fi % lower right serif +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + + +cmchar "The cyrillic letter EN"; +beginchar(CYR_EN,13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(cap_bar,90); penpos6(cap_bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: + numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); fi % lower left serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter O"; +beginchar(CYR_O,14u#-width_adj#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair',90); penpos3(vround(vair+1.5vair_corr),-90); +penpos2(cap_curve,180); penpos4(cap_curve,0); +if monospace: x2r=hround 1.5u; + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: x2r=hround u; fi +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y3r=-o; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_super_arc.e(1,2)(.5superpull) + & pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,1)(.5superpull) & cycle; % bowl +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter PE"; +beginchar(CYR_PE,13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower left serif + inner_jut:=inner_jut+2u; + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper left serif +else: pos5(slab,90); pos6(slab,90); + lft x5=x1l; rt x6=x3r; y5r=y6r=y3; + filldraw stroke z5e--z6e; fi % upper bar +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter ER"; +beginchar(CYR_ER,12u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; penpos1(cap_stem'-tiny,0); penpos2(cap_stem-tiny,0); +pos0(cap_stem',0); pos0'(cap_stem,0); +lft x1l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +x1l=x2l=x0l=x0'l; y0=y0'=y7; +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_band],-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround .5h; x4=x6=.5w+.75u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +filldraw stroke z1e--z0e--z0'e--z2e; % stem +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,0,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,0',c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "The cyrillic letter ES"; +if serifs: beginchar(CYR_ES,13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=h+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6h,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+eps); + (x2l',y2l)=whatever[z2r,z1l]; x2l:=min(x2l',x2l+.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=min(x4l',x4l+.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{left}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: beginchar(CYR_ES,11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +cmchar "The cyrillic letter TE"; +beginchar(CYR_TE,13u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.65u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414cap_jut,d,1/3,1.414cap_jut); % lower serif + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); fi % upper bracketing +math_fit(-.75cap_height#*slant,ic#-2.5u#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter U"; +beginchar(CYR_U,13u#,cap_height#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +left_stem=fudged.cap_stem-stem_corr; +right_stem=fudged.hair if hefty:-2stem_corr fi; +bot_stem=fudged.hair if hefty:-8stem_corr fi; +bot_vair=Vround(if serifs: vair else: .5[vair,bot_stem] fi); +outer_jut=.75cap_jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4r=h; y2=y3=3.5u; x2l=x3l; +numeric alpha,alpha[]; x9=5u; y9=bot_vair-o; +alpha1=diag_ratio(2,bot_stem,y1-y3,x4r-x1l-apex_corr); +alpha2=diag_ratio(1,bot_stem,y1-y9,x4r-x9); +if alpha1<alpha2: x2l-x1l=x4r-x3r+apex_corr; alpha=alpha1; +else: alpha=alpha2; z3l=whatever[z9,z4r-(alpha*bot_stem,0)]; fi +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +alpha3=(y1++(x2l-x1l))/y1; +penpos1(alpha3*left_stem,0); penpos2(alpha3*left_stem,0); +z0=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +fill z0+.5right{up}...{z4r-z3r}diag_end(0,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +penpos5(alpha*right_stem,0); z5r=whatever[z3r,z4r]; y5=.5[y3,y9]; +if serifs: numeric light_bulb; + light_bulb=hround 7/8[cap_hair,flare]; clearpen; + penpos6(vair,-90); penpos7(cap_hair,-180); penpos8(light_bulb,-180); + x6=4u; y6r=-o; y8+.5light_bulb=3u; x8r=hround 1.5u; + fill stroke z3e---z5e...{left}z6e; bulb(6,7,8); % arc and bulb + numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % right serif +else: penpos6(right_stem,-90); x6=4.75u; y6r=-o; + fill stroke z3e---z5e...{left}z6e; % arc + pickup fine.nib; pos6'(right_stem,-90); z6'=z6; + pos7(2/3[bot_stem,flare],-85); + lft x7l=hround 3.5u; bot y7r=.02h-o; y7l:=good.y y7l; + filldraw stroke term.e(6',7,left,1,4); fi % arc and terminal +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter EF"; +beginchar(CYR_EF,14u#-width_adj#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; penpos1(cap_stem'-tiny,0); penpos2(cap_stem-tiny,0); +x1=x2=.5w; top y1=h; bot y2=0; +penpos3(cap_band,90); penpos4(cap_band,90); penpos5(curve,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_band],-90); +penpos8(cap_band,90); penpos9(curve,180); +penpos10(.5[vair,cap_band],270); +x3=x1; y3=y4=y8=vround .8h; y5=y9=.5[y4l,y6l]; +x7=x2; y7=vround .2h; x4r=x6r=w-x8r=w-x10r=.5w+1.75u; +x5r=w-x9r=hround(w-.5u); y6=y10=y7; +filldraw stroke z1e--z2e; % stem +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; +fill stroke z3e..pulled_arc.e(8,9) & pulled_arc.e(9,10)..z7e; % lobe +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper serif +dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter HA"; +beginchar(CYR_HA,13u#,cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=cap_stem-2stem_corr; stem2=min(cap_hair,stem1); +outer_jut=.75cap_jut; xjut= if serifs: (stem1-stem2)/4 else: 0 fi; +x1l=l+letter_fit+.5u+outer_jut; x2r=r-letter_fit-u-outer_jut-xjut; +x3l=l+letter_fit+.25u+outer_jut+xjut; x4r=r-letter_fit-.25u-outer_jut; +y1=y2=h; y3=y4=0; +alpha1=diag_ratio(1,stem1,h,x4r-x1l); +alpha2=diag_ratio(1,stem2,h,x2r-x3l); +penpos1(alpha1*stem1,0); penpos2(alpha2*stem2,0); +penpos3(alpha2*stem2,0); penpos4(alpha1*stem1,0); +if hefty: z0=whatever[z1,z4]=whatever[z2,z3]; + x12=x34=x0; y13=y24=y0; + z12=whatever[z2l,z3l]; z13=whatever[z2l,z3l]; + z24=whatever[z2r,z3r]; z34=whatever[z2r,z3r]; + forsuffixes $=13,24,34: z$'=.1[z$,z0]; endfor + fill diag_end(12,1r,.5,1,1l,13')--z13'--diag_end(13',3l,1,.5,3r,34')--z34' + --diag_end(34',4l,.5,1,4r,24')--z24' + --diag_end(24',2r,1,.5,2l,12)--z12--cycle; % diagonals +else: fill diag_end(4r,1r,.5,1,1l,4l) + --diag_end(1l,4l,.5,1,4r,1r)--cycle; % left diagonal + fill diag_end(2l,3l,.5,1,3r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +if serifs: numeric inner_jut[]; pickup tiny.nib; + prime_points_inside(1,4); prime_points_inside(2,3); + prime_points_inside(3,2); prime_points_inside(4,1); + if rt x1'r+cap_jut+.5u+1<=lft x2'l-cap_jut-xjut: inner_jut1=cap_jut; + else: rt x1'r+inner_jut1+.5u+1=lft x2'l-inner_jut1-xjut; fi + if rt x3'r+cap_jut+.5u+1<=lft x4'l-cap_jut-xjut: inner_jut2=cap_jut; + else: rt x3'r+inner_jut2+.5u+1=lft x4'l-inner_jut2-xjut; fi + dish_serif(1',4,a,1/3,outer_jut,b,2/3,inner_jut1); % upper left serif + dish_serif(4',1,c,2/3,inner_jut2,d,1/3,outer_jut); % lower right serif + dish_serif(2',3,e,2/3,inner_jut1+xjut, + f,1/2,outer_jut+xjut)(dark); % upper right serif + dish_serif(3',2,g,1/2,outer_jut+xjut, + h,2/3,inner_jut2+xjut)(dark); fi % lower left serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,12,13,24,34); endchar; + +cmchar "The cyrillic letter TSE"; +beginchar(CYR_TSE,13u#+width_adj#,cap_height#,comma_depth#); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,c,1/3, cap_jut,d,1/3,inner_jut); % lower left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower right serif + pickup crisp.nib; pos5(slab,90); pos6(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x6r=tiny.rt x4r+cap_jut; y6=good.y(y5l-.75beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos4'(slab,90); + pos5(stem,0); pos6(stem,0); + lft x2'=lft x2l; rt x4'=rt x5r=rt x6r=w-.5u; + bot y2'l=bot y4'l=0; y5=y4; bot y6=-.8d; + filldraw stroke z2'e--z4'e; % lower bar + filldraw stroke z5e--z6e; % right beak +fi +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter CHE"; +beginchar(CYR_CHE,13u#,cap_height#,0); % [AS] +italcorr cap_height#*slant-serif_fit#+.5cap_stem#-2u#; +adjust_fit(cap_serif_fit#+stem_shift#,cap_serif_fit#-stem_shift#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=hround(2.5u-.5cap_stem); x1=x2; x3l=w-x1r; x3r=x4r; +top y1=h; bot y4=0; +penpos2'(cap_stem-fine,-180); z2'=z2; y3=y1; y2=.65h; +if monospace: penpos5(.5vair,-90); penpos6(.5vair,-90); +else: penpos5(vair,-90); penpos6(vair,-25); fi +y6=.52h; lft x6l=lft x3l; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +pickup fine.nib; bot y5r=y6-vair-.1h; x5=.5w; +filldraw stroke {{interim superness:=hein_super; + pulled_super_arc.e(2',5)(.01superpull)}} + & z5e{right}...z6e; % arc +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,2',3,4,5,6); endchar; + +cmchar "The cyrillic letter SHA"; +beginchar(CYR_SHA,18u#,cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +pos3(cap_stem',0); pos4(cap_stem',0); +pos5(cap_stem',0); pos6(cap_stem',0); +if odd(w-cap_stem'): change_width; fi +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3,cap_jut,h,1/3,inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut,j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut,l,1/3,cap_jut); % lower right serif +else: pos2'(slab,90); pos6'(slab,90); + lft x2'=lft x1l; rt x6'=rt x6r; bot y2'l=bot y6'l=0; + filldraw stroke z2'e--z6'e; % lower bar +fi +math_fit(0,.5ic#); penlabels(1,2,2',3,4,5,6,6'); endchar; + +cmchar "The cyrillic letter SHCHA"; +beginchar(CYR_SHCHA,18u#,cap_height#,comma_depth#); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +pos3(cap_stem',0); pos4(cap_stem',0); +pos5(cap_stem',0); pos6(cap_stem',0); +if odd(w-cap_stem'): change_width; fi +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, cap_jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3, cap_jut); % lower right serif + pickup crisp.nib; pos7(slab,90); pos8(hair,0); + x7=.5[x4,x6]; bot y7l=0; + rt x8r=tiny.rt x6r+cap_jut; y8=good.y(y7l-.75beak)-eps; + arm(7,8,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos6'(slab,90); + pos7(stem,0); pos8(stem,0); + lft x2'=lft x1l; rt x6'=rt x7r=rt x8r=w-.5u; + bot y2'l=bot y6'l=0; y7=y6; bot y8=-.8d; + filldraw stroke z2'e--z6'e; % lower bar + filldraw stroke z7e--z8e; % right beak +fi +math_fit(0,.5ic#); penlabels(1,2,2',3,4,5,6,6',7,8); endchar; + +cmchar "The cyrillic letter HARD_SIGN"; +beginchar(CYR_HARD_SIGN,16u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(5.5u,6.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x8=x6; x5=x1; x6l:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +pickup crisp.nib; pos3(slab,90); pos4(cap_hair,180); +top y3r=h; x3=x1; lft x4r=hround(.5u); y4=good.y(y3l-.75beak)-eps; +arm(3,4,e,beak_darkness,-.7beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,0,cap_jut,b,1/3,cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter YERU"; +beginchar(CYR_YERU,17.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +pos3(cap_stem,0); pos4(cap_stem,0); +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +x3=x4=w-x1; top y3=h; bot y4=0; +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x8l:=x8l-.5u; +rt x7r=if serifs: tiny.lft x3l-cap_jut; else: 11.5u; fi +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-6.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-7.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +filldraw stroke z3e--z4e; % right stem +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper left serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); % lower left serif + dish_serif(3,4,e,1/3,1.05cap_jut,f,1/3,1.05cap_jut); % upper right serif + dish_serif(4,3,g,1/3,1.05cap_jut,h,1/3,1.05cap_jut); fi % lower right serif +labels(1,2,3,4,5,6,7,8,9); +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter SOFT_SIGN"; +beginchar(CYR_SOFT_SIGN,12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter E"; +if serifs: beginchar(CYR_E,13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,180); pos2(cap_band,90); + pos3(cap_curve,0); pos4(cap_band,270); pos5(hair,180); + lft x1r=lft x5r=hround u; rt x3r=hround (w-u); x2=x4=.55[x3,x1]; + top y2r=h+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6h,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+eps); + (x2l',y2l)=whatever[z2r,z1l]; x2l:=max(x2l',x2l-.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=max(x4l',x4l-.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=2cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: beginchar(CYR_E,11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,110); pos2(slab,90); + pos3(cap_curve,0); pos4(slab,270); pos5(flare,265); + lft x1r=hround 1.1u; x2=x4=.5w-1.25u; + rt x3r=w-hround max(u,2u-.5cap_curve); lft x5r=hround .9u; + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,left,.8,4); fi % arc and terminals +penpos7(cap_bar,90); penpos8(cap_bar,90); +x7=lft x3l; x8=.5w-1.5u; +%if serifs: y7l=y8l else: +y7=y8=.5h; +fill stroke z7e--z8e; % bar +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +cmchar "The cyrillic letter YU"; +beginchar(CYR_YU,20u#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +penpos5(vair',90); penpos7(vround(vair+1.5vair_corr),-90); +penpos6(cap_curve,180); penpos8(cap_curve,0); +if monospace: x8r=hround(w-1.5u); x6r=hround(w-12.5u); + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: x8r=hround(w-u); x6r=hround(w-13u); fi +x5=x7=.5[x8,x6]; y5r=h+o; y7r=-o; y6=y8=.5h-vair_corr; y6l:=y8l:=.52h; +penstroke pulled_super_arc.e(5,6)(.5superpull) + & pulled_super_arc.e(6,7)(.5superpull) + & pulled_super_arc.e(7,8)(.5superpull) + & pulled_super_arc.e(8,5)(.5superpull) & cycle; % bowl +penpos3(cap_bar,90); penpos4(cap_bar,90); +x3=x1; x4=x6; y3=y4=.52h; +fill stroke z3e--z4e; % bar +if serifs: numeric inner_jut; inner_jut=cap_jut; + dish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); fi % lower left serif +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter YA"; +beginchar(CYR_YA,12u#+.5max(2u#,cap_curve#),cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +rt x1r=rt x2r=w-hround(3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w-.5u; x5r=hround u; fi +x4l:=x6l:=x4+.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(cap_curve,0); x6'r=x6l+.5u; y6'=y6; +pos8(cap_curve,0); tiny.lft x8l=.5u+.5cap_jut; bot y8=0; +filldraw stroke z6'e--z8e; % diagonal stem +if serifs: + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif + serif(8,6',e,1/3,-.5cap_jut); fi % lower diagonal serif +math_fit(0,.75ic#); penlabels(1,2,3,4,5,6,7,8); endchar; + diff --git a/fonts/cyrillic/cmcyr/mf/cytextit.mf b/fonts/cyrillic/cmcyr/mf/cytextit.mf new file mode 100644 index 0000000000..bf0f130236 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cytextit.mf @@ -0,0 +1,29 @@ +% The Computer Modern Cyrillic Text Italic family + +let cmchar=message; % `|cmchar|' should precede each character + +mode_setup; font_setup; +input coding; +font_coding_scheme:="TeX text"; + +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + letter_fit#:=letter_fit:=0; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; fi + +input cyru; % upper case (majuscules) +input citall; % lower case (minuscules) +input cyrsymb; % three additional char +%if ligs>0: input comlig; fi % ligatures common with roman text +%if ligs<=1: input romsub; fi % substitutes for ligatures + + +if not monospace: + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +fi +bye. diff --git a/fonts/cyrillic/cmcyr/mf/cytitle.mf b/fonts/cyrillic/cmcyr/mf/cytitle.mf new file mode 100644 index 0000000000..8cbe730544 --- /dev/null +++ b/fonts/cyrillic/cmcyr/mf/cytitle.mf @@ -0,0 +1,280 @@ +% The Computer Modern Cyrillic family of fonts (by N.Glonti) + +let cmchar=message; % `|cmchar|' should precede each character + +font_coding_scheme:="TeX text"; +input coding; + +mode_setup; font_setup; + +%input romand; % numerals +%input romanp; % ampersand, question marks, currency sign +%input punct; % punctuation symbols common to roman and italic text +%input ruslig; % simple ligatures + +input cyru; % upper case (majuscules) +input cyrt; % lower case (minuscules) +%input cyrsymb; % number mark, cyrillic quotes + +font_slant slant; +font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + + +% k#:=.5u#; kk#:=.75u#; kkk#:=1.5u#; kkkk#:=-2u#; + + k#:=.25u#; kk#:=.5u#; kkk#:=0.75u#; kkkk#:=-1.25 +u#; + +%k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +%k#:=2u#; kk#:=u#; kkk#:=3u#; kkkk#:=-5u#; + ligtable CYR_a: % a + CYR_ya kern -kk#, % ya + CYR_u kern -kk#, % u + CYR_de kern k#, % d + CYR_che kern -kk#; % ch + + ligtable CYR_be: % b + CYR_ve kern -k#, % ve + CYR_ghe kern -k#, % ghe + CYR_ie kern k#, % e + CYR_zhe kern -k#, % zhe + CYR_i kern -k#, % i + CYR_ka kern -k#, % ka + CYR_em kern -k#, % em + CYR_en kern -k#, % en + CYR_pe kern -k#, % pe + CYR_er kern -k#, % er +% CYR_ef kern -k#, % (was -kk# AS) f + CYR_ha kern -k#, % x +% CYR_o kern -k#, % o (-kkkk -> -kkk AS) + CYR_es kern -k#, % s (-kkkk -> -kkk AS) + CYR_u kern -k#, % u + CYR_soft_sign kern -k#, % soft_sign + CYR_yeru kern -k#, % yeru + CYR_shcha kern -k#, % shcha + CYR_tse kern -k#; % tse + + ligtable CYR_tse: CYR_sha: CYR_shcha: + CYR_en: CYR_em: CYR_pe: + CYR_be kern -k#, % be + CYR_o kern -k#, % o + CYR_ie kern -k#, % es + CYR_ef kern -k#, % ef + CYR_es kern -k#, % ie + CYR_de kern k#; % d + + ligtable CYR_de: % d + CYR_be kern -kkk#, % be + CYR_o kern -kkk#, % o + CYR_ie kern -kkk#, % es + CYR_ef kern -kk#, % ef + CYR_es kern -kkk#, % ie + CYR_de kern kk#; % d + + ligtable CYR_ie: % e + CYR_be kern kkk#, % b + CYR_de kern -kk#, % d +% CYR_ie kern -k#, % e + CYR_zhe kern -kk#, % e +% CYR_ef kern -k#, % f + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o +% CYR_es kern -k#, % s +% CYR_te kern -k#, % t + CYR_u kern -k#; % u + + ligtable CYR_ef: % f + CYR_ie kern k#, % e + CYR_ha kern -kk#, % x + CYR_i kern -kk#, % i + CYR_en kern -k#, % + CYR_pe kern -k#, % + CYR_er kern -k#, % + CYR_o kern k#, % o + CYR_es kern k#, % s + CYR_te kern -k#; % t + + ligtable CYR_ghe: % g + CYR_be kern -k#, % b + CYR_ie kern -kkk#, % e + CYR_o kern -kkk#, % o + CYR_es kern -kkk#; % s + + ligtable CYR_ha: % kh + CYR_ie kern -kk#, % e + CYR_o kern -kk#, % o + CYR_ef kern -kk#, % + CYR_es kern -kk#; % s + + ligtable CYR_ka: % k + CYR_ie kern -kk#, % e + CYR_ef kern -kk#, % f + CYR_o kern -kk#, % o + CYR_es kern -kk#, % s + CYR_u kern -k#; % u + + ligtable CYR_el: % l + CYR_ie kern -kk#, % e + CYR_ef kern -kk#, % f + CYR_o kern -kk#, % o + CYR_es kern -kk#; % s + + ligtable CYR_o: % o +% CYR_be kern -k#, % b (was kkkk AS) + CYR_ve kern -kk#, % ve + CYR_de kern -kkk#, % de +% CYR_ie kern -k#, % e (was kkkk AS) + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o (was kkkk AS) +% CYR_es kern -kk#, % s (was kkkk AS) + CYR_em kern -kk#, % + CYR_en kern -kk#, % + CYR_pe kern -kk#, % + CYR_i kern -kk#, % + CYR_short_i kern -kk#, % + CYR_ka kern -kk#, % + CYR_er kern -kk#, % + CYR_sha kern -kk#, % + CYR_shcha kern -kk#, % + CYR_che kern -kkk#, % + CYR_zhe kern -kk#; % zh + + ligtable CYR_er: % p +% CYR_be kern -k#, % b (kkkk -> -kkk AS) +% CYR_ie kern -k#, % e(kkkk -> -kkk AS) + CYR_ha kern -kk#, % x +% CYR_o kern -k#, % o (kkkk -> -kkk AS) +% CYR_es kern -kk#, % s (kkkk -> -kkk AS) + CYR_te kern -k#; % t + +%ligtable CYR_es: % s +% CYR_be kern -k#, % b +% CYR_ie kern -k#, % e +% CYR_ef kern -k#, % f +% CYR_o kern -k#, % o +% CYR_es kern -k#; % s + ligtable CYR_te: % t + CYR_en kern -k#, % + CYR_es kern -k#, % + CYR_ie kern -k#, % e + CYR_o kern -k#; % o + ligtable CYR_u: % u + CYR_de kern -k#, % d + CYR_el kern -kk#, % + CYR_a kern -k#; % s + ligtable CYR_zhe: % zh + CYR_be kern -kk#, % b + CYR_ie kern -kk#, % + CYR_ef kern -kk#, % + CYR_o kern -kk#, % o + CYR_es kern -kk#; % s + + ligtable CYR_ve: % w + CYR_te kern -k#; % d + +%ligtable CYR_ze: % z +% CYR_be kern -k#, % b +% CYR_ie kern -k#, % e +% CYR_o kern -k#, % o +% CYR_es kern -k#; % s + + ligtable CYR_A: % A + CYR_u kern -kk#, % + CYR_CHE kern -kkk#; % ch + + ligtable CYR_BE: % B + CYR_O kern -k#, % o + CYR_ES kern -k#, % s + CYR_U kern -kk#; % u + + ligtable CYR_GHE: CYR_U: % G U + CYR_A kern -kk#, % a +% CYR_ve kern -kk#, % w +% CYR_GHE kern -kk#, % g + CYR_DE kern -kk#, % d +% CYR_IE kern -kk#, % e + CYR_EF kern -kk#, % f + CYR_HA kern -kk#, % kh +% CYR_I kern -kk#, % i +% CYR_SHORT_I kern -kk#, % j +% CYR_KA kern -kk#, % k + CYR_EL kern -kk#, % l +% CYR_EM kern -kk#, % m +% CYR_EN kern -kk#, % n +% CYR_O kern -kk#, % o +% CYR_PE kern -kk#, % p + CYR_YA kern -kk#, % ya +% CYR_ER kern -kk#, % r + CYR_ES kern -kk#, % s + CYR_TE kern -kk#, % t + CYR_U kern -kk#; % u +% CYR_VE kern -kk#, % w +% CYR_SOFT_SIGN kern -kk#, % ' +% CYR_YERU kern -kk#, % y +% CYR_ZE kern -kk#, % z +% CYR_SHA kern -kk#, % sh +% CYR_SHCHA kern -kk#, % shch +% CYR_CHE kern -kk#; % ch +% CYR_HARD_SIGN kern -k#; % '' + + ligtable CYR_O: CYR_ES: CYR_EF: + CYR_de kern -kkk#, % + CYR_A kern -kkk#, % + CYR_VE kern -kkk#, % + CYR_GHE kern -kkk#, % + CYR_ER kern -kkk#, % + CYR_PE kern -kkk#, % + CYR_EN kern -kkk#, % + CYR_E kern -kkk#, % + CYR_HA kern -kkk#, % + CYR_I kern -kkk#, % + CYR_KA kern -kkk#, % + CYR_EM kern -kkk#, % + CYR_SHA kern -kkk#, % + CYR_SHCHA kern -kkk#, % + CYR_SHORT_I kern -kkk#; % j + + ligtable CYR_EN: CYR_EM: CYR_ER: CYR_PE: + CYR_ZHE: CYR_KA: CYR_DE: CYR_HA: + CYR_O kern -kkk#, % + CYR_ES kern -kkk#, % + CYR_EF kern -kkk#; % + + ligtable CYR_TE: % T + CYR_A kern -kkk#, % a +% CYR_VE kern -kkk#, % w +% CYR_GHE kern -kkk#, % g + CYR_DE kern -kkk#, % d + CYR_IE kern -kkk#, % e + CYR_EF kern -kkk#, % f + CYR_HA kern -kkk#, % kh + CYR_I kern -kkk#, % i + CYR_SHORT_I kern -kkk#, % j + CYR_KA kern -kkk#, % k + CYR_EL kern -kkk#, % l +% CYR_EM kern -kkk#, % m +% CYR_EN kern -kkk#, % n + CYR_O kern -kkk#, % o +% CYR_PE kern -kkk#, % p + CYR_YA kern -kkk#, % ya +% CYR_ER kern -kkk#, % r + CYR_ES kern -kkk#, % s + CYR_TE kern -kkk#, % t + CYR_U kern -kkk#, % u +% CYR_VE kern -kkk#, % +% CYR_SOFT_SIGN kern -kkk#, % +% CYR_YERU kern -kkk#, % y + CYR_ZE kern -kkk#; % z +% CYR_SHA kern -kk#, % sh +% CYR_SHCHA kern -kk#, % shch +% CYR_CHE kern -kk#, % ch +% CYR_HARD_SIGN kern -kk#; % +fi; +bye. |