refactors Fonts and FontAttributes