fonts/optical_font_size library

Functions

iconSizeFor(TextStyle style) → double
Icon size that matches the letters of style in every font: the requestedFontSize of style.
opticallyMatchedFontSize({required double referenceFontSize, required String? referenceFontFamily, required String? fontFamily}) → double
Font size at which fontFamily looks as large as referenceFontFamily does at referenceFontSize.
requestedFontSize(TextStyle style) → double
The font size of style before libmonet's size equalizer scaled it.