for (NSString *fontfamilyname in [UIFont familyNames])
{
NSLog(@"familyName:\'%@\'",fontfamilyname);
for(NSString *fontName in [UIFont fontNamesForFamilyName:fontfamilyname])
{
NSLog(@" fontName:\'%@\'",fontName);
}
NSLog(@"***********");
}
UILabel *label = [[UILabel alloc] init];
label.frame = CGRectMake(30, 100, 240, 100);
label.text = @"12345Search the world\'s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you\'re looking";
label.font = [UIFont fontWithName:@"RevolutionGothic-Bold" size:13];
label.numberOfLines = 0;
[self.view addSubview:label];
label = [[UILabel alloc] init];
label.frame = CGRectMake(30, 220, 240, 100);
label.text = @"12345Search the world\'s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you\'re looking";
label.font = [UIFont fontWithName:@"UTM-HelvetIns" size:13];
label.numberOfLines = 0;
[self.view addSubview:label];
label = [[UILabel alloc] init];
label.frame = CGRectMake(30, 340, 240, 100);
label.text = @"Search the world\'s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you\'re looking";
label.numberOfLines = 0;
label.font = [UIFont systemFontOfSize:13];
[self.view addSubview:label];