scaled font size according to max and min font sizes