updated font size handling