Which non-bold UTF-8 iPhone SDK font can I use here?
Problem: I create a UILabel with this font:
label.font = [UIFont systemFontOfSize:15.0f];
Now this system font is bold, but I want to display pretty small text, and the text may also contain very strange UTF-8 characters like chinese chars and stuff like that.
So which other fonts are ther开发者_运维百科e to use safely, which are NOT bold and suitful to display in small size?
Check out this list and choose the one that you like.
Also, you may want to take a look at this article, it discusses a method of finding all the fonts that are currently installed on the device. As far as I know, systemFontOfSize
will not return a bold font, boldSystemFontOfSize
will. Anyway, you may try [UIFont fontWithName:@"Verdana" size:14.0]
, I think it's pretty easy to read and not bold.
精彩评论