Debian Codegraph @

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

raw
1 % THIS IS THE OFFICIAL COMPUTER MODERN SOURCE FILE italig.mf BY D E KNUTH.
2 % IT MUST NOT BE MODIFIED IN ANY WAY UNLESS THE FILE NAME IS CHANGED!
3
4 % This file describes five italic ligatures that begin with `f'
5 % and puts them in code positions \0013--\0017.
6
7 numeric itc; % modified italic correction on `f' and `ff'
8 itc=(asc_height#-x_height#)*slant+.75u#;
9
10 ligtable "f": "i"=:oct"014", "f"=:oct"013", "l"=:oct"015",
11 "'" kern itc, "?" kern itc, "!" kern itc, ")" kern itc, "]" kern itc;
12 ligtable oct"013": "i"=:oct"016", "l"=:oct"017",
13 "'" kern itc, "?" kern itc, "!" kern itc, ")" kern itc, "]" kern itc;
14
15 cmchar "Italic ligature ff";
16 beginchar(oct"013",5u#+max(1.5u#,stem#)+max(3.5u#,2flare#)+2letter_fit#,
17 asc_height#,desc_depth#);
18 italcorr asc_height#*slant+.75u#;
19 adjust_fit(0,0); pickup fine.nib;
20 z98-z88=z99-z89=z14-z4=z15-z5=(4.8u+2letter_fit,0);
21 .5[x88,x99]=.5w-.1u; x89-x88=u; y98=h; y99=-d;
22 numeric theta; theta=angle(z88-z89);
23 pos0(flare,0); pos1(hair,0); pos2(vair,90);
24 pos3(.5[hair,stem],180); pos4(stem,theta+90);
25 pos5(stem,theta-90); pos6(.5[hair,stem],0);
26 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
27 rt x1r=hround(.5w+1.25u); lft x8r=hround-.35u; x2=.5[x1,x4]; x7=.6[x8,x5];
28 y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo;
29 y4=.25[x_height,h]; y5=.5[-d,y4];
30 z4=whatever[z88,z89]; z5=whatever[z88,z89];
31 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
32 bulb(2,1,0); bulb(7,8,9); % left bulbs
33 filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc
34 filldraw z4r--z5l--z5r--z4l--cycle; % left stem
35 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc
36 pos10(flare,0); pos11(hair,0); pos12(vair,90);
37 pos13(.5[hair,stem],180); pos14(stem,theta+90);
38 pos15(stem,theta-90); pos16(.5[hair,stem],0);
39 pos17(vair,-90); pos18(hair,-180); pos19(flare,-180);
40 rt x11r=hround(w+.25u); lft x18r=hround(.5w-1.25u);
41 x12=.6[x11,x14]; x17=.5[x18,x15];
42 x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99];
43 y0=y10; y2=y12; y3=y13; y6=y16; y7=y17; y9=y19;
44 bulb(12,11,10); bulb(17,18,19); % right bulbs
45 filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc
46 filldraw z14r--z15l--z15r--z14l--cycle; % right stem
47 filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc
48 pickup crisp.nib; pos20(bar,90); pos21(bar,90);
49 top y20r=top y21r=x_height;
50 lft x20=lft x4r-.5stem-u; rt x21=rt x14l+.5stem+1.5u;
51 filldraw stroke z20e--z21e; % crossbar
52 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
53 20,21,88,89,98,99); endchar;
54
55 cmchar "Italic ligature fi";
56 beginchar(oct"014",6.5u#+.5max(1.5u#,stem#)+.5max(3.5u#,2flare#)
57 +2letter_fit#,asc_height#,desc_depth#);
58 italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#);
59 adjust_fit(0,0); pickup fine.nib;
60 .5[x88,x89]=.5(w-4u-2letter_fit); x89-x88=u; y88=h; y89=-d;
61 numeric theta; theta=angle(z88-z89);
62 pos0(flare,0); pos1(hair,0); pos2(vair,90);
63 pos3(.5[hair,stem],180); pos4(stem,theta+90);
64 pos5(stem,theta-90); pos6(.5[hair,stem],0);
65 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
66 pos11(stem,0); rt x11r=hround(w-2.5u+.5stem);
67 x12=x11; x14=w; hook_out(12,13,14); % closing hook
68 x1r=x11r; lft x8r=hround-.35u; x2=.5[x1,x4]; x7=.6[x8,x5];
69 y9-.5flare=vround-.85d; bot y7r=-d-oo;
70 y0+.5flare=vround(.85[x_height,h]); top y2r=h+oo;
71 y4=.25[x_height,h]; y5=.5[-d,y4];
72 z4=whatever[z88,z89]; z5=whatever[z88,z89];
73 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
74 bulb(2,1,0); bulb(7,8,9); % bulbs
75 filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc
76 filldraw z4r--z5l--z5r--z4l--cycle; % left stem
77 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc
78 top y11=x_height; filldraw stroke z11e--z12e; % right stem
79 pickup crisp.nib; pos20(bar,90); pos21(bar,90);
80 top y20r=top y21r=x_height;
81 lft x20=lft x4r-.5stem-u; x21=x11;
82 filldraw stroke z20e--z21e; % crossbar
83 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,88,89); endchar;
84
85 cmchar "Italic ligature fl";
86 beginchar(oct"015",7u#+.5max(1.5u#,stem#)+.5max(3.5u#,2flare#)
87 +2letter_fit#,asc_height#,desc_depth#);
88 italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#);
89 adjust_fit(0,0); pickup fine.nib;
90 .5[x88,x89]=.5(w-4.5u-2letter_fit); x89-x88=u; y88=h; y89=-d;
91 numeric theta; theta=angle(z88-z89);
92 pos0(flare,0); pos1(hair,0); pos2(vair,90);
93 pos3(.5[hair,stem],180); pos4(stem,theta+90);
94 pos5(stem,theta-90); pos6(.5[hair,stem],0);
95 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
96 pos11(stem,0); rt x11r=hround(w-2.5u+.5stem); rt x1r=lft x11l;
97 x12=x11; x14=w; hook_out(12,13,14); % closing hook
98 lft x8r=hround-.35u; x2=.5[x1,x4]; x7=.6[x8,x5];
99 y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo;
100 y4=.25[x_height,h]; y5=.5[-d,y4];
101 z4=whatever[z88,z89]; z5=whatever[z88,z89];
102 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
103 bulb(2,1,0); bulb(7,8,9); % bulbs
104 filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc
105 filldraw z4r--z5l--z5r--z4l--cycle; % left stem
106 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc
107 top y11=h; filldraw stroke z11e--z12e; % right stem
108 pickup crisp.nib; pos20(bar,90); pos21(bar,90);
109 top y20r=top y21r=x_height;
110 lft x20=lft x4r-.5stem-u; x21=x11;
111 filldraw stroke z20e--z21e; % crossbar
112 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,88,89); endchar;
113
114 cmchar "Italic ligature ffi";
115 beginchar(oct"016",11.75u#+.5max(1.5u#,stem#)+.5max(3.5u#,2flare#)
116 +4letter_fit#,asc_height#,desc_depth#);
117 italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#);
118 adjust_fit(0,0); pickup fine.nib;
119 z98-z88=z99-z89=z14-z4=z15-z5=(5u+2letter_fit,0);
120 numeric theta,mid_f;
121 mid_f=.5[x88,x99]=.5(w-4.25u-2letter_fit); x89-x88=u;
122 y98=h; y99=-d; theta=angle(z88-z89);
123 pos21(stem,0); rt x21r=hround(w-2.5u+.5stem);
124 x22=x21; x24=w; hook_out(22,23,24); % closing hook
125 pos0(flare,0); pos1(hair,0); pos2(vair,90);
126 pos3(.5[hair,stem],180); pos4(stem,theta+90);
127 pos5(stem,theta-90); pos6(.5[hair,stem],0);
128 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
129 rt x1r=hround(mid_f+1.75u); lft x8r=hround-.35u;
130 x2=.5[x1,x4]; x7=.6[x8,x5];
131 y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo;
132 y4=.25[x_height,h]; y5=.5[-d,y4];
133 z4=whatever[z88,z89]; z5=whatever[z88,z89];
134 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
135 bulb(2,1,0); bulb(7,8,9); % left bulbs
136 filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc
137 filldraw z4r--z5l--z5r--z4l--cycle; % left stem
138 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc
139 pos10(flare,0); pos11(hair,0); pos12(vair,90);
140 pos13(.5[hair,stem],180); pos14(stem,theta+90);
141 pos15(stem,theta-90); pos16(.5[hair,stem],0);
142 pos17(vair,-90); pos18(hair,-180); pos19(flare,-180);
143 x11r=x21r; lft x18r=hround(mid_f-1.25u); x12=.5[x11,x14]; x17=.5[x18,x15];
144 x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99];
145 y10+.5flare=vround .85[x_height,h];
146 y2=y12; y3=y13; y6=y16; y7=y17; y9=y19;
147 bulb(12,11,10); bulb(17,18,19); % right bulbs
148 filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc
149 filldraw z14r--z15l--z15r--z14l--cycle; % middle stem
150 filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc
151 top y21=x_height; filldraw stroke z21e--z22e; % right stem
152 pickup crisp.nib; pos30(bar,90); pos31(bar,90);
153 top y30r=top y31r=x_height;
154 lft x30=lft x4r-.5stem-u; x31=x21;
155 filldraw stroke z30e--z31e; % crossbar
156 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
157 20,21,22,23,24,30,31,88,89,98,99); endchar;
158
159 cmchar "Italic ligature ffl";
160 beginchar(oct"017",12u#+.5max(1.5u#,stem#)+.5max(3.5u#,2flare#)
161 +4letter_fit#,asc_height#,desc_depth#);
162 italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#);
163 adjust_fit(0,0); pickup fine.nib;
164 z98-z88=z99-z89=z14-z4=z15-z5=(5u+2letter_fit,0);
165 numeric theta,mid_f;
166 mid_f=.5[x88,x99]=.5(w-4.5u-2letter_fit); x89-x88=u;
167 y98=h; y99=-d; theta=angle(z88-z89);
168 pos21(stem,0); rt x21r=hround(w-2.5u+.5stem);
169 x22=x21; x24=w; hook_out(22,23,24); % closing hook
170 pos0(flare,0); pos1(hair,0); pos2(vair,90);
171 pos3(.5[hair,stem],180); pos4(stem,theta+90);
172 pos5(stem,theta-90); pos6(.5[hair,stem],0);
173 pos7(vair,-90); pos8(hair,-180); pos9(flare,-180);
174 rt x1r=hround(mid_f+1.25u); lft x8r=hround-.35u;
175 x2=.5[x1,x4]; x7=.6[x8,x5];
176 y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo;
177 y4=.25[x_height,h]; y5=.5[-d,y4];
178 z4=whatever[z88,z89]; z5=whatever[z88,z89];
179 x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7];
180 bulb(2,1,0); bulb(7,8,9); % left bulbs
181 filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc
182 filldraw z4r--z5l--z5r--z4l--cycle; % left stem
183 filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc
184 pos10(flare,0); pos11(hair,0); pos12(vair,90);
185 pos13(.5[hair,stem],180); pos14(stem,theta+90);
186 pos15(stem,theta-90); pos16(.5[hair,stem],0);
187 pos17(vair,-90); pos18(hair,-180); pos19(flare,-180); rt x11r=lft x21l;
188 lft x18r=hround(mid_f-1.25u); x12=.5[x11,x14]; x17=.5[x18,x15];
189 x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99];
190 y0=y10; y2=y12; y3=y13; y6=y16; y7=y17; y9=y19;
191 bulb(12,11,10); bulb(17,18,19); % right bulbs
192 filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc
193 filldraw z14r--z15l--z15r--z14l--cycle; % middle stem
194 filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc
195 top y21=h; filldraw stroke z21e--z22e; % right stem
196 pickup crisp.nib; pos30(bar,90); pos31(bar,90);
197 top y30r=top y31r=x_height;
198 lft x30=lft x4r-.5stem-u; x31=x21;
199 filldraw stroke z30e--z31e; % crossbar
200 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
201 20,21,22,23,24,30,31,88,89,98,99); endchar;