I'd like to know why my bold font isn't bold in my app? I tried setting label in Interface Builder to System-Bold but the font didn't look bold. So I started investigating and found that the font the label was using was actually .HelveticaNeueInterface-MediumP4
with a weight of bold
. But it looks to be medium instead of bold. So I went and tried setting the font in code to bold using boldSystemFontOfSize:
and the font returned again was wrong.
So calling boldSystemFontOfSize will return a medium font.
NSLog(@"%@", [UIFont boldSystemFontOfSize:24]);
<UICTFont: 0x7f9ed0f4f380> font-family: ".HelveticaNeueInterface-MediumP4"; font-weight: bold; font-style: normal; font-size: 24.00pt
Is this a bug in UIFont? Or what is the problem here?