This question is extremely similar to UILabel with custom font displays *wrong* custom font, except I need to use three fonts from this family simultaneously. I am using Myriad Pro, just like that question, but I need to use Bold, Semibold, and Regular.
Currently, when I try to use Bold via a macro defined as:
#define MYRIAD_BOLD(x) [UIFont fontWithName:@"MyriadPro-Bold" size:(x)]
..it gives me Semibold. If I remove Semibold from the plist entries for "Fonts provided by application" (as is the "answer" for the similar question linked above), Bold is correctly returned, but (obviously) Semibold is no longer usable.
Any ideas as to why I would (seemingly) be limited to two custom fonts at once? (from the same family, at least?)
BTW, here is the NSLog output for [UIFont fontNamesForFamilyName:@"Myriad Pro"]
:
Myriad Pro font names: (
"MyriadPro-Semibold",
"MyriadPro-Regular",
"MyriadPro-Bold"
)
Thanks!