set font size based on resolution