fix font size, merge styles from the JSON