Gotham is the new default font.

This commit is contained in:
Samuel Clay 2017-04-11 17:36:10 -07:00
parent 032ed2631b
commit 95ed6c55a6
3 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@
NSString *fontStyle = [[NSUserDefaults standardUserDefaults] stringForKey:@"fontStyle"];
if (!fontStyle) {
fontStyle = @"NB-helvetica";
fontStyle = @"GothamNarrow-Book";
}
if ([font[@"style"] isEqualToString:fontStyle]) {

View file

@ -276,7 +276,7 @@
} else if (indexPath.row == 5) {
NSString *fontStyle = [[NSUserDefaults standardUserDefaults] stringForKey:@"fontStyle"];
if (!fontStyle) {
fontStyle = @"NB-helvetica";
fontStyle = @"GothamNarrow-Book";
}
NSUInteger idx = [self.fonts indexOfObjectPassingTest:^BOOL(NSDictionary *obj, NSUInteger idx, BOOL * _Nonnull stop) {
return [obj[@"style"] isEqualToString:fontStyle];

View file

@ -375,7 +375,7 @@
fontStyleClass = [userPreferences stringForKey:@"fontStyle"];
if (!fontStyleClass) {
fontStyleClass = @"NB-helvetica";
fontStyleClass = @"GothamNarrow-Book";
}
fontSizeClass = [fontSizeClass stringByAppendingString:[userPreferences stringForKey:@"story_font_size"]];