Convert font sizes to percentages