refactoring fonts