Install the .ttf file on mac and use this code below to find the exact font name.
NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]]; NSArray *fontNames; NSInteger indFamily, indFont; NSInteger fontsCount = [familyNames count]; for (indFamily = 0; indFamily < fontsCount; ++indFamily) { NSLog (@"Family name: %@", [familyNames objectAtIndex:indFamily]); fontNames = [[NSArray alloc] initWithArray:[UIFont fontNamesForFamilyName:[familyNames objectAtIndex:indFamily]]]; for (indFont = 0; indFont < [fontNames count]; ++indFont) { NSLog (@"Font name: %@", [fontNames objectAtIndex:indFont]); } }
Use the font name "SenticoSansDT Medium and Thin" printed in the journal.
source share