Debian Codegraph @

texmf-dist/fonts/source/public/sansmathfonts/eczz.mf

raw
1 % eczz.mf
2 %
3 % Content:
4 %
5 % Parameter for
6 %
7 % European CM-style Sans Serif small caps
8 %
9 %
10 % By Ariel Barton, March 2013
11 %
12 % Based on ecss.mf and eccc.mf by J"org Knappen
13
14 font_identifier:="ECSSCSC";
15 font_size (gensize*pt#);
16 basedef ( 8, 9, 10, 12, 17.28);
17
18 % If ecrm and ecss agree, use the value from eccc
19 % If ecrm and eccc agree, use the value from ecss
20 % If ecss and eccc agree, use the value they agree on
21 % (If they almost agree, use ecss)
22
23
24
25
26 gendef [1/36pt#]( u# )( 18, 19.5, 21, 24.5, 33.5); % eccc
27 gendef [1/36pt#]( width_adj# )( 12, 13, 15, 17, 24); % ecss
28 gendef [1/36pt#]( serif_fit# )( [-6], [-6.5], [-7], [-9], [-12]); % ecss
29 gendef [1/36pt#]( cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); % ecss
30 gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5, 5); % eccc
31 gendef [1/36pt#]( body_height# )( 216, 243, 270, 324, 466);
32 gendef [1/36pt#]( asc_height# )( 205, 235, 260, 315, 445); % ecss
33 gendef [1/36pt#]( cap_height# )( 200, 225, 250, 300, 425); % ecss
34 gendef [1/36pt#]( fig_height# )( 189, 212, 236, 283, 408); % ecss
35 gendef [1/36pt#]( x_height# )( 128, 144, 160, 192, 267.8); % ecss
36 gendef [1/36pt#]( math_axis# )( 72, 81, 90, 108, 155.5);
37 gendef [1/36pt#]( bar_height# )( 63, 71, 79, 97, 136); % ecss
38 gendef [1/36pt#]( comma_depth# )( 37, 41, 45, 54, 78); % ecss
39 gendef [1/36pt#]( desc_depth# )( 56, 63, 70, 84, 121);
40 gendef [1/36pt#]( acc_height# )( 60, 65, 70, 82, 110); % ecss
41 gendef [1/36pt#]( dot_height# )( 45.8, 50.4, 56, 67.2, 90); % ecss
42 gendef [1/36pt#]( udot_height# )( 48.2, 53.1, 59, 70.8, 100.3); % ecss
43 gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0);
44 gendef [1/36pt#]( tiny# )( 0, 0, 0, 0, 0); % ecss
45 gendef [1/36pt#]( fine# )( 0, 0, 0, 0, 0); % ecss
46 gendef [1/36pt#]( thin_join# )( 15, 16, 17, 20, 24); % ecss
47 gendef [1/36pt#]( hair# )( 25, 27, 28, 33, 37); % ecss
48 gendef [1/36pt#]( stem# )( 25, 27, 28, 33, 37); % ecss
49 gendef [1/36pt#]( curve# )( 25, 27, 28, 30, 33); % ecss
50 gendef [1/36pt#]( ess# )( 25, 27, 28, 33, 37); % ecss
51 gendef [1/36pt#]( flare# )( 22, 24, 25, 30, 33); % ecss
52 gendef [1/36pt#]( dot_size# )( 26, 28, 30, 35, 40); % ecss
53 gendef [1/36pt#]( cap_hair# )( 25, 27, 28, 33, 37); % ecss
54 gendef [1/36pt#]( cap_stem# )( 29, 31, 32, 33, 39); % ecss
55 gendef [1/36pt#]( cap_curve# )( 29, 31, 32, 37, 42); % ecss
56 gendef [1/36pt#]( cap_ess# )( 28, 31, 32, 37, 42); % ecss
57 gendef [pt#]( rule_thickness#)( .36, .38, .4, .44, .6);
58 gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); % ecss
59 gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); % ecss
60 gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); % ecss
61 gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); % ecss
62 gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); % ecss
63 gendef [1/36pt#]( beak# )( .4, .5, .5, .6, .8); % ecss
64 gendef [1/36pt#]( vair# )( 19, 21, 22, 26, 31); % ecss
65 gendef [1/36pt#]( notch_cut# )( 16, 17, 18, 22, 32); % ecss
66 gendef [1/36pt#]( bar# )( 18, 20, 21, 25, 30); % ecss
67 gendef [1/36pt#]( slab# )( 20, 22, 23, 27, 32); % ecss
68 gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 26, 31); % ecss
69 gendef [1/36pt#]( cap_band# )( 17, 19, 20, 24, 30); % ecss
70 gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 31, 36); % ecss
71 gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); % ecss
72 gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1);
73 gendef [1/36pt#]( vair_corr# )( 1, 1, 1, 1, 1);
74 gendef [1/36pt#]( apex_corr# )( 4, 4.5, 5, 6, 7); % ecss
75 gendef [1/36pt#]( o# )( 6, 7, 8, 9, 10);
76 gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); % ecss
77 slant:=0;
78 gendef ( fudge )( .93, .95, .96, .98, .98); % ecss
79 gendef ( math_spread )( .4, .2, 0, [-.2], [-.4]); % eccc
80
81 superness:=1/sqrt 2;
82 superpull:=1/20; % ecss
83 beak_darkness:=0; % ecss
84 square_dots:=true; % ecss
85 hefty:=true; % ecss
86 serifs:=false; % ecss
87 monospace:=false;
88 variant_g:=false;
89 low_asterisk:=false;
90 math_fitting:=false;
91
92 % If ecrm and ecss agree
93 % then use the value from eccc
94 gendef [1/36pt#]( lower.u# )( 13, 14.5, 16, 19.5, 28.5); % eccc
95 gendef [1/36pt#]( lower.letter_fit# )( 2.4, 2.4, 2.4, 2.4, 2.4); % eccc
96 gendef [1/36pt#]( lower.body_height# )( 146, 173, 200, 254, 396); % eccc
97 gendef [1/36pt#]( lower.o# )( 3, 4, 5, 6, 7); % eccc
98 % If ecss parameter is zero,
99 % then so is the corresponding lower
100 gendef [1/36pt#]( lower.cap_jut# )( 0, 0, 0, 0, 0); % ecss
101 gendef [1/36pt#]( lower.beak_jut# )( 0, 0, 0, 0, 0); % ecss
102 gendef [1/36pt#]( lower.apex_o# )( 0, 0, 0, 0, 0); % ecss
103 % If eccc upper. and lower. match
104 % then Knuth is a silly person
105 % and we use the ecss value
106 gendef [1/36pt#]( lower.cap_notch_cut# )( 22, 24, 25, 31, 36); % ecss
107 gendef ( lower.fudge )( .93, .95, .96, .98, .98); % ecss
108
109 % This is because ecxc (bold small caps)
110 % has the same value for width_adj# and lower.width_adj#
111 gendef [1/36pt#]( lower.width_adj# )( 12, 13, 15, 17, 24); % ecss
112
113 % Otherwise we have to make decisions
114 % Note: ecrm and eccc agree on all these parameters
115 % except for cap_stem and cap_curve
116 % where they differ very slightly for the largest fonts.
117
118 % Basic idea: take the ecss value
119 % and multiply by (lower/upper)
120
121 %gendef [1/36pt#]( upper.cap_serif_fit# )( 4.1, 4.6, 5, 5.8, 8); % eccc
122 %gendef [1/36pt#]( lower.cap_serif_fit# )( 3.1, 3.6, 4, 4.8, 7); % eccc
123 %gendef [1/36pt#]( upper.cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); % ecss
124 gendef [1/36pt#]( lower.cap_serif_fit# )( [-6.4268292683], [-7.0434782609], [-8], [-10.7586206897], [-14.875]);
125
126 %gendef [1/36pt#]( upper.cap_height# )( 196.8, 221.4, 246, 295.2, 425); % eccc
127 %gendef [1/36pt#]( lower.cap_height# )( 135.8, 160.4, 185, 226, 335); % eccc
128 %gendef [1/36pt#]( upper.cap_height# )( 200, 225, 250, 300, 425); % ecss
129 gendef [1/36pt#]( lower.cap_height# )( 138, 163, 188, 229.674796748, 335);
130
131 %gendef [1/36pt#]( upper.x_height# )( 124, 139.5, 155, 186, 267.8); % eccc
132 %gendef [1/36pt#]( lower.x_height# )( 85, 100.5, 116, 147, 228.8); % eccc
133 %gendef [1/36pt#]( upper.x_height# )( 128, 144, 160, 192, 267.8); % ecss
134 gendef [1/36pt#]( lower.x_height# )( 87.7419354839, 103.7419354839, 119.7419354839, 151.7419354839, 228.8);
135
136 %gendef [1/36pt#]( upper.bar_height# )( 69.6, 78.3, 87, 104.4, 150); % eccc
137 %gendef [1/36pt#]( lower.bar_height# )( 47.6, 56.3, 65, 82.4, 128); % eccc
138 %gendef [1/36pt#]( upper.bar_height# )( 63, 71, 79, 97, 136); % ecss
139 gendef [1/36pt#]( lower.bar_height# )( 43.0862068966, 51.0510855683, 59.0229885057, 76.5593869732, 116.0533333333);
140
141 %gendef [1/36pt#]( upper.comma_depth# )( 56, 63, 70, 84, 121); % eccc
142 %gendef [1/36pt#]( lower.comma_depth# )( 38, 45, 52, 64, 103); % eccc
143 %gendef [1/36pt#]( upper.comma_depth# )( 37, 41, 45, 54, 78); % ecss
144 gendef [1/36pt#]( lower.comma_depth# )( 25.1071428571, 29.2857142857, 33.4285714286, 41.1428571429, 66.3966942149);
145
146 %gendef [1/36pt#]( upper.stem# )( 22, 24, 25, 28, 33); % eccc
147 %gendef [1/36pt#]( lower.stem# )( 18, 20, 21, 24, 29); % eccc
148 %gendef [1/36pt#]( upper.stem# )( 25, 27, 28, 33, 37); % ecss
149 gendef [1/36pt#]( lower.stem# )( 20.4545454545, 22.5, 23.52, 28.2857142857, 32.5151515152);
150
151 %gendef [1/36pt#]( upper.flare# )( 27, 30, 33, 36, 45); % eccc
152 %gendef [1/36pt#]( lower.flare# )( 19, 22, 25, 28, 37); % eccc
153 %gendef [1/36pt#]( upper.flare# )( 22, 24, 25, 30, 33); % ecss
154 gendef [1/36pt#]( lower.flare# )( 15.4814814815, 17.6, 18.9393939394, 23.3333333333, 27.1333333333);
155
156 %gendef [1/36pt#]( upper.dot_size# )( 32, 35, 38, 42, 51); % eccc
157 %gendef [1/36pt#]( lower.dot_size# )( 32, 35, 38, 42, 51); % eccc
158 %gendef [1/36pt#]( upper.dot_size# )( 26, 28, 30, 35, 40); % ecss
159 gendef [1/36pt#]( lower.dot_size# )( 26, 28, 30, 35, 40);
160
161 %gendef [1/36pt#]( upper.cap_hair# )( 9.5, 10, 11, 11.5, 13); % eccc
162 %gendef [1/36pt#]( lower.cap_hair# )( 7.6, 8.1, 9.1, 9.6, 11.1); % eccc
163 %gendef [1/36pt#]( upper.cap_hair# )( 25, 27, 28, 33, 37); % ecss
164 gendef [1/36pt#]( lower.cap_hair# )( 20, 21.87, 23.1636363636, 27.547826087, 31.5923076923);
165
166 %gendef [1/36pt#]( upper.cap_stem# )( 26.5, 29, 32, 35, 40); % eccc
167 %gendef [1/36pt#]( lower.cap_stem# )( 20.5, 23, 26, 29, 34); % eccc
168 %gendef [1/36pt#]( upper.cap_stem# )( 29, 31, 32, 33, 39); % ecss
169 gendef [1/36pt#]( lower.cap_stem# )( 22.4339622642, 24.5862068966, 26, 27.3428571429, 33.15);
170
171 %gendef [1/36pt#]( upper.cap_curve# )( 30, 33, 37, 40, 48); % eccc
172 %gendef [1/36pt#]( lower.cap_curve# )( 24, 27, 31, 34, 42); % eccc
173 %gendef [1/36pt#]( upper.cap_curve# )( 29, 31, 32, 37, 42); % ecss
174 gendef [1/36pt#]( lower.cap_curve# )( 23.2, 25.3636363636, 26.8108108108, 31.45, 36.75);
175
176 %gendef [1/36pt#]( upper.cap_ess# )( 27, 31, 35, 38, 43); % eccc
177 %gendef [1/36pt#]( lower.cap_ess# )( 20, 24, 28, 31, 36); % eccc
178 %gendef [1/36pt#]( upper.cap_ess# )( 28, 31, 32, 37, 42); % ecss
179 gendef [1/36pt#]( lower.cap_ess# )( 20.7407407407, 24, 25.6, 30.1842105263, 35.1627906977);
180
181 %gendef [1/36pt#]( upper.beak# )( 56, 63, 70, 84, 121); % eccc
182 %gendef [1/36pt#]( lower.beak# )( 38, 45, 52, 66, 103); % eccc
183 %gendef [1/36pt#]( upper.beak# )( 0.4, 0.5, 0.5, 0.6, 0.8); % ecss
184 gendef [1/36pt#]( lower.beak# )( 0.2714285714, 0.3571428571, 0.3714285714, 0.4714285714, 0.6809917355);
185
186 %gendef [1/36pt#]( upper.slab# )( 9.5, 10, 11, 12.5, 16); % eccc
187 %gendef [1/36pt#]( lower.slab# )( 7.6, 8.1, 9.1, 10.6, 14.1); % eccc
188 %gendef [1/36pt#]( upper.slab# )( 20, 22, 23, 27, 32); % ecss
189 gendef [1/36pt#]( lower.slab# )( 16, 17.82, 19.0272727273, 22.896, 28.2);
190
191 %gendef [1/36pt#]( upper.cap_bar# )( 9.5, 10, 11, 12.5, 16); % eccc
192 %gendef [1/36pt#]( lower.cap_bar# )( 7.6, 8.1, 9.1, 10.6, 14.1); % eccc
193 %gendef [1/36pt#]( upper.cap_bar# )( 19, 21, 22, 26, 31); % ecss
194 gendef [1/36pt#]( lower.cap_bar# )( 15.2, 17.01, 18.2, 22.048, 27.31875);
195
196 %gendef [1/36pt#]( upper.cap_band# )( 9.5, 10, 11, 12.5, 16); % eccc
197 %gendef [1/36pt#]( lower.cap_band# )( 7.6, 8.1, 9.1, 10.6, 14.1); % eccc
198 %gendef [1/36pt#]( upper.cap_band# )( 17, 19, 20, 24, 30); % ecss
199 gendef [1/36pt#]( lower.cap_band# )( 13.6, 15.39, 16.5454545455, 20.352, 26.4375);
200
201
202 clear_extra_memory;
203
204 generate excsc
205
206 endinput;