| 1 |
% eczx.mf |
| 2 |
% |
| 3 |
% Content: |
| 4 |
% Parameter for |
| 5 |
% European CM-style Sans Serif Bold Extended Caps and Small Caps |
| 6 |
|
| 7 |
% By Ariel Barton, March 2013 |
| 8 |
% |
| 9 |
% Based on ecsx.mf and ecxc.mf by J"org Knappen |
| 10 |
|
| 11 |
font_identifier:="ECSSBXCSC"; |
| 12 |
font_size gensize*pt#; |
| 13 |
basedef ( 5, 9, 10, 12); |
| 14 |
gendef [1/36pt#]( u# )( 15, 22, 24, 28); % ecxc |
| 15 |
gendef [1/36pt#]( width_adj# )( 12, 19, 22, 19); % ecsx |
| 16 |
gendef [1/36pt#]( serif_fit# )([-5], [-8], [-9], [-10]); % ecsx |
| 17 |
gendef [1/36pt#]( cap_serif_fit# )([-6], [-9], [-11], [-15]); % ecsx |
| 18 |
gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5); % ecxc |
| 19 |
gendef [1/36pt#]( body_height# )(135, 243, 270, 324); % ecsx |
| 20 |
gendef [1/36pt#]( asc_height# )(130, 235, 260, 315); % ecsx |
| 21 |
gendef [1/36pt#]( cap_height# )(125, 225, 250, 300); % ecsx |
| 22 |
gendef [1/36pt#]( fig_height# )(125, 212, 250, 283); % ecsx |
| 23 |
gendef [1/36pt#]( x_height# )( 83, 149, 165, 198); % ecsx |
| 24 |
gendef [1/36pt#]( math_axis# )( 45, 80, 90, 108); % ecsx |
| 25 |
gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95); % ecsx |
| 26 |
gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54); % ecsx |
| 27 |
gendef [1/36pt#]( desc_depth# )( 35, 62, 70, 84); % ecsx |
| 28 |
gendef [1/36pt#]( acc_height# )( 45, 67.5, 75, 90); % ecsx |
| 29 |
gendef [1/36pt#]( dot_height# )( 38, 67.5, 75, 90); % ecsx |
| 30 |
gendef [1/36pt#]( udot_height# )( 30, 53.1, 59, 70.8); % ecsx |
| 31 |
gendef [1/36pt#]( crisp# )( 12, 25, 26, 26); % ecsx |
| 32 |
gendef [1/36pt#]( tiny# )( 12, 24, 26, 26); % ecsx |
| 33 |
gendef [1/36pt#]( fine# )( 5, 7, 9, 9); % ecsx |
| 34 |
gendef [1/36pt#]( thin_join# )( 11, 18, 19, 21); % ecsx |
| 35 |
gendef [1/36pt#]( hair# )( 25, 40, 49, 50); % ecsx |
| 36 |
gendef [1/36pt#]( stem# )( 25, 41, 49, 50); % ecsx |
| 37 |
gendef [1/36pt#]( curve# )( 25, 41, 49, 50); % ecsx |
| 38 |
gendef [1/36pt#]( ess# )( 22, 35, 43, 44); % ecsx |
| 39 |
gendef [1/36pt#]( flare# )( 20, 39, 40, 41); % ecsx |
| 40 |
gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48); % ecsx |
| 41 |
gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50); % ecsx |
| 42 |
gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54); % ecsx |
| 43 |
gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54); % ecsx |
| 44 |
gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52); % ecsx |
| 45 |
gendef [1/36pt#]( rule_thickness#)( 16, 29, 30, 31); % ecsx |
| 46 |
gendef [1/36pt#]( dish# )( 0, 0, 0, 0); % ecsx |
| 47 |
gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); % ecsx |
| 48 |
gendef [1/36pt#]( jut# )( 0, 0, 0, 0); % ecsx |
| 49 |
gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0); % ecsx |
| 50 |
gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); % ecsx |
| 51 |
gendef [1/36pt#]( beak# )(.75, 1.1, 1.5, 1.8); % ecsx |
| 52 |
gendef [1/36pt#]( vair# )( 15, 22, 26, 27); % ecsx |
| 53 |
gendef [1/36pt#]( notch_cut# )( 25, 42, 49, 50); % ecsx |
| 54 |
gendef [1/36pt#]( bar# )( 13, 26, 26, 27); % ecsx |
| 55 |
gendef [1/36pt#]( slab# )( 18, 35, 36, 37); % ecsx |
| 56 |
gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35); % ecsx |
| 57 |
gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32); % ecsx |
| 58 |
gendef [1/36pt#]( cap_notch_cut# )( 23, 44, 45, 46); % ecsx |
| 59 |
gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2); % ecsx |
| 60 |
gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1); % ecsx |
| 61 |
gendef [1/36pt#]( vair_corr# )( 2, 2, 2, 2); % ecsx |
| 62 |
gendef [1/36pt#]( apex_corr# )( 15, 17, 18, 19); % ecsx |
| 63 |
gendef [1/36pt#]( o# )( 5, 7, 8, 9); % ecsx |
| 64 |
gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0); % ecsx |
| 65 |
gendef ( fudge )(.88, .88, .88, .88); % ecsx |
| 66 |
gendef ( math_spread )(.45, .45, .5, .5); % ecsx |
| 67 |
slant:=0; |
| 68 |
% superness:=8/11; % ecbx |
| 69 |
superness:=3/4; % ecsx |
| 70 |
% superness:=1/sqrt 2; % ecxc |
| 71 |
% superpull:=1/8; % ecbx |
| 72 |
superpull:=1/18; % ecsx |
| 73 |
% superpull:=1/6; % ecxc |
| 74 |
% beak_darkness:=.4; % ecbx |
| 75 |
beak_darkness:=0; % ecsx |
| 76 |
% beak_darkness:=11/30; % ecxc |
| 77 |
square_dots:=true; % ecsx |
| 78 |
hefty:=true; % ecsx |
| 79 |
serifs:=false; % ecsx |
| 80 |
monospace:=false; |
| 81 |
variant_g:=false; |
| 82 |
low_asterisk:=false; |
| 83 |
math_fitting:=false; |
| 84 |
|
| 85 |
|
| 86 |
% If ecbx and ecsx agree |
| 87 |
% then use the value from ecxc |
| 88 |
gendef [1/36pt#]( lower.letter_fit# )( 1.44, 1.44, 1.44, 1.44); % ecxc |
| 89 |
gendef [1/36pt#]( lower.body_height# )( 65, 173, 200, 254); % ecxc |
| 90 |
gendef ( lower.fudge )( .88, .88, .88, .88); % ecsx |
| 91 |
% If ecxc upper. and lower. match, *and* they match ecbx |
| 92 |
% then Knuth is a silly person |
| 93 |
% and we use the ecsx value |
| 94 |
gendef [1/36pt#]( lower.width_adj# )( 12, 19, 22, 19); % ecsx |
| 95 |
gendef [1/36pt#]( lower.cap_notch_cut# )( 23, 44, 45, 46); % ecsx |
| 96 |
% If ecsx parameter is zero, |
| 97 |
% then so is the corresponding lower |
| 98 |
gendef [1/36pt#]( lower.cap_jut# )( 0, 0, 0, 0); % ecsx |
| 99 |
gendef [1/36pt#]( lower.beak_jut# )( 0, 0, 0, 0); % ecsx |
| 100 |
gendef [1/36pt#]( lower.apex_o# )( 0, 0, 0, 0); % ecsx |
| 101 |
|
| 102 |
% Otherwise we have to make decisions |
| 103 |
% Note: ecbx and ecxc agree on all these parameters |
| 104 |
% except for u# |
| 105 |
|
| 106 |
% ecbx gendef [1/36pt#]( u# )( 14.5, 21.3, 23, 27); |
| 107 |
% ecsx gendef [1/36pt#]( u# )( 12, 19, 22, 27); |
| 108 |
% ecxc gendef [1/36pt#]( u# )( 15, 22, 24, 28); |
| 109 |
gendef [1/36pt#]( lower.u# )( 11, 17, 18.3, 21.3); |
| 110 |
|
| 111 |
% Basic idea: take the ecss value |
| 112 |
% and multiply by (lower/upper) |
| 113 |
|
| 114 |
% ecsx gendef [1/36pt#]( cap_serif_fit# )( [-6], [-9], [-11], [-15]); |
| 115 |
% ecxc gendef [1/36pt#]( cap_serif_fit# )( 3, 6.2, 7, 8); |
| 116 |
% ecxc gendef [1/36pt#]( lower.cap_serif_fit# )( 2, 5.2, 6, 7); |
| 117 |
gendef [1/36pt#]( lower.cap_serif_fit# )( [-4], [-7.5483870968], [-9.4285714286], [-13.125]); |
| 118 |
|
| 119 |
% ecsx gendef [1/36pt#]( cap_height# )( 125, 225, 250, 300); |
| 120 |
% ecxc gendef [1/36pt#]( cap_height# )( 123.5, 222.3, 247, 296.4); |
| 121 |
% ecxc gendef [1/36pt#]( lower.cap_height# )( 96, 161, 186, 226); |
| 122 |
gendef [1/36pt#]( lower.cap_height# )( 97.1659919028, 162.955465587, 188.2591093117, 228.7449392713); |
| 123 |
|
| 124 |
% ecsx gendef [1/36pt#]( x_height# )( 83, 149, 165, 198); |
| 125 |
% ecxc gendef [1/36pt#]( x_height# )( 80, 144, 160, 192); |
| 126 |
% ecxc gendef [1/36pt#]( lower.x_height# )( 39.7, 103.7, 119.7, 151.7); |
| 127 |
gendef [1/36pt#]( lower.x_height# )( 41.18875, 107.3006944444, 123.440625, 156.440625); |
| 128 |
|
| 129 |
% ecsx gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95); |
| 130 |
% ecxc gendef [1/36pt#]( bar_height# )( 40, 76, 85, 102); |
| 131 |
% ecxc gendef [1/36pt#]( lower.bar_height# )( 19.8, 54.6, 63.5, 80.5); |
| 132 |
gendef [1/36pt#]( lower.bar_height# )( 22.275, 57.4736842105, 67.2352941176, 74.9754901961); |
| 133 |
|
| 134 |
% ecsx gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54); |
| 135 |
% ecxc gendef [1/36pt#]( comma_depth# )( 35, 63, 70, 84); |
| 136 |
% ecxc gendef [1/36pt#]( lower.comma_depth# )( 17, 45, 52, 64); |
| 137 |
gendef [1/36pt#]( lower.comma_depth# )( 9.2285714286, 24.2857142857, 28.2285714286, 41.1428571429); |
| 138 |
|
| 139 |
% ecsx gendef [1/36pt#]( stem# )( 25, 41, 49, 50); |
| 140 |
% ecxc gendef [1/36pt#]( stem# )( 24, 38, 41, 47); |
| 141 |
% ecxc gendef [1/36pt#]( lower.stem# )( 20, 31.9, 34.4, 39.5); |
| 142 |
gendef [1/36pt#]( lower.stem# )( 20.8333333333, 34.4184210526, 41.112195122, 42.0212765957); |
| 143 |
|
| 144 |
% ecsx gendef [1/36pt#]( flare# )( 20, 39, 40, 41); |
| 145 |
% ecxc gendef [1/36pt#]( flare# )( 27, 42, 45, 51); |
| 146 |
% ecxc gendef [1/36pt#]( lower.flare# )( 17.7, 31.8, 34.1, 38.6); |
| 147 |
gendef [1/36pt#]( lower.flare# )( 13.1111111111, 29.5285714286, 30.3111111111, 31.031372549); |
| 148 |
|
| 149 |
% ecsx gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48); |
| 150 |
% ecxc gendef [1/36pt#]( dot_size# )( 31, 51, 56, 62); |
| 151 |
% ecxc gendef [1/36pt#]( lower.dot_size# )( 21, 41, 46, 52); |
| 152 |
gendef [1/36pt#]( lower.dot_size# )( 16.2580645161, 32.1568627451, 38.6071428571, 40.2580645161); |
| 153 |
|
| 154 |
% ecsx gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50); |
| 155 |
% ecxc gendef [1/36pt#]( cap_hair# )( 17, 19, 19, 20); |
| 156 |
% ecxc gendef [1/36pt#]( lower.cap_hair# )( 11, 15, 15.7, 16.5); |
| 157 |
gendef [1/36pt#]( lower.cap_hair# )( 15.5294117647, 32.3684210526, 39.6631578947, 41.25); |
| 158 |
|
| 159 |
% ecsx gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54); |
| 160 |
% ecxc gendef [1/36pt#]( cap_stem# )( 28, 47, 51, 57); |
| 161 |
% ecxc gendef [1/36pt#]( lower.cap_stem# )( 21, 38.2, 41.4, 46.3); |
| 162 |
gendef [1/36pt#]( lower.cap_stem# )( 19.5, 34.9489361702, 41.4, 43.8631578947); |
| 163 |
|
| 164 |
% ecsx gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54); |
| 165 |
% ecxc gendef [1/36pt#]( cap_curve# )( 31, 51, 55, 61); |
| 166 |
% ecxc gendef [1/36pt#]( lower.cap_curve# )( 24, 42.7, 46.1, 51.1); |
| 167 |
gendef [1/36pt#]( lower.cap_curve# )( 20.1290322581, 36.0019607843, 42.7472727273, 45.2360655738); |
| 168 |
|
| 169 |
% ecsx gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52); |
| 170 |
% ecxc gendef [1/36pt#]( cap_ess# )( 24, 48, 53, 59); |
| 171 |
% ecxc gendef [1/36pt#]( lower.cap_ess# )( 15, 38.4, 42.4, 47.2); |
| 172 |
gendef [1/36pt#]( lower.cap_ess# )( 16.25, 34.4, 40.8, 41.6); |
| 173 |
|
| 174 |
% ecsx gendef [1/36pt#]( beak# )( 0.75, 1.1, 1.5, 1.8); |
| 175 |
% ecxc gendef [1/36pt#]( beak# )( 25, 63, 70, 84); |
| 176 |
% ecxc gendef [1/36pt#]( lower.beak# )( 17, 46, 52, 62.4); |
| 177 |
gendef [1/36pt#]( lower.beak# )( 0.51, 0.8031746032, 1.1142857143, 1.3371428571); |
| 178 |
|
| 179 |
% ecsx gendef [1/36pt#]( slab# )( 18, 35, 36, 37); |
| 180 |
% ecxc gendef [1/36pt#]( slab# )( 12, 16, 17, 18.5); |
| 181 |
% ecxc gendef [1/36pt#]( lower.slab# )( 9.9, 13.2, 14.1, 15.3); |
| 182 |
gendef [1/36pt#]( lower.slab# )( 14.85, 28.875, 29.8588235294, 30.6); |
| 183 |
|
| 184 |
% ecsx gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35); |
| 185 |
% ecxc gendef [1/36pt#]( cap_bar# )( 12, 16, 17, 18.5); |
| 186 |
% ecxc gendef [1/36pt#]( lower.cap_bar# )( 9.9, 13.2, 14.1, 15.3); |
| 187 |
gendef [1/36pt#]( lower.cap_bar# )( 14.025, 27.225, 28.2, 28.9459459459); |
| 188 |
|
| 189 |
% ecsx gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32); |
| 190 |
% ecxc gendef [1/36pt#]( cap_band# )( 12, 16, 17, 18.5); |
| 191 |
% ecxc gendef [1/36pt#]( lower.cap_band# )( 9.9, 13.2, 14.1, 15.3); |
| 192 |
gendef [1/36pt#]( lower.cap_band# )( 13.2, 24.75, 25.7117647059, 26.4648648649); |
| 193 |
|
| 194 |
% ecsx gendef [1/36pt#]( o# )( 5, 7, 8, 9); |
| 195 |
% ecxc gendef [1/36pt#]( o# )( 3, 4, 4, 5); |
| 196 |
% ecxc gendef [1/36pt#]( lower.o# )( 1.875, 2.5, 2.5, 3.125); |
| 197 |
gendef [1/36pt#]( lower.o# )( 3.125, 4.375, 5, 5.625); |
| 198 |
|
| 199 |
|
| 200 |
clear_extra_memory; |
| 201 |
|
| 202 |
generate excsc |
| 203 |
|
| 204 |
endinput; |
| 205 |
|