getMaxChars method
Implementation
int getMaxChars(FontSize fontSize) {
switch (fontSize) {
case FontSize.compressed:
return maxCharsCompressed;
case FontSize.normal:
return maxChars;
case FontSize.doubleWidth:
return maxChars ~/ 2;
case FontSize.big:
return maxChars ~/ 2;
default:
return maxChars;
}
}