Updated how font size gets determined.