Updated text formatting after changing font