Xcode 4 default fonts for Helvetica

My Xcode 4 runs on a brand new MacBook Pro. My problem is this: when you select fonts from the Mac OS font set, only a small part is displayed; the rest look like Helvetica. I don't have this problem in any other Apple apps or not. Here are the fonts that display correctly:

Arial, Arial Rounded, Baskerville, Cochin, Courier, Courier New, Futura, Georgia, Helvetica, Helvetica Neue, Marker Felt, Palatino, Times New Roman, Trebuchet MS, Verdana, Zapfino

Thanks in advance.

+3
source share
1 answer

Mine is xcode 4.2, and everything works fine. but if that doesn't work for you, an easy way is to call the font from your code.

//am using a font called "Ethiopic WashRa Bold
//Copy it to your resource folder and that is it
cell.textLabel.font = [UIFont fontWithName:@"Ethiopic WashRa Bold" size:14];
cell.textLabel.text = [object objectForKey:@"Title"];

cell.detailTextLabel.font = [UIFont fontWithName:@"Ethiopic WashRa Bold" size:10];
cell.detailTextLabel.text = [object objectForKey:@"Group"];

If your question is different, let me know so that I can better understand.

0
source

All Articles