fonts/font_height_equalizer.g library

Constants

kAscentEmByFontFamily → const Map<String, double>
Ascent from the font's hhea table, in em. Flutter's line metrics use it.
kDescentEmByFontFamily → const Map<String, double>
Descent from the font's hhea table, in em, positive below the baseline.
kLatinInkAboveEmByFontFamily → const Map<String, double>
How far the Latin letter ink reaches above the baseline, in em: the largest over every weight and style.
kLatinInkBelowEmByFontFamily → const Map<String, double>
How far the Latin letter ink reaches below the baseline, in em, positive below it. Same families as kLatinInkAboveEmByFontFamily.
kRasterAveragePhraseCharacterAdvanceEmByFontFamily → const Map<String, double>
kRasterCapHeightEmByFontFamily → const Map<String, double>
kRasterLowercaseP60HeightEmByFontFamily → const Map<String, double>
kRasterPhraseHeightEmByFontFamily → const Map<String, double>
kRasterUppercaseMedianHeightEmByFontFamily → const Map<String, double>
kRasterVisualHeightEmByFontFamily → const Map<String, double>
kRasterXHeightEmByFontFamily → const Map<String, double>
kReferenceRasterAveragePhraseCharacterAdvanceEm → const double
kReferenceRasterCapHeightEm → const double
kReferenceRasterLowercaseP60HeightEm → const double
kReferenceRasterPhraseHeightEm → const double
kReferenceRasterUppercaseMedianHeightEm → const double
kReferenceRasterVisualHeightEm → const double
kReferenceRasterXHeightEm → const double
kReferenceVisualHeightFamily → const String
kVisualHeightAdvanceWeight → const double
kVisualHeightXWeight → const double

Functions

ascentEmForFontFamily(String? fontFamily) → double?
Ascent from the font's hhea table, in em, when known.
descentEmForFontFamily(String? fontFamily) → double?
Descent from the font's hhea table, in em, when known.
normalizeFontFamilyForFontMetrics(String fontFamily) → String
rasterAveragePhraseCharacterAdvanceEmForFontFamily(String? fontFamily) → double?
rasterCapHeightEmForFontFamily(String? fontFamily) → double?
rasterVisualHeightEmForFontFamily(String? fontFamily) → double?
rasterXHeightEmForFontFamily(String? fontFamily) → double?
Raw raster x-height for a font family, when known.
visualHeightScaleForFontFamily(String? fontFamily) → double
Scale for normal text-theme roles relative to the reference font.