Refactoring gui fonts