cocos2d-x 添加自定义字体---中文,英文
1: 找到字体 xxx.ttf
2: 在xcode工程的 Info.plist文件中添加key
Fonts provided by application, 或者 UIAppFonts(raw key)
value写xxx.ttf
3: 使用代码
CCLabelTTF* chnTLabel = CCLabelTTF::create(wordsStr->getCString(), xxx.ttf, 30);
PS:
字体文件的"文件名"很多时候不是真实的 "字体名", 这样是无法使用的.
要找出真实的"字体名"才行.
方法: 比较在 Info.plist添加字体前后的区别, 来辨别添加了哪些字体.(如果有更好的方法请留言).
- (void)listFonts {NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]];NSArray *fontNames;NSInteger indFamily, indFont;for (indFamily=0; indFamily<[familyNames count]; ++indFamily){NSLog(@"Family name: %@", [familyNames objectAtIndex:indFamily]);fontNames = [[NSArray alloc] initWithArray:[UIFont fontNamesForFamilyName:[familyNames objectAtIndex:indFamily]]];for (indFont=0; indFont<[fontNames count]; ++indFont){NSLog(@" Font name: %@", [fontNames objectAtIndex:indFont]);}[fontNames release];}[familyNames release]; }
打印结果:
2013-09-05 11:13:25.011 TestChnFonts[2188:c07] Family name: Thonburi 2013-09-05 11:13:25.012 TestChnFonts[2188:c07] Font name: Thonburi-Bold 2013-09-05 11:13:25.013 TestChnFonts[2188:c07] Font name: Thonburi 2013-09-05 11:13:25.013 TestChnFonts[2188:c07] Family name: Snell Roundhand 2013-09-05 11:13:25.013 TestChnFonts[2188:c07] Font name: SnellRoundhand-Bold 2013-09-05 11:13:25.014 TestChnFonts[2188:c07] Font name: SnellRoundhand-Black 2013-09-05 11:13:25.014 TestChnFonts[2188:c07] Font name: SnellRoundhand 2013-09-05 11:13:25.015 TestChnFonts[2188:c07] Family name: Academy Engraved LET 2013-09-05 11:13:25.015 TestChnFonts[2188:c07] Font name: AcademyEngravedLetPlain 2013-09-05 11:13:25.016 TestChnFonts[2188:c07] Family name: Avenir 2013-09-05 11:13:25.016 TestChnFonts[2188:c07] Font name: Avenir-LightOblique 2013-09-05 11:13:25.016 TestChnFonts[2188:c07] Font name: Avenir-MediumOblique 2013-09-05 11:13:25.017 TestChnFonts[2188:c07] Font name: Avenir-Medium 2013-09-05 11:13:25.017 TestChnFonts[2188:c07] Font name: Avenir-HeavyOblique 2013-09-05 11:13:25.018 TestChnFonts[2188:c07] Font name: Avenir-BlackOblique 2013-09-05 11:13:25.018 TestChnFonts[2188:c07] Font name: Avenir-Oblique 2013-09-05 11:13:25.019 TestChnFonts[2188:c07] Font name: Avenir-Book 2013-09-05 11:13:25.019 TestChnFonts[2188:c07] Font name: Avenir-Roman 2013-09-05 11:13:25.019 TestChnFonts[2188:c07] Font name: Avenir-BookOblique 2013-09-05 11:13:25.020 TestChnFonts[2188:c07] Font name: Avenir-Light 2013-09-05 11:13:25.020 TestChnFonts[2188:c07] Font name: Avenir-Heavy 2013-09-05 11:13:25.021 TestChnFonts[2188:c07] Font name: Avenir-Black 2013-09-05 11:13:25.021 TestChnFonts[2188:c07] Family name: Marker Felt 2013-09-05 11:13:25.022 TestChnFonts[2188:c07] Font name: MarkerFelt-Wide 2013-09-05 11:13:25.022 TestChnFonts[2188:c07] Font name: MarkerFelt-Thin 2013-09-05 11:13:25.022 TestChnFonts[2188:c07] Family name: Geeza Pro 2013-09-05 11:13:25.023 TestChnFonts[2188:c07] Font name: GeezaPro-Bold 2013-09-05 11:13:25.023 TestChnFonts[2188:c07] Font name: GeezaPro 2013-09-05 11:13:25.024 TestChnFonts[2188:c07] Family name: Arial Rounded MT Bold 2013-09-05 11:13:25.024 TestChnFonts[2188:c07] Font name: ArialRoundedMTBold 2013-09-05 11:13:25.025 TestChnFonts[2188:c07] Family name: Trebuchet MS 2013-09-05 11:13:25.025 TestChnFonts[2188:c07] Font name: TrebuchetMS 2013-09-05 11:13:25.026 TestChnFonts[2188:c07] Font name: TrebuchetMS-Bold 2013-09-05 11:13:25.026 TestChnFonts[2188:c07] Font name: TrebuchetMS-Italic 2013-09-05 11:13:25.027 TestChnFonts[2188:c07] Font name: Trebuchet-BoldItalic 2013-09-05 11:13:25.027 TestChnFonts[2188:c07] Family name: Arial 2013-09-05 11:13:25.028 TestChnFonts[2188:c07] Font name: Arial-BoldMT 2013-09-05 11:13:25.028 TestChnFonts[2188:c07] Font name: ArialMT 2013-09-05 11:13:25.028 TestChnFonts[2188:c07] Font name: Arial-ItalicMT 2013-09-05 11:13:25.029 TestChnFonts[2188:c07] Font name: Arial-BoldItalicMT 2013-09-05 11:13:25.029 TestChnFonts[2188:c07] Family name: Marion 2013-09-05 11:13:25.030 TestChnFonts[2188:c07] Font name: Marion-Regular 2013-09-05 11:13:25.030 TestChnFonts[2188:c07] Font name: Marion-Bold 2013-09-05 11:13:25.031 TestChnFonts[2188:c07] Font name: Marion-Italic 2013-09-05 11:13:25.031 TestChnFonts[2188:c07] Family name: Gurmukhi MN 2013-09-05 11:13:25.031 TestChnFonts[2188:c07] Font name: GurmukhiMN 2013-09-05 11:13:25.032 TestChnFonts[2188:c07] Font name: GurmukhiMN-Bold 2013-09-05 11:13:25.033 TestChnFonts[2188:c07] Family name: Malayalam Sangam MN 2013-09-05 11:13:25.033 TestChnFonts[2188:c07] Font name: MalayalamSangamMN-Bold 2013-09-05 11:13:25.034 TestChnFonts[2188:c07] Font name: MalayalamSangamMN 2013-09-05 11:13:25.034 TestChnFonts[2188:c07] Family name: Bradley Hand 2013-09-05 11:13:25.035 TestChnFonts[2188:c07] Font name: BradleyHandITCTT-Bold 2013-09-05 11:13:25.035 TestChnFonts[2188:c07] Family name: Kannada Sangam MN 2013-09-05 11:13:25.036 TestChnFonts[2188:c07] Font name: KannadaSangamMN 2013-09-05 11:13:25.036 TestChnFonts[2188:c07] Font name: KannadaSangamMN-Bold 2013-09-05 11:13:25.037 TestChnFonts[2188:c07] Family name: Bodoni 72 Oldstyle 2013-09-05 11:13:25.037 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoOSITCTT-Book 2013-09-05 11:13:25.038 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoOSITCTT-Bold 2013-09-05 11:13:25.038 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoOSITCTT-BookIt 2013-09-05 11:13:25.039 TestChnFonts[2188:c07] Family name: A Damn Mess 2013-09-05 11:13:25.039 TestChnFonts[2188:c07] Font name: A_Damn_Mess 2013-09-05 11:13:25.039 TestChnFonts[2188:c07] Family name: Cochin 2013-09-05 11:13:25.040 TestChnFonts[2188:c07] Font name: Cochin 2013-09-05 11:13:25.040 TestChnFonts[2188:c07] Font name: Cochin-BoldItalic 2013-09-05 11:13:25.041 TestChnFonts[2188:c07] Font name: Cochin-Italic 2013-09-05 11:13:25.041 TestChnFonts[2188:c07] Font name: Cochin-Bold 2013-09-05 11:13:25.042 TestChnFonts[2188:c07] Family name: Sinhala Sangam MN 2013-09-05 11:13:25.042 TestChnFonts[2188:c07] Font name: SinhalaSangamMN 2013-09-05 11:13:25.043 TestChnFonts[2188:c07] Font name: SinhalaSangamMN-Bold 2013-09-05 11:13:25.043 TestChnFonts[2188:c07] Family name: Hiragino Kaku Gothic ProN 2013-09-05 11:13:25.043 TestChnFonts[2188:c07] Font name: HiraKakuProN-W6 2013-09-05 11:13:25.044 TestChnFonts[2188:c07] Font name: HiraKakuProN-W3 2013-09-05 11:13:25.044 TestChnFonts[2188:c07] Family name: Papyrus 2013-09-05 11:13:25.045 TestChnFonts[2188:c07] Font name: Papyrus-Condensed 2013-09-05 11:13:25.045 TestChnFonts[2188:c07] Font name: Papyrus 2013-09-05 11:13:25.046 TestChnFonts[2188:c07] Family name: Verdana 2013-09-05 11:13:25.046 TestChnFonts[2188:c07] Font name: Verdana 2013-09-05 11:13:25.047 TestChnFonts[2188:c07] Font name: Verdana-Bold 2013-09-05 11:13:25.047 TestChnFonts[2188:c07] Font name: Verdana-BoldItalic 2013-09-05 11:13:25.048 TestChnFonts[2188:c07] Font name: Verdana-Italic 2013-09-05 11:13:25.048 TestChnFonts[2188:c07] Family name: Zapf Dingbats 2013-09-05 11:13:25.049 TestChnFonts[2188:c07] Font name: ZapfDingbatsITC 2013-09-05 11:13:25.049 TestChnFonts[2188:c07] Family name: Avenir Next Condensed 2013-09-05 11:13:25.050 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-HeavyItalic 2013-09-05 11:13:25.050 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-DemiBold 2013-09-05 11:13:25.051 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-Italic 2013-09-05 11:13:25.051 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-Heavy 2013-09-05 11:13:25.051 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-DemiBoldItalic 2013-09-05 11:13:25.052 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-Medium 2013-09-05 11:13:25.052 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-BoldItalic 2013-09-05 11:13:25.053 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-Bold 2013-09-05 11:13:25.053 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-UltraLightItalic 2013-09-05 11:13:25.054 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-UltraLight 2013-09-05 11:13:25.054 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-MediumItalic 2013-09-05 11:13:25.054 TestChnFonts[2188:c07] Font name: AvenirNextCondensed-Regular 2013-09-05 11:13:25.055 TestChnFonts[2188:c07] Family name: Courier 2013-09-05 11:13:25.056 TestChnFonts[2188:c07] Font name: Courier-Bold 2013-09-05 11:13:25.056 TestChnFonts[2188:c07] Font name: Courier 2013-09-05 11:13:25.056 TestChnFonts[2188:c07] Font name: Courier-BoldOblique 2013-09-05 11:13:25.057 TestChnFonts[2188:c07] Font name: Courier-Oblique 2013-09-05 11:13:25.057 TestChnFonts[2188:c07] Family name: Hoefler Text 2013-09-05 11:13:25.058 TestChnFonts[2188:c07] Font name: HoeflerText-Black 2013-09-05 11:13:25.058 TestChnFonts[2188:c07] Font name: HoeflerText-Italic 2013-09-05 11:13:25.059 TestChnFonts[2188:c07] Font name: HoeflerText-Regular 2013-09-05 11:13:25.059 TestChnFonts[2188:c07] Font name: HoeflerText-BlackItalic 2013-09-05 11:13:25.060 TestChnFonts[2188:c07] Family name: Helvetica 2013-09-05 11:13:25.060 TestChnFonts[2188:c07] Font name: Helvetica-LightOblique 2013-09-05 11:13:25.060 TestChnFonts[2188:c07] Font name: Helvetica 2013-09-05 11:13:25.061 TestChnFonts[2188:c07] Font name: Helvetica-Oblique 2013-09-05 11:13:25.061 TestChnFonts[2188:c07] Font name: Helvetica-BoldOblique 2013-09-05 11:13:25.062 TestChnFonts[2188:c07] Font name: Helvetica-Bold 2013-09-05 11:13:25.062 TestChnFonts[2188:c07] Font name: Helvetica-Light 2013-09-05 11:13:25.063 TestChnFonts[2188:c07] Family name: Euphemia UCAS 2013-09-05 11:13:25.063 TestChnFonts[2188:c07] Font name: EuphemiaUCAS-Bold 2013-09-05 11:13:25.064 TestChnFonts[2188:c07] Font name: EuphemiaUCAS 2013-09-05 11:13:25.064 TestChnFonts[2188:c07] Font name: EuphemiaUCAS-Italic 2013-09-05 11:13:25.064 TestChnFonts[2188:c07] Family name: STKaiti 2013-09-05 11:13:25.065 TestChnFonts[2188:c07] Font name: STKaiti 2013-09-05 11:13:25.066 TestChnFonts[2188:c07] Family name: Hiragino Mincho ProN 2013-09-05 11:13:25.066 TestChnFonts[2188:c07] Font name: HiraMinProN-W3 2013-09-05 11:13:25.066 TestChnFonts[2188:c07] Font name: HiraMinProN-W6 2013-09-05 11:13:25.067 TestChnFonts[2188:c07] Family name: Bodoni Ornaments 2013-09-05 11:13:25.067 TestChnFonts[2188:c07] Font name: BodoniOrnamentsITCTT 2013-09-05 11:13:25.068 TestChnFonts[2188:c07] Family name: Apple Color Emoji 2013-09-05 11:13:25.068 TestChnFonts[2188:c07] Font name: AppleColorEmoji 2013-09-05 11:13:25.069 TestChnFonts[2188:c07] Family name: Optima 2013-09-05 11:13:25.069 TestChnFonts[2188:c07] Font name: Optima-ExtraBlack 2013-09-05 11:13:25.069 TestChnFonts[2188:c07] Font name: Optima-Italic 2013-09-05 11:13:25.070 TestChnFonts[2188:c07] Font name: Optima-Regular 2013-09-05 11:13:25.070 TestChnFonts[2188:c07] Font name: Optima-BoldItalic 2013-09-05 11:13:25.071 TestChnFonts[2188:c07] Font name: Optima-Bold 2013-09-05 11:13:25.071 TestChnFonts[2188:c07] Family name: Gujarati Sangam MN 2013-09-05 11:13:25.072 TestChnFonts[2188:c07] Font name: GujaratiSangamMN 2013-09-05 11:13:25.072 TestChnFonts[2188:c07] Font name: GujaratiSangamMN-Bold 2013-09-05 11:13:25.094 TestChnFonts[2188:c07] Family name: Devanagari Sangam MN 2013-09-05 11:13:25.095 TestChnFonts[2188:c07] Font name: DevanagariSangamMN 2013-09-05 11:13:25.095 TestChnFonts[2188:c07] Font name: DevanagariSangamMN-Bold 2013-09-05 11:13:25.096 TestChnFonts[2188:c07] Family name: Times New Roman 2013-09-05 11:13:25.097 TestChnFonts[2188:c07] Font name: TimesNewRomanPS-ItalicMT 2013-09-05 11:13:25.097 TestChnFonts[2188:c07] Font name: TimesNewRomanPS-BoldMT 2013-09-05 11:13:25.099 TestChnFonts[2188:c07] Font name: TimesNewRomanPSMT 2013-09-05 11:13:25.100 TestChnFonts[2188:c07] Font name: TimesNewRomanPS-BoldItalicMT 2013-09-05 11:13:25.101 TestChnFonts[2188:c07] Family name: Kailasa 2013-09-05 11:13:25.102 TestChnFonts[2188:c07] Font name: Kailasa 2013-09-05 11:13:25.103 TestChnFonts[2188:c07] Font name: Kailasa-Bold 2013-09-05 11:13:25.103 TestChnFonts[2188:c07] Family name: Telugu Sangam MN 2013-09-05 11:13:25.104 TestChnFonts[2188:c07] Font name: TeluguSangamMN-Bold 2013-09-05 11:13:25.105 TestChnFonts[2188:c07] Font name: TeluguSangamMN 2013-09-05 11:13:25.106 TestChnFonts[2188:c07] Family name: Heiti SC 2013-09-05 11:13:25.106 TestChnFonts[2188:c07] Font name: STHeitiSC-Medium 2013-09-05 11:13:25.107 TestChnFonts[2188:c07] Font name: STHeitiSC-Light 2013-09-05 11:13:25.108 TestChnFonts[2188:c07] Family name: Apple SD Gothic Neo 2013-09-05 11:13:25.109 TestChnFonts[2188:c07] Font name: AppleSDGothicNeo-Bold 2013-09-05 11:13:25.109 TestChnFonts[2188:c07] Font name: AppleSDGothicNeo-Medium 2013-09-05 11:13:25.110 TestChnFonts[2188:c07] Family name: Futura 2013-09-05 11:13:25.111 TestChnFonts[2188:c07] Font name: Futura-Medium 2013-09-05 11:13:25.112 TestChnFonts[2188:c07] Font name: Futura-CondensedExtraBold 2013-09-05 11:13:25.112 TestChnFonts[2188:c07] Font name: Futura-CondensedMedium 2013-09-05 11:13:25.113 TestChnFonts[2188:c07] Font name: Futura-MediumItalic 2013-09-05 11:13:25.114 TestChnFonts[2188:c07] Family name: Bodoni 72 2013-09-05 11:13:25.114 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoITCTT-BookIta 2013-09-05 11:13:25.116 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoITCTT-Book 2013-09-05 11:13:25.117 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoITCTT-Bold 2013-09-05 11:13:25.117 TestChnFonts[2188:c07] Family name: Baskerville 2013-09-05 11:13:25.118 TestChnFonts[2188:c07] Font name: Baskerville-SemiBoldItalic 2013-09-05 11:13:25.118 TestChnFonts[2188:c07] Font name: Baskerville-Bold 2013-09-05 11:13:25.119 TestChnFonts[2188:c07] Font name: Baskerville-Italic 2013-09-05 11:13:25.119 TestChnFonts[2188:c07] Font name: Baskerville-BoldItalic 2013-09-05 11:13:25.119 TestChnFonts[2188:c07] Font name: Baskerville-SemiBold 2013-09-05 11:13:25.120 TestChnFonts[2188:c07] Font name: Baskerville 2013-09-05 11:13:25.120 TestChnFonts[2188:c07] Family name: Chalkboard SE 2013-09-05 11:13:25.121 TestChnFonts[2188:c07] Font name: ChalkboardSE-Regular 2013-09-05 11:13:25.121 TestChnFonts[2188:c07] Font name: ChalkboardSE-Bold 2013-09-05 11:13:25.121 TestChnFonts[2188:c07] Font name: ChalkboardSE-Light 2013-09-05 11:13:25.122 TestChnFonts[2188:c07] Family name: Heiti TC 2013-09-05 11:13:25.130 TestChnFonts[2188:c07] Font name: STHeitiTC-Medium 2013-09-05 11:13:25.131 TestChnFonts[2188:c07] Font name: STHeitiTC-Light 2013-09-05 11:13:25.132 TestChnFonts[2188:c07] Family name: Copperplate 2013-09-05 11:13:25.132 TestChnFonts[2188:c07] Font name: Copperplate 2013-09-05 11:13:25.133 TestChnFonts[2188:c07] Font name: Copperplate-Light 2013-09-05 11:13:25.133 TestChnFonts[2188:c07] Font name: Copperplate-Bold 2013-09-05 11:13:25.134 TestChnFonts[2188:c07] Family name: Party LET 2013-09-05 11:13:25.135 TestChnFonts[2188:c07] Font name: PartyLetPlain 2013-09-05 11:13:25.135 TestChnFonts[2188:c07] Family name: American Typewriter 2013-09-05 11:13:25.135 TestChnFonts[2188:c07] Font name: AmericanTypewriter-CondensedLight 2013-09-05 11:13:25.136 TestChnFonts[2188:c07] Font name: AmericanTypewriter-Light 2013-09-05 11:13:25.136 TestChnFonts[2188:c07] Font name: AmericanTypewriter-Bold 2013-09-05 11:13:25.136 TestChnFonts[2188:c07] Font name: AmericanTypewriter 2013-09-05 11:13:25.137 TestChnFonts[2188:c07] Font name: AmericanTypewriter-CondensedBold 2013-09-05 11:13:25.137 TestChnFonts[2188:c07] Font name: AmericanTypewriter-Condensed 2013-09-05 11:13:25.138 TestChnFonts[2188:c07] Family name: Symbol 2013-09-05 11:13:25.138 TestChnFonts[2188:c07] Font name: Symbol 2013-09-05 11:13:25.139 TestChnFonts[2188:c07] Family name: Avenir Next 2013-09-05 11:13:25.139 TestChnFonts[2188:c07] Font name: AvenirNext-Heavy 2013-09-05 11:13:25.140 TestChnFonts[2188:c07] Font name: AvenirNext-DemiBoldItalic 2013-09-05 11:13:25.140 TestChnFonts[2188:c07] Font name: AvenirNext-UltraLightItalic 2013-09-05 11:13:25.140 TestChnFonts[2188:c07] Font name: AvenirNext-HeavyItalic 2013-09-05 11:13:25.141 TestChnFonts[2188:c07] Font name: AvenirNext-MediumItalic 2013-09-05 11:13:25.141 TestChnFonts[2188:c07] Font name: AvenirNext-UltraLight 2013-09-05 11:13:25.142 TestChnFonts[2188:c07] Font name: AvenirNext-BoldItalic 2013-09-05 11:13:25.142 TestChnFonts[2188:c07] Font name: AvenirNext-DemiBold 2013-09-05 11:13:25.143 TestChnFonts[2188:c07] Font name: AvenirNext-Bold 2013-09-05 11:13:25.143 TestChnFonts[2188:c07] Font name: AvenirNext-Regular 2013-09-05 11:13:25.144 TestChnFonts[2188:c07] Font name: AvenirNext-Medium 2013-09-05 11:13:25.144 TestChnFonts[2188:c07] Font name: AvenirNext-Italic 2013-09-05 11:13:25.145 TestChnFonts[2188:c07] Family name: Noteworthy 2013-09-05 11:13:25.145 TestChnFonts[2188:c07] Font name: Noteworthy-Light 2013-09-05 11:13:25.145 TestChnFonts[2188:c07] Font name: Noteworthy-Bold 2013-09-05 11:13:25.146 TestChnFonts[2188:c07] Family name: Bangla Sangam MN 2013-09-05 11:13:25.146 TestChnFonts[2188:c07] Font name: BanglaSangamMN-Bold 2013-09-05 11:13:25.147 TestChnFonts[2188:c07] Font name: BanglaSangamMN 2013-09-05 11:13:25.147 TestChnFonts[2188:c07] Family name: Zapfino 2013-09-05 11:13:25.147 TestChnFonts[2188:c07] Font name: Zapfino 2013-09-05 11:13:25.148 TestChnFonts[2188:c07] Family name: Tamil Sangam MN 2013-09-05 11:13:25.148 TestChnFonts[2188:c07] Font name: TamilSangamMN 2013-09-05 11:13:25.149 TestChnFonts[2188:c07] Font name: TamilSangamMN-Bold 2013-09-05 11:13:25.149 TestChnFonts[2188:c07] Family name: Chalkduster 2013-09-05 11:13:25.150 TestChnFonts[2188:c07] Font name: Chalkduster 2013-09-05 11:13:25.164 TestChnFonts[2188:c07] Family name: Arial Hebrew 2013-09-05 11:13:25.164 TestChnFonts[2188:c07] Font name: ArialHebrew 2013-09-05 11:13:25.165 TestChnFonts[2188:c07] Font name: ArialHebrew-Bold 2013-09-05 11:13:25.166 TestChnFonts[2188:c07] Family name: Georgia 2013-09-05 11:13:25.166 TestChnFonts[2188:c07] Font name: Georgia-Italic 2013-09-05 11:13:25.167 TestChnFonts[2188:c07] Font name: Georgia-BoldItalic 2013-09-05 11:13:25.167 TestChnFonts[2188:c07] Font name: Georgia-Bold 2013-09-05 11:13:25.168 TestChnFonts[2188:c07] Font name: Georgia 2013-09-05 11:13:25.168 TestChnFonts[2188:c07] Family name: Helvetica Neue 2013-09-05 11:13:25.169 TestChnFonts[2188:c07] Font name: HelveticaNeue-Bold 2013-09-05 11:13:25.169 TestChnFonts[2188:c07] Font name: HelveticaNeue-CondensedBlack 2013-09-05 11:13:25.170 TestChnFonts[2188:c07] Font name: HelveticaNeue-Medium 2013-09-05 11:13:25.170 TestChnFonts[2188:c07] Font name: HelveticaNeue 2013-09-05 11:13:25.171 TestChnFonts[2188:c07] Font name: HelveticaNeue-Light 2013-09-05 11:13:25.171 TestChnFonts[2188:c07] Font name: HelveticaNeue-CondensedBold 2013-09-05 11:13:25.172 TestChnFonts[2188:c07] Font name: HelveticaNeue-LightItalic 2013-09-05 11:13:25.172 TestChnFonts[2188:c07] Font name: HelveticaNeue-UltraLightItalic 2013-09-05 11:13:25.172 TestChnFonts[2188:c07] Font name: HelveticaNeue-UltraLight 2013-09-05 11:13:25.173 TestChnFonts[2188:c07] Font name: HelveticaNeue-BoldItalic 2013-09-05 11:13:25.173 TestChnFonts[2188:c07] Font name: HelveticaNeue-Italic 2013-09-05 11:13:25.174 TestChnFonts[2188:c07] Family name: Gill Sans 2013-09-05 11:13:25.174 TestChnFonts[2188:c07] Font name: GillSans-LightItalic 2013-09-05 11:13:25.175 TestChnFonts[2188:c07] Font name: GillSans-BoldItalic 2013-09-05 11:13:25.175 TestChnFonts[2188:c07] Font name: GillSans-Italic 2013-09-05 11:13:25.176 TestChnFonts[2188:c07] Font name: GillSans 2013-09-05 11:13:25.176 TestChnFonts[2188:c07] Font name: GillSans-Bold 2013-09-05 11:13:25.177 TestChnFonts[2188:c07] Font name: GillSans-Light 2013-09-05 11:13:25.177 TestChnFonts[2188:c07] Family name: Palatino 2013-09-05 11:13:25.178 TestChnFonts[2188:c07] Font name: Palatino-Roman 2013-09-05 11:13:25.178 TestChnFonts[2188:c07] Font name: Palatino-Bold 2013-09-05 11:13:25.178 TestChnFonts[2188:c07] Font name: Palatino-BoldItalic 2013-09-05 11:13:25.179 TestChnFonts[2188:c07] Font name: Palatino-Italic 2013-09-05 11:13:25.179 TestChnFonts[2188:c07] Family name: Courier New 2013-09-05 11:13:25.180 TestChnFonts[2188:c07] Font name: CourierNewPS-BoldMT 2013-09-05 11:13:25.180 TestChnFonts[2188:c07] Font name: CourierNewPSMT 2013-09-05 11:13:25.181 TestChnFonts[2188:c07] Font name: CourierNewPS-BoldItalicMT 2013-09-05 11:13:25.181 TestChnFonts[2188:c07] Font name: CourierNewPS-ItalicMT 2013-09-05 11:13:25.181 TestChnFonts[2188:c07] Family name: Oriya Sangam MN 2013-09-05 11:13:25.182 TestChnFonts[2188:c07] Font name: OriyaSangamMN-Bold 2013-09-05 11:13:25.182 TestChnFonts[2188:c07] Font name: OriyaSangamMN 2013-09-05 11:13:25.183 TestChnFonts[2188:c07] Family name: Didot 2013-09-05 11:13:25.183 TestChnFonts[2188:c07] Font name: Didot-Italic 2013-09-05 11:13:25.184 TestChnFonts[2188:c07] Font name: Didot 2013-09-05 11:13:25.184 TestChnFonts[2188:c07] Font name: Didot-Bold 2013-09-05 11:13:25.185 TestChnFonts[2188:c07] Family name: Bodoni 72 Smallcaps 2013-09-05 11:13:25.186 TestChnFonts[2188:c07] Font name: BodoniSvtyTwoSCITCTT-Book
转载于:https://www.cnblogs.com/willbin/p/3303577.html
cocos2d-x 添加自定义字体---中文,英文相关推荐
- HTML,CSS,font-family:中文字体的英文名称
HTML,CSS,font-family:中文字体的英文名称 宋体 SimSun 黑体 SimHei 微软雅黑 Microsoft YaHei 微软正黑体 Microsoft JhengHei 新宋体 ...
- css的中文名称是,CSS 中文字体的英文名称
宋体 SimSun 黑体 SimHei 微软雅黑 Microsoft YaHei 微软正黑体 Microsoft JhengHei 新宋体 NSimSun 新细明体 PMingLiU 细明体 Ming ...
- 【CSS】CSS font-family:中文字体的英文名称
本文转自网络,找不到原地址了,在这里保留了作者名. font-family:中文字体的英文名称 ellisontang 发表于2011-07-15 16:33 宋体* SimSun 黑体* SimHe ...
- css常用中文字体的英文名称写法
我们知道网页中使用中文字体最好用其对应的英文名称,这样可以避免出现编码问题导致样式中的中文名称出现乱码,从而不识别.下面是网页中常用的中文字体所对应的英文名称.留着,不用翻资料了 中文 英文 宋体 S ...
- CSS常用中文字体的英文名称对照表
CSS常用中文字体的英文名称对照表如下: Windows自带的字体 新细明体:PMingLiU 细明体:MingLiU 标楷体:DFKai-SB 黑体:SimHei 宋体:SimSun 新宋体:NSi ...
- windows自带黑体_Windows中文字体与英文名称对照表
一 般情况下,编写中文网页时,CSS编写者往往会将样式表中的中文字体名称直接写成中文,这也没有什么不对的,但是,有时候,我们会看到中文字体名称变成了 一堆乱码.这往往是将CSS文件重新上传到服务器或者 ...
- linux桌面字体改中文,英文界面Ubuntu,修改界面默认雅黑字体
1.对于默认使用中文字体的问题: 用Ubuntu 的英文界面的朋友,进入系统后字体是Bitmap, 在evolution中收中文邮件时,新邮件里的中文乱码. 一定是字体出了问题,检查后发现在切换到英文 ...
- CSS中几种中文字体的英文写法.
网页前端开发制作中经常我们需要用一些像微软雅黑,宋体等中文字体的情况,一般我们直接使用font-family:"微软雅黑"这样的写法,;以前还真没发现这有什么问题,直到今天折磨一上 ...
- python中的字体英文名_获取中文字体的英文名字
(方法在分割线后面,前面叙事) 今天用了很久电脑,突然就觉得看着Windows下Chrome的字体觉得很不舒服,跟Mac下的差太远了,于是就开始折腾怎么设置浏览器字体. 先讲一下流程,我的操作方案是: ...
最新文章
- 大环境下瑟瑟发抖辞职的第二天,拿了两个 offer
- 爬虫实现csdn文章一键(批量)更换阅读类型(全部可见、粉丝可见、vip可见)
- SAP WebIDE 里 UI5 应用的隐藏文件 project.json
- PCA和线性回归之间的关系如何?
- 台达杯自动化大赛设计方案
- 我通过了 Google 技术面试,所以你也能行!
- 差分约束系统 POJ 3169 Layout
- 基于FPGA的SDRAM控制器设计(一)----------SDRAM初始化
- 活字格企业Web应用生成器V3.0发布更新,支持插件管理和多人协作开发
- inputBox 与 Application.inputBox 的用法与区别。
- 使 div 水平 垂直 居中
- SpringCloud(三 Eureka集群配置)
- Pytorch optimizer.step() 和loss.backward()和scheduler.step()的关系与区别
- 人工智能 自动化测试_测试中的AI:第三波自动化
- java的发展历史 现状
- Matlab批量读取包含数字、字符文件
- 公司电脑usb被禁用,如何重新启用usb功能?
- [Rails应用实战]WebChat的敏捷开发
- 555定时器的基本原理和应用案例
- JAVA AES加密解密工具类