% This is DXRUWEST.MF in text format, as of March 24, 1992 % % DC fonts Version 1.1 (prerelease of EC fonts) % % [ heavily borrowed from the Computer Modern Roman family of % fonts by D. E. Knuth ] % % Content: % % uppercase accented letters ("western part") % % oct"300" .. oct"337" % % % oct"300" A with gravis % oct"301" A with acute % oct"302" A with circumflex % oct"303" A with tilde % oct"304" A with umlaut % oct"305" A with scandinavian circle % oct"306" AE % oct"307" C with cedilla % % oct"310" E with gravis % oct"311" E with acute % oct"312" E with circumflex % oct"313" E with umlauts % oct"314" I with gravis % oct"315" I with acute % oct"316" I with circumflex % oct"317" I with umlaut % % oct"320" eth (island) D- % oct"321" N with tilde % oct"322" O with gravis % oct"323" O with acute % oct"324" O with circumflex % oct"325" O with tilde % oct"326" O with umlaut % oct"327" OE % % oct"330" O with / % oct"331" U with gravis % oct"332" U with acute % oct"333" U with circumflex % oct"334" U with umlaut % oct"335" Y with acute % oct"336" Thorn % oct"337" SS % dcchar "The letter gravis A"; beginchar(oct"300",13u#,cap_height#+acc_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=cap_height+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 y0lower_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: if hefty: serif(1,2,a,1/3,-cap_jut); % upper left serif else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif % the accent uppercase_tilde(0,0,8,9,10,11,12); math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7,8,9,10,11,12,13); endchar; dcchar "The letter umlaut A"; beginchar(oct"304",13u#,cap_height#+acc_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=cap_height+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 y0y2+cap_notch_cut: y0:=y2+cap_notch_cut; fill z0+.5right{up}...{z4-z3}diag_end(3l,4l,1,1,4r,3r)--z5r --diag_end(5r,6r,1,1,6l,5l)--z5l--diag_end(2l,1l,1,1,1r,2r){z2-z1} ...{down}z0+.5left--cycle; % diagonals and stem else: fill z0--diag_end(0,4l,1,1,4r,3r)--z5r --diag_end(5r,6r,1,1,6l,5l)--z5l --diag_end(2l,1l,1,1,1r,0)--cycle; fi % diagonals and stem if serifs: numeric inner_jut; pickup tiny.nib; prime_points_inside(1,2); prime_points_inside(4,3); prime_points_inside(6,5); 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); % upper left serif dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % upper right serif dish_serif(6',5,e,1/3,cap_jut,f,1/3,cap_jut); fi % lower serif % the accent uppercase_acute(0,0,7,8); math_fit(.5u#-cap_height#*slant,ic#-4u#); penlabels(0,1,2,3,4,5,6,7,8); endchar; dcchar "The letter Thorn"; beginchar(oct"336",11u#,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(cap_band,90); penpos9(cap_band,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; x12=x1; y12r=0.26h; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h+y12r; 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-2.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 z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower 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,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; dcchar "The letter SS"; beginchar(oct"337",if monospace: 15u# else: 20u# fi ,cap_height#,0); italcorr cap_height#*slant-u#; normal_adjust_fit(0,0); w:=0.5w; numeric theta; theta=90-angle(50u,h); slope:=-h/50u; % angle at middle numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; numeric ess'; ess'=max(fine.breadth,cap_ess); pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); pos0(ess',theta); pos7(s_slab,-90); x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; top y2l=h+o; bot y7r=-o; y0=.52h; lft x3l=hround u; rt x6r=hround(w-u); x3r-x3l=x6r-x6l=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; filldraw stroke super_arc.e(2,3) & z3e{down} ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke if serifs: pos1(hair,180); pos8(hair,180); rt x1l=hround(w-1.5u); lft x8r=hround u; bot y1=vround 2/3h+1; top y8=vround 1/3h-1; filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc filldraw stroke z7e{left}....{up}z8e; % lower arc path upper_arc, lower_arc; upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; lower_arc=z7{left}....{up}z8; pos10(.3[fine.breadth,cap_hair],0); pos9(.3[fine.breadth,cap_hair],0); x10r=x1l; top y10=top y2l; x9l=x8r; bot y9=bot y7r; x1l-x1'=x8'-x8r=1.6cap_curve-fine; y1'=y1; y8'=y8; numeric t; t=xpart(upper_arc intersectiontimes(z10l--z1')); filldraw z1l--z10r--z10l--subpath(t,0) of upper_arc--cycle; % upper barb t:=xpart(lower_arc intersectiontimes(z9r--z8')); filldraw z8r--z9l--z9r--subpath(t,1) of lower_arc--cycle; % lower barb else: pos1(1.2flare,-100); pos8(1.2flare,-100); x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; top y1l=vround .93h+o; bot y8r=vround .1h-o; filldraw stroke term.e(2,1,right,.9,4); % upper arc and terminal filldraw stroke term.e(7,8,left,1,4); fi % lower arc and terminal math_fit(0,.5ic#); w:=2w; currentpicture:=currentpicture+(currentpicture shifted (0.5w,0)); penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; endinput;