fontSize method

double fontSize()

Calculates the actual font size, taking into account the relative size and the maximum size.

Implementation

double fontSize() {
  return min(ip(fontSizeRelativeToScreen), maxFontSize);
}