summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/public/sansmathfonts/eczx.mf
blob: 07766c34865d450300d44d06f9029a375aece952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
% eczx.mf
%
% Content:
%    Parameter for
%    European CM-style Sans Serif Bold Extended Caps and Small Caps

% By Ariel Barton, March 2013
%
% Based on ecsx.mf and ecxc.mf by J"org Knappen

font_identifier:="ECSSBXCSC";
font_size gensize*pt#;
basedef                             (  5,      9,     10,     12);
gendef   [1/36pt#]( u#             )(     15,     22,     24,     28); % ecxc
gendef   [1/36pt#]( width_adj#     )( 12,     19,     22,     19); % ecsx
gendef   [1/36pt#]( serif_fit#     )([-5],  [-8],   [-9],  [-10]); % ecsx
gendef   [1/36pt#]( cap_serif_fit# )([-6],  [-9],  [-11],  [-15]); % ecsx
gendef   [1/36pt#]( letter_fit#    )(  5,      5,      5,      5); % ecxc
gendef   [1/36pt#]( body_height#   )(135,    243,    270,    324); % ecsx
gendef   [1/36pt#]( asc_height#    )(130,    235,    260,    315); % ecsx
gendef   [1/36pt#]( cap_height#    )(125,    225,    250,    300); % ecsx
gendef   [1/36pt#]( fig_height#    )(125,    212,    250,    283); % ecsx
gendef   [1/36pt#]( x_height#      )( 83,    149,    165,    198); % ecsx
gendef   [1/36pt#]( math_axis#     )( 45,     80,     90,    108); % ecsx
gendef   [1/36pt#]( bar_height#    )( 45,     80,     90,     95); % ecsx
gendef   [1/36pt#]( comma_depth#   )( 19,     34,     38,     54); % ecsx
gendef   [1/36pt#]( desc_depth#    )( 35,     62,     70,     84); % ecsx
gendef   [1/36pt#]( acc_height#    )( 45,   67.5,     75,     90); % ecsx
gendef   [1/36pt#]( dot_height#    )( 38,   67.5,     75,     90); % ecsx
gendef   [1/36pt#]( udot_height#   )( 30,   53.1,     59,   70.8); % ecsx
gendef   [1/36pt#]( crisp#         )( 12,     25,     26,     26); % ecsx
gendef   [1/36pt#]( tiny#          )( 12,     24,     26,     26); % ecsx
gendef   [1/36pt#]( fine#          )(  5,      7,      9,      9); % ecsx
gendef   [1/36pt#]( thin_join#     )( 11,     18,     19,     21); % ecsx
gendef   [1/36pt#]( hair#          )( 25,     40,     49,     50); % ecsx
gendef   [1/36pt#]( stem#          )( 25,     41,     49,     50); % ecsx
gendef   [1/36pt#]( curve#         )( 25,     41,     49,     50); % ecsx
gendef   [1/36pt#]( ess#           )( 22,     35,     43,     44); % ecsx
gendef   [1/36pt#]( flare#         )( 20,     39,     40,     41); % ecsx
gendef   [1/36pt#]( dot_size#      )( 24,     40,     47,     48); % ecsx
gendef   [1/36pt#]( cap_hair#      )( 24,     41,     48,     50); % ecsx
gendef   [1/36pt#]( cap_stem#      )( 26,     43,     51,     54); % ecsx
gendef   [1/36pt#]( cap_curve#     )( 26,     43,     51,     54); % ecsx
gendef   [1/36pt#]( cap_ess#       )( 26,     43,     51,     52); % ecsx
gendef   [1/36pt#]( rule_thickness#)( 16,     29,     30,     31); % ecsx
gendef   [1/36pt#]( dish#          )(  0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( bracket#       )(  0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( jut#           )(  0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( cap_jut#       )(  0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( beak_jut#      )(  0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( beak#          )(.75,    1.1,    1.5,    1.8); % ecsx
gendef   [1/36pt#]( vair#          )( 15,     22,     26,     27); % ecsx
gendef   [1/36pt#]( notch_cut#     )( 25,     42,     49,     50); % ecsx
gendef   [1/36pt#]( bar#           )( 13,     26,     26,     27); % ecsx
gendef   [1/36pt#]( slab#          )( 18,     35,     36,     37); % ecsx
gendef   [1/36pt#]( cap_bar#       )( 17,     33,     34,     35); % ecsx
gendef   [1/36pt#]( cap_band#      )( 16,     30,     31,     32); % ecsx
gendef   [1/36pt#]( cap_notch_cut# )( 23,     44,     45,     46); % ecsx
gendef   [1/36pt#]( serif_drop#    )(  2,      2,      2,      2); % ecsx
gendef   [1/36pt#]( stem_corr#     )(  1,      1,      1,      1); % ecsx
gendef   [1/36pt#]( vair_corr#     )(  2,      2,      2,      2); % ecsx
gendef   [1/36pt#]( apex_corr#     )( 15,     17,     18,     19); % ecsx
gendef   [1/36pt#]( o#             )(  5,      7,      8,      9); % ecsx
gendef   [1/36pt#]( apex_o#        )(  0,      0,      0,      0); % ecsx
gendef            ( fudge          )(.88,     .88,    .88,    .88); % ecsx
gendef            ( math_spread    )(.45,     .45,     .5,     .5); % ecsx
slant:=0;
%   superness:=8/11; % ecbx
   superness:=3/4; % ecsx
%   superness:=1/sqrt 2; % ecxc
%   superpull:=1/8; % ecbx
   superpull:=1/18; % ecsx
%   superpull:=1/6; % ecxc
%   beak_darkness:=.4; % ecbx
   beak_darkness:=0; % ecsx
%   beak_darkness:=11/30; % ecxc
square_dots:=true; % ecsx
hefty:=true; % ecsx
serifs:=false; % ecsx
monospace:=false;
variant_g:=false;
low_asterisk:=false;
math_fitting:=false;


% If ecbx and ecsx agree
% then use the value from ecxc
gendef   [1/36pt#]( lower.letter_fit#    )(   1.44,   1.44,   1.44,   1.44); % ecxc
gendef   [1/36pt#]( lower.body_height#   )(     65,    173,    200,    254); % ecxc
gendef            ( lower.fudge          )(    .88,     .88,    .88,    .88); % ecsx
% If ecxc upper. and lower. match, *and* they match ecbx
% then Knuth is a silly person
% and we use the ecsx value
gendef   [1/36pt#]( lower.width_adj#           )(     12,     19,     22,     19); % ecsx
gendef   [1/36pt#]( lower.cap_notch_cut#       )(     23,     44,     45,     46); % ecsx
% If ecsx parameter is zero, 
% then so is the corresponding lower
gendef   [1/36pt#]( lower.cap_jut#             )(      0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( lower.beak_jut#            )(      0,      0,      0,      0); % ecsx
gendef   [1/36pt#]( lower.apex_o#              )(      0,      0,      0,      0); % ecsx

% Otherwise we have to make decisions
% Note: ecbx and ecxc agree on all these parameters
% except for u#

% ecbx	gendef	[1/36pt#](	u#	)(	14.5,	21.3,	23,	27);
% ecsx	gendef	[1/36pt#](	u#	)(	12,	19,	22,	27);
% ecxc	gendef	[1/36pt#](	u#	)(	15,	22,	24,	28);
gendef	[1/36pt#](	lower.u#	)(	11,	17,	18.3,	21.3);

% Basic idea: take the ecss value 
% and multiply by (lower/upper)

% ecsx	gendef	[1/36pt#](	cap_serif_fit#	)(	[-6],	[-9],	[-11],	[-15]);
% ecxc	gendef	[1/36pt#](	cap_serif_fit#	)(	3,	6.2,	7,	8);
% ecxc	gendef	[1/36pt#](	lower.cap_serif_fit#	)(	2,	5.2,	6,	7);
gendef	[1/36pt#](	lower.cap_serif_fit#	)(	[-4],	[-7.5483870968],	[-9.4285714286],	[-13.125]);

% ecsx	gendef	[1/36pt#](	cap_height#	)(	125,	225,	250,	300);
% ecxc	gendef	[1/36pt#](	cap_height#	)(	123.5,	222.3,	247,	296.4);
% ecxc	gendef	[1/36pt#](	lower.cap_height#	)(	96,	161,	186,	226);
gendef	[1/36pt#](	lower.cap_height#	)(	97.1659919028,	162.955465587,	188.2591093117,	228.7449392713);

% ecsx	gendef	[1/36pt#](	x_height#	)(	83,	149,	165,	198);
% ecxc	gendef	[1/36pt#](	x_height#	)(	80,	144,	160,	192);
% ecxc	gendef	[1/36pt#](	lower.x_height#	)(	39.7,	103.7,	119.7,	151.7);
gendef	[1/36pt#](	lower.x_height#	)(	41.18875,	107.3006944444,	123.440625,	156.440625);

% ecsx	gendef	[1/36pt#](	bar_height#	)(	45,	80,	90,	95);
% ecxc	gendef	[1/36pt#](	bar_height#	)(	40,	76,	85,	102);
% ecxc	gendef	[1/36pt#](	lower.bar_height#	)(	19.8,	54.6,	63.5,	80.5);
gendef	[1/36pt#](	lower.bar_height#	)(	22.275,	57.4736842105,	67.2352941176,	74.9754901961);

% ecsx	gendef	[1/36pt#](	comma_depth#	)(	19,	34,	38,	54);
% ecxc	gendef	[1/36pt#](	comma_depth#	)(	35,	63,	70,	84);
% ecxc	gendef	[1/36pt#](	lower.comma_depth#	)(	17,	45,	52,	64);
gendef	[1/36pt#](	lower.comma_depth#	)(	9.2285714286,	24.2857142857,	28.2285714286,	41.1428571429);

% ecsx	gendef	[1/36pt#](	stem#	)(	25,	41,	49,	50);
% ecxc	gendef	[1/36pt#](	stem#	)(	24,	38,	41,	47);
% ecxc	gendef	[1/36pt#](	lower.stem#	)(	20,	31.9,	34.4,	39.5);
gendef	[1/36pt#](	lower.stem#	)(	20.8333333333,	34.4184210526,	41.112195122,	42.0212765957);

% ecsx	gendef	[1/36pt#](	flare#	)(	20,	39,	40,	41);
% ecxc	gendef	[1/36pt#](	flare#	)(	27,	42,	45,	51);
% ecxc	gendef	[1/36pt#](	lower.flare#	)(	17.7,	31.8,	34.1,	38.6);
gendef	[1/36pt#](	lower.flare#	)(	13.1111111111,	29.5285714286,	30.3111111111,	31.031372549);

% ecsx	gendef	[1/36pt#](	dot_size#	)(	24,	40,	47,	48);
% ecxc	gendef	[1/36pt#](	dot_size#	)(	31,	51,	56,	62);
% ecxc	gendef	[1/36pt#](	lower.dot_size#	)(	21,	41,	46,	52);
gendef	[1/36pt#](	lower.dot_size#	)(	16.2580645161,	32.1568627451,	38.6071428571,	40.2580645161);

% ecsx	gendef	[1/36pt#](	cap_hair#	)(	24,	41,	48,	50);
% ecxc	gendef	[1/36pt#](	cap_hair#	)(	17,	19,	19,	20);
% ecxc	gendef	[1/36pt#](	lower.cap_hair#	)(	11,	15,	15.7,	16.5);
gendef	[1/36pt#](	lower.cap_hair#	)(	15.5294117647,	32.3684210526,	39.6631578947,	41.25);

% ecsx	gendef	[1/36pt#](	cap_stem#	)(	26,	43,	51,	54);
% ecxc	gendef	[1/36pt#](	cap_stem#	)(	28,	47,	51,	57);
% ecxc	gendef	[1/36pt#](	lower.cap_stem#	)(	21,	38.2,	41.4,	46.3);
gendef	[1/36pt#](	lower.cap_stem#	)(	19.5,	34.9489361702,	41.4,	43.8631578947);

% ecsx	gendef	[1/36pt#](	cap_curve#	)(	26,	43,	51,	54);
% ecxc	gendef	[1/36pt#](	cap_curve#	)(	31,	51,	55,	61);
% ecxc	gendef	[1/36pt#](	lower.cap_curve#	)(	24,	42.7,	46.1,	51.1);
gendef	[1/36pt#](	lower.cap_curve#	)(	20.1290322581,	36.0019607843,	42.7472727273,	45.2360655738);

% ecsx	gendef	[1/36pt#](	cap_ess#	)(	26,	43,	51,	52);
% ecxc	gendef	[1/36pt#](	cap_ess#	)(	24,	48,	53,	59);
% ecxc	gendef	[1/36pt#](	lower.cap_ess#	)(	15,	38.4,	42.4,	47.2);
gendef	[1/36pt#](	lower.cap_ess#	)(	16.25,	34.4,	40.8,	41.6);

% ecsx	gendef	[1/36pt#](	beak#	)(	0.75,	1.1,	1.5,	1.8);
% ecxc	gendef	[1/36pt#](	beak#	)(	25,	63,	70,	84);
% ecxc	gendef	[1/36pt#](	lower.beak#	)(	17,	46,	52,	62.4);
gendef	[1/36pt#](	lower.beak#	)(	0.51,	0.8031746032,	1.1142857143,	1.3371428571);

% ecsx	gendef	[1/36pt#](	slab#	)(	18,	35,	36,	37);
% ecxc	gendef	[1/36pt#](	slab#	)(	12,	16,	17,	18.5);
% ecxc	gendef	[1/36pt#](	lower.slab#	)(	9.9,	13.2,	14.1,	15.3);
gendef	[1/36pt#](	lower.slab#	)(	14.85,	28.875,	29.8588235294,	30.6);

% ecsx	gendef	[1/36pt#](	cap_bar#	)(	17,	33,	34,	35);
% ecxc	gendef	[1/36pt#](	cap_bar#	)(	12,	16,	17,	18.5);
% ecxc	gendef	[1/36pt#](	lower.cap_bar#	)(	9.9,	13.2,	14.1,	15.3);
gendef	[1/36pt#](	lower.cap_bar#	)(	14.025,	27.225,	28.2,	28.9459459459);

% ecsx	gendef	[1/36pt#](	cap_band#	)(	16,	30,	31,	32);
% ecxc	gendef	[1/36pt#](	cap_band#	)(	12,	16,	17,	18.5);
% ecxc	gendef	[1/36pt#](	lower.cap_band#	)(	9.9,	13.2,	14.1,	15.3);
gendef	[1/36pt#](	lower.cap_band#	)(	13.2,	24.75,	25.7117647059,	26.4648648649);

% ecsx	gendef	[1/36pt#](	o#	)(	5,	7,	8,	9);
% ecxc	gendef	[1/36pt#](	o#	)(	3,	4,	4,	5);
% ecxc	gendef	[1/36pt#](	lower.o#	)(	1.875,	2.5,	2.5,	3.125);
gendef	[1/36pt#](	lower.o#	)(	3.125,	4.375,	5,	5.625);


clear_extra_memory;

generate excsc

endinput;