Debian Codegraph @

texmf-dist/fonts/source/public/cm/italsp.mf

raw
1 % THIS IS THE OFFICIAL COMPUTER MODERN SOURCE FILE italsp.mf BY D E KNUTH.
2 % IT MUST NOT BE MODIFIED IN ANY WAY UNLESS THE FILE NAME IS CHANGED!
3
4 % This file contains special letters and letter combinations,
5 % compatible with the alphabet `{\tt itall}'.
6
7 % Codes \0020--\0021 and \0031--\0034 are generated.
8
9 cmchar "Dotless italic letter i";
10 beginchar(oct"020",5u#,x_height#,0);
11 italcorr 1/3x_height#*slant+.5hair#+.5u#;
12 adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib;
13 x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u;
14 hook_in(0,1,2)(skewed); hook_out(3,4,5)(skewed); % hooks
15 filldraw stroke z2e--z3e; % stem
16 penlabels(0,1,2,3,4,5); endchar;
17
18 cmchar "Dotless italic letter j";
19 beginchar(oct"021",5.5u#,x_height#,desc_depth#);
20 italcorr x_height#*slant+.5stem#-2u#;
21 adjust_fit(if monospace:2u# else: 0 fi, 0); pickup fine.nib;
22 x0=0; x2=x3; pos3(stem,0); lft x3l=hround(w-2u-.5stem);
23 hook_in(0,1,2); % opening hook
24 pos4(vair,-90); pos5(hair,-180); pos6(flare,-180);
25 bot y3=-1/3d; bot y4r=-d-oo; y6-.5flare=-vround.9d;
26 x4=1/3(w-u); lft x5r=min(hround-.5u,lft x5r+x4-x5l-eps);
27 filldraw stroke z2e---z3e...{left}z4e; % stem and arc
28 bulb(4,5,6); % bulb
29 penlabels(0,1,2,3,4,5,6); endchar;
30
31 cmchar "Italic German letter es-zet (sharp s)";
32 beginchar(oct"031",4.5u#+max(1.5u#,stem#)+max(3.5u#,2flare#),
33 asc_height#,desc_depth#);
34 italcorr .9asc_height#*slant-u#;
35 adjust_fit(if monospace: u# else: 0 fi,0); pickup fine.nib;
36 z88=(.5w-2.75u,h); z89=(.5w-1.75u,-d);
37 numeric theta; theta=angle(z88-z89);
38 pos1(stem,0); pos2(vair,90); pos3(.5[hair,stem],180);
39 pos4(stem,theta+90); pos5(stem,theta-90); pos6(.5[hair,stem],0);
40 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
41 rt x1r=hround(w-1.5u); lft x8r=hround-.25u; x2=.5[x1,x4]; x7=.5[x8,x5];
42 y9-.5flare=vround -.85d; bot y7r=-d-oo; y1=.5[x_height,h]; top y2r=h+oo;
43 y4=.25[x_height,h]; y5=.5[-d,y4];
44 z4=whatever[z88,z89]; z5=whatever[z88,z89];
45 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
46 bulb(7,8,9); % left bulb
47 filldraw stroke z1e{up}...z2e{left}...z3e...{z89-z88}z4e; % upper arc
48 filldraw z4r--z5l--z5r--z4l--cycle; % stem
49 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc
50 pos11(.1[hair,curve],-30); x11l=2/3[x12l,x1l]; y11=2/3[y1,y12];
51 pos12(.3[hair,curve],0); rt x12r=hround(w-3u); y12=.5h;
52 pos13(.8[hair,curve],30); x13=.5[x12,x14]; y13=.5[y12,y14];
53 pos14(curve,0); rt x14r=hround(w-.5u); y14=.2h;
54 pos15(vair,-90); x15=.5[x14,x16]; bot y15r=-oo;
55 pos16(hair,-180); pos17(.6[hair,flare],-180);
56 lft x16r=hround(rt x5r+.75u); y17-.5(.6[hair,flare])=.07h;
57 filldraw stroke z1e{down}...z11e{1.5(x12e-x11e),y12e-y11e}
58 ...{down}z12e...{2(x13-x12),y13-y12}z13e
59 ...{down}z14e...{left}z15e; % stroke
60 bulb(15,16,17); % inner bulb
61 pickup crisp.nib; pos20(bar,90); pos21(bar,90);
62 top y20r=top y21r=x_height;
63 lft x20=lft x4r-.5stem-u; z21=whatever[z4,z5];
64 filldraw stroke z20e--z21e; % bar
65 penlabels(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,20,21,88,89); endchar;
66
67 cmchar "Italic ligature ae";
68 beginchar(oct"032",13u#,x_height#,0);
69 italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#);
70 adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup fine.nib;
71 forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor
72 numeric heavy_hair; heavy_hair=hround .2[hair,stem];
73 numeric light_stem; light_stem=hround .75[hair,stem];
74 pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90);
75 pos3(light_stem,180); pos4(vair,270); pos5(hair,320);
76 x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+6u);
77 lft x3r=hround(.5w-.5light_stem); x5r=good.x(w-.5u); x6=x5;
78 y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo;
79 top y5l=vround(.5bar_height+.5); path p; p=z4{right}..z5..z6;
80 filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3)
81 & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc of e
82 pos7(light_stem,0); pos8(light_stem,0);
83 x7=x8=x3; y7+.5light_stem=h+oo; y8-.5light_stem=-oo;
84 pos7'(vair,-225); pos11(curve,-180); z7'=z7;
85 pos12(vair,-90); pos3'(hair,0); z3'=z3;
86 lft x11r=hround(1.5u-.5curve); x12=.5[x11,x3];
87 y11=.3[y12,y7]; bot y12r=-oo;
88 filldraw stroke z7'e{3(x11-x7),y11-y7}...pulled_arc.e(11,12)
89 & pulled_arc.e(12,3'); % bowl of a
90 filldraw z7l---z8l..z8r---z7r..cycle; % stem
91 penlabels(0,1,2,3,4,5,6,7,8,11,12); endchar;
92
93 cmchar "Italic ligature oe";
94 beginchar(oct"033",13u#,x_height#,0);
95 italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#);
96 adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup fine.nib;
97 forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor
98 numeric heavy_hair; heavy_hair=hround .2[hair,stem];
99 pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90);
100 pos3(stem,180); pos4(vair,270); pos5(hair,320);
101 x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+6u);
102 lft x3r=hround(.5w-.5stem); x5r=good.x(w-.5u); x6=x5;
103 y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo;
104 top y5l=vround(.5bar_height+.5); path p; p=z4{right}..z5..z6;
105 filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3)
106 & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc of e
107 pos11(vair,90); pos12(curve,180); pos13(vair,270); pos14(stem,360);
108 x11=x13=.5[x12,x14]; lft x12r=hround(1.5u-.5curve); x14=x3;
109 top y11=h+oo; y12=y14=.5[y11,y13]; bot y13=-oo;
110 filldraw stroke pulled_arc.e(11,12) & pulled_arc.e(12,13)
111 & pulled_arc.e(13,14) & pulled_arc.e(14,11); % bowl
112 penlabels(0,1,2,3,4,5,6); endchar;
113
114 cmchar "Italic Scandinavian letter o/slash";
115 beginchar(oct"034",9u#,x_height#+.5desc_depth#,.5desc_depth#);
116 italcorr h#*slant-u#+.5vair#;
117 adjust_fit(0,0); pickup fine.nib;
118 pos1(vair,90); pos2(fudged.stem,180);
119 pos3(vair,270); pos4(fudged.stem,360);
120 x1=x3=.5w; lft x2r=hround(1.5u-.5fudged.stem); x4=w-x2;
121 top y1=x_height+oo; y2=y4=.5[y1,y3]; bot y3=-oo;
122 filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3)
123 & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl
124 x5=x4; x6=x2; y5=h; y6=-d;
125 numeric theta; theta=angle(z5-z6)-90;
126 pickup crisp.nib; pos5(vair,theta); pos6(vair,theta);
127 filldraw stroke z5e--z6e; % diagonal
128 penlabels(1,2,3,4,5,6); endchar;