iOS 打印系统字体

1     NSArray * array = [UIFont familyNames];
2     
3     for( NSString *familyName in array ){
4         printf( "Family: %s \n", [familyName UTF8String] );
5         NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];
6         for( NSString *fontName in fontNames ){
7             printf( "\tFont: %s \n", [fontName UTF8String] );
8         }
9     }

 

posted @ 2017-07-21 14:29  _MengXY_  阅读(439)  评论(0编辑  收藏  举报