@@ -77,7 +77,7 @@ const MyriadProBoldFactors = [
77
77
0.97579 , 0.97579 , 0.97579 , 0.9332 , 1.05993 , 0.94039 , 0.94039 , 0.94039 ,
78
78
0.94039 , 0.99793 , 0.94039 , 0.938 , 0.938 , 0.938 , 0.938 , 0.99793 , 0.95776 ,
79
79
] ;
80
- const MyriadProBoldLineHeight = 1.2 ;
80
+ const MyriadProBoldMetrics = { lineHeight : 1.2 , lineGap : 0.2 } ;
81
81
82
82
// Factors to rescale LiberationSans-BoldItalic.ttf to have the same
83
83
// metrics as MyriadPro-BoldIt.otf.
@@ -144,7 +144,7 @@ const MyriadProBoldItalicFactors = [
144
144
0.89544 , 1.0051 , 0.89364 , 0.89364 , 0.89364 , 0.89364 , 0.97276 , 0.89364 , 0.9 ,
145
145
0.9 , 0.9 , 0.9 , 0.97276 , 0.86842 ,
146
146
] ;
147
- const MyriadProBoldItalicLineHeight = 1.2 ;
147
+ const MyriadProBoldItalicMetrics = { lineHeight : 1.2 , lineGap : 0.2 } ;
148
148
149
149
// Factors to rescale LiberationSans-Italic.ttf to have the same
150
150
// metrics as MyriadPro-It.otf.
@@ -210,7 +210,7 @@ const MyriadProItalicFactors = [
210
210
0.979 , 0.979 , 0.979 , 0.979 , 0.882 , 0.93559 , 0.882 , 0.882 , 0.882 , 0.882 ,
211
211
0.88465 , 0.882 , 0.83 , 0.83 , 0.83 , 0.83 , 0.88465 , 0.84596 ,
212
212
] ;
213
- const MyriadProItalicLineHeight = 1.2 ;
213
+ const MyriadProItalicMetrics = { lineHeight : 1.2 , lineGap : 0.2 } ;
214
214
215
215
// Factors to rescale LiberationSans-Regular.ttf to have the same
216
216
// metrics as MyriadPro-Regular.otf.
@@ -276,15 +276,15 @@ const MyriadProRegularFactors = [
276
276
1.01915 , 0.926 , 0.96705 , 0.942 , 0.942 , 0.942 , 0.942 , 0.92241 , 0.942 , 0.856 ,
277
277
0.856 , 0.856 , 0.856 , 0.92241 , 0.92761 ,
278
278
] ;
279
- const MyriadProRegularLineHeight = 1.2 ;
279
+ const MyriadProRegularMetrics = { lineHeight : 1.2 , lineGap : 0.2 } ;
280
280
281
281
export {
282
282
MyriadProBoldFactors ,
283
283
MyriadProBoldItalicFactors ,
284
- MyriadProBoldItalicLineHeight ,
285
- MyriadProBoldLineHeight ,
284
+ MyriadProBoldItalicMetrics ,
285
+ MyriadProBoldMetrics ,
286
286
MyriadProItalicFactors ,
287
- MyriadProItalicLineHeight ,
287
+ MyriadProItalicMetrics ,
288
288
MyriadProRegularFactors ,
289
- MyriadProRegularLineHeight ,
289
+ MyriadProRegularMetrics ,
290
290
} ;
0 commit comments