% the italic characters that correspond to those in phochar. % created by Emma Pease. In most cases these are modified forms of % standard computer modern characters cmchar "Italic letter rotated a"; beginchar("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#); currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); penlabels(0,1,2,3,4,5,6,7); endchar; cmchar "Italic letter rotated c"; beginchar("c",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,270); pos5(hair,220); x2=x4=.5(w-u); lft x1r=min(lft x2,hround(u))-eps; rt x3r=w-hround(1.5u-.5curve); x5r=good.x(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{left}..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; % need an eth (d) cmchar "The letter eth"; beginchar("d",9u#,asc_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 penpos5(hair/(sind 45),45); penpos4'(stem,0); x4r=x4'r; y4=y4'; top y5r=h+oo; x5=x2; penstroke pulled_arc.e(4',5); penpos6(bar+stem_corr,120); penpos7(bar+stem_corr,120); y6=.35[y1,y5]; y7r=h+oo; x7r=rt x4; x6l=rt x2l; filldraw stroke z6e--z7e; penlabels(1,2,3,4,5,6,7); endchar; cmchar "Italic letter schwa"; beginchar("e",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,180); pos2(vair,-90); pos3(curve,0); pos4(vair,90); pos5(hair,140); x0=lft x3l; lft x1r=hround(1.5u-.5heavy_hair); x2=x4=.5(w-u); rt x3r=hround(w-1.5u+.5curve); x5r=good.x(eps); x6=x5; y0=y3=y6=h-bar_height; y1=.5[y0,y2]; bot y2r=-oo; top y4r=h+oo; bot y5l=vround(h-.5bar_height); path p; p=z4{left}..z5..z6; filldraw stroke z0e{left}...z1e{down}...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 "The letter variant schwa"; beginchar("E",if serifs: 9.5u# else:9u# fi,x_height#,0); italcorr x_height#*slant+.25u#; adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); numeric left_stem,right_stem,outer_jut,alpha; left_stem=fudged.stem-stem_corr; right_stem=min(fudged.hair if hefty:-2stem_corr fi,left_stem); outer_jut=.75jut; x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4=h; x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=-apex_oo; alpha=diag_ratio(2,right_stem,y1-y2,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>notch_cut: y0:=notch_cut; fill z0+.5right{up}...{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} ...{down}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 if serifs: 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); fi % right serif currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); penlabels(0,1,2,3,4); endchar; cmchar "Italic letter rotated g"; beginchar("g",8u#,x_height#+desc_depth#,0); h:=vround(x_height#*hppp); d:=vround(desc_depth#*hppp); % vertical adj. italcorr x_height#*slant+.5stem#-u#; adjust_fit(0,0); pickup fine.nib; pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); x4+.5stem=hround(w-1.5u+.5stem); top y1r=h+oo; bot y3r=0; 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 pos4(stem,0); y4+.5stem=vround .98h; pos5(stem,0); x5=x4; y5=-1/3d; pos6(vair,-90); pos7(hair,-180); pos8(flare,-180); bot y6r=-d-oo; y8-.5flare=vround -.9d; lft x8r=hround(2u-.5flare); x6=x1; bulb(6,7,8); % bulb filldraw circ_stroke z4e---z5e...{left}z6e; % stem and arc math_fit(-min(.3x_height#*slant+.5curve#-u#,1.5u#-desc_depth#*slant), ic#-1/3x_height#*slant); currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); penlabels(0,1,2,3,4,5,6,7,8); endchar; cmchar "letter variant i"; beginchar("i",4u#,x_height#,0); l_width#:=4u#; italcorr max(1/3x_height#*slant+.5hair#+.5u#, x_height#*slant+.5stem#-2u#) if math_fitting:+.5u# fi; adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; x2-.5stem=hround(1.5u-.5stem); x4=w; hook_out(2,3,4); % closing hook pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; top y1=h; x1=x2; filldraw stroke z1e--z2e; % stem sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif math_fit(-.5u#,1/3x_height#*slant+.5hair#+u#); penlabels(1,2,3,4); endchar; cmchar "Dotless letter j barred"; beginchar("j",5.5u#,x_height#,desc_depth#); italcorr x_height#*slant-serif_fit#+.5stem#-2u#; adjust_fit(serif_fit#+2stem_shift# if monospace:+.5u# fi, serif_fit#-2stem_shift# if monospace:-.5u# fi); pickup tiny.nib; pos1(stem',0); pos2(stem',0); rt x1r=hround(.5w+.25u+.5stem'); x1=x2; top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=-1/3d; filldraw stroke z1e--z2e; % stem if serifs: sloped_serif.l(1,2,a,1/3,1.1jut,serif_drop); % upper serif pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); x5=.5[x2,x6r]; bot y5r=-d-oo; y6-.5flare=-.88d; if monospace: lft x6r=0 else: z6r=z7r; rt x7l=floor .75u fi; (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); filldraw stroke z2e{down}...z5e{left}; bulb(5,6,7); % arc and bulb else: pickup fine.nib; pos2'(stem',0); z2'=z2; pos6(.2[vair,stem'],-90); pos7(vair,-90); lft x7r=hround -.75u; bot y7r=vround 5/6(-d-oo); x3r=x1r; top y4r=min(2x_height,h+1); (x,y7l)=whatever[z7r,(x1,min(h,asc_height))]; x7l:=x; z5r=z2'r; (x2'l,y5l)=whatever[z7l,z5r]; x5l=x2'l; y5=y5r; x6r=.5[x7r,x5r]; x6l:=.5[x7l,x5l]; bot y6r=-d-oo; filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) & term.e(6,7,left,1,4); fi % arc and terminal pickup crisp.nib; bot y3r=bot y4r=0; lft x3=hround .5u-1; pos3(bar,90); pos4(bar,90); rt x4=hround(w-if monospace:.75u+1 else:1/3u fi); filldraw stroke z3e--z4e; % bar penlabels(1,2,3,4,5,6,7); endchar; cmchar "Italic letter m"; beginchar("m",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#); currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar; % letter italic engma cmchar "Italic letter thorn"; beginchar("p",8u#,asc_height#,desc_depth#); italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; adjust_fit(0,0); pickup tiny.nib; pos1(stem,0); pos2(stem,0); pos6(stem,0);x1=x2=x6; lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_height;bot y6=-d; filldraw stroke z1e--z6e; % stem sloped_serif.l(1,2,a,1/3,jut,serif_drop); % top serif dish_serif(6,2,b,1/3,.75jut,c,1/3,jut); % bottom 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(w-1.5u+.5curve); bot y3r=-oo; top y5r=x_height+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,6); endchar; cmchar "Italic letter rotated r"; beginchar("r",5.5u#+max(1.75u#,flare#),x_height#,0); italcorr x_height#*slant; adjust_fit(if monospace:.25u#,.5u# else: 0,0 fi); pickup fine.nib; x0=0; x2=x3; pos3(stem,0); lft x3l=hround(2.5u-.5stem); y3-.5stem=-oo; hook_in(0,1,2); % opening hook filldraw circ_stroke z3e--z2e; % left stem pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=h+oo; filldraw stroke z3'e{up}...z4e{right}; % link y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); penlabels(0,1,2,3,4,5,6); endchar; % the letter esh cmchar "Italic letter rotated h"; beginchar("u",9.5u#,x_height#,desc_depth#); italcorr .7x_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]; pos7(stem,0);pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); x5=x6=x7; bot y7=-d; 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 dish_serif(7,6,a,1/3,jut,b,1/3,jut); % serif math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); penlabels(0,1,2,3,4,5,6,7); endchar; % the letter yogh cmchar "Italic letter y"; beginchar("y",8.5u#,x_height#+desc_depth#,0); h:=vround(x_height#*hppp); d:=vround(desc_depth#*hppp); %adj. vertical 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); currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; cmchar "The letter variant u"; beginchar(oct"012",10u#,x_height#,0); italcorr .75x_height#*slant-.5u#; adjust_fit(0,0); pickup tiny.nib; pos1(vair,90); pos2(curve,180); pos3(vair,180); pos4(curve,0); pos5(vair,0); x1=.5w; top y1r=h+o; lft x2r=hround u; y2=y4=2/3h; x4=w-x2; rt x3l=hround(1/3(w+.5u)+.5hair); bot y3=bot y5=0; x5=w-x3; filldraw stroke z3e{up}...{up}z2e & pulled_super_arc.e(2,1)(.5superpull) & pulled_super_arc.e(1,4)(.5superpull) & z4e{down}...{down}z5e; % bowl numeric arm_thickness; path p; p=z3{up}...{up}z2; arm_thickness=vround(if hefty:slab+2stem_corr else:.75[slab,vstem] fi); pickup crisp.nib; pos6(arm_thickness,-90); pos7(fudged.hair,-180); bot y6r=0; x6=x3; lft x7r=hround .8u; y7=good.y(y6l+.3beak)+eps; (x,y)=p intersectionpoint((0,y6l)--(w,y6l)); x6l:=x; arm(6,7,a,.5beak_darkness,-1.2beak_jut); % left arm and beak pos8(arm_thickness,-90); pos9(fudged.hair,0); y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; arm(8,9,b,.5beak_darkness,1.2beak_jut); % right arm and beak math_fit(0,.5ic#); currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); penlabels(1,2,3,4,5,6,7,8,9); endchar; cmchar "The letter variant varu"; beginchar(oct"010",11u#,x_height#,0); italcorr x_height#*slant; adjust_fit(0,0); pickup fine.nib; pos2(curve,-180); lft x2r=hround.5u; y2=y8=bar_height; y4=y6=vround.4h; %y1+.5hair=h; x1=x2+.75u; pos1(hair,angle(2(x1-x2),y1-y2)+90); y1r=h+oo; x1=.5w; pos1(hair,90); pos3(hair,-90); pos4(hair,0); pos5(vair,90); pos6(hair,180); pos7(hair,270); pos8(curve,360); bot y3r=bot y7r=-oo; top y5r=vround(.1[y4,h]+.5vair); x3=.5[x2,x4]; x7+.25u=.5[x6,x8]; rt x8r=hround(w-.5u); x5+.5stem=hround(.5w+.5stem)+eps; x5=.5[x4,x6]; rt x4r-lft x6r=min(stem,2hair)+2eps; if x4l