refactored font format for each view