iOS 所有的系统字体列表
获取环境 : 真机 iPhone7 版本:12.1(16B92)
1. 字体列表
familyNames | fontNames |
Copperplate | Copperplate 家族字体如下 |
- | Copperplate-Light |
- | Copperplate |
- | Copperplate-Bold |
Heiti SC | Heiti SC 家族字体如下 |
Apple SD Gothic Neo | Apple SD Gothic Neo 家族字体如下 |
- | AppleSDGothicNeo-Thin |
- | AppleSDGothicNeo-Light |
- | AppleSDGothicNeo-Regular |
- | AppleSDGothicNeo-Bold |
- | AppleSDGothicNeo-SemiBold |
- | AppleSDGothicNeo-UltraLight |
- | AppleSDGothicNeo-Medium |
Thonburi | Thonburi 家族字体如下 |
- | Thonburi |
- | Thonburi-Light |
- | Thonburi-Bold |
Gill Sans | Gill Sans 家族字体如下 |
- | GillSans-Italic |
- | GillSans-SemiBold |
- | GillSans-UltraBold |
- | GillSans-Light |
- | GillSans-Bold |
- | GillSans |
- | GillSans-SemiBoldItalic |
- | GillSans-BoldItalic |
- | GillSans-LightItalic |
Marker Felt | Marker Felt 家族字体如下 |
- | MarkerFelt-Thin |
- | MarkerFelt-Wide |
Hiragino Maru Gothic ProN | Hiragino Maru Gothic ProN 家族字体如下 |
- | HiraMaruProN-W4 |
Courier New | Courier New 家族字体如下 |
- | CourierNewPS-ItalicMT |
- | CourierNewPSMT |
- | CourierNewPS-BoldItalicMT |
- | CourierNewPS-BoldMT |
Kohinoor Telugu | Kohinoor Telugu 家族字体如下 |
- | KohinoorTelugu-Regular |
- | KohinoorTelugu-Medium |
- | KohinoorTelugu-Light |
Heiti TC | Heiti TC 家族字体如下 |
Avenir Next Condensed | Avenir Next Condensed 家族字体如下 |
- | AvenirNextCondensed-Heavy |
- | AvenirNextCondensed-MediumItalic |
- | AvenirNextCondensed-Regular |
- | AvenirNextCondensed-UltraLightItalic |
- | AvenirNextCondensed-Medium |
- | AvenirNextCondensed-HeavyItalic |
- | AvenirNextCondensed-DemiBoldItalic |
- | AvenirNextCondensed-Bold |
- | AvenirNextCondensed-DemiBold |
- | AvenirNextCondensed-BoldItalic |
- | AvenirNextCondensed-Italic |
- | AvenirNextCondensed-UltraLight |
Tamil Sangam MN | Tamil Sangam MN 家族字体如下 |
- | TamilSangamMN |
- | TamilSangamMN-Bold |
Helvetica Neue | Helvetica Neue 家族字体如下 |
- | HelveticaNeue-UltraLightItalic |
- | HelveticaNeue-Medium |
- | HelveticaNeue-MediumItalic |
- | HelveticaNeue-UltraLight |
- | HelveticaNeue-Italic |
- | HelveticaNeue-Light |
- | HelveticaNeue-ThinItalic |
- | HelveticaNeue-LightItalic |
- | HelveticaNeue-Bold |
- | HelveticaNeue-Thin |
- | HelveticaNeue-CondensedBlack |
- | HelveticaNeue |
- | HelveticaNeue-CondensedBold |
- | HelveticaNeue-BoldItalic |
Gurmukhi MN | Gurmukhi MN 家族字体如下 |
- | GurmukhiMN-Bold |
- | GurmukhiMN |
Georgia | Georgia 家族字体如下 |
- | Georgia-BoldItalic |
- | Georgia-Italic |
- | Georgia |
- | Georgia-Bold |
Times New Roman | Times New Roman 家族字体如下 |
- | TimesNewRomanPS-ItalicMT |
- | TimesNewRomanPS-BoldItalicMT |
- | TimesNewRomanPS-BoldMT |
- | TimesNewRomanPSMT |
Sinhala Sangam MN | Sinhala Sangam MN 家族字体如下 |
- | SinhalaSangamMN-Bold |
- | SinhalaSangamMN |
Arial Rounded MT Bold | Arial Rounded MT Bold 家族字体如下 |
- | ArialRoundedMTBold |
Kailasa | Kailasa 家族字体如下 |
- | Kailasa-Bold |
- | Kailasa |
Kohinoor Devanagari | Kohinoor Devanagari 家族字体如下 |
- | KohinoorDevanagari-Regular |
- | KohinoorDevanagari-Light |
- | KohinoorDevanagari-Semibold |
Kohinoor Bangla | Kohinoor Bangla 家族字体如下 |
- | KohinoorBangla-Regular |
- | KohinoorBangla-Semibold |
- | KohinoorBangla-Light |
Chalkboard SE | Chalkboard SE 家族字体如下 |
- | ChalkboardSE-Bold |
- | ChalkboardSE-Light |
- | ChalkboardSE-Regular |
Apple Color Emoji | Apple Color Emoji 家族字体如下 |
- | AppleColorEmoji |
PingFang TC | PingFang TC 家族字体如下 |
- | PingFangTC-Regular |
- | PingFangTC-Thin |
- | PingFangTC-Medium |
- | PingFangTC-Semibold |
- | PingFangTC-Light |
- | PingFangTC-Ultralight |
Gujarati Sangam MN | Gujarati Sangam MN 家族字体如下 |
- | GujaratiSangamMN |
- | GujaratiSangamMN-Bold |
Geeza Pro | Geeza Pro 家族字体如下 |
- | GeezaPro-Bold |
- | GeezaPro |
Damascus | Damascus 家族字体如下 |
- | DamascusBold |
- | DamascusLight |
- | Damascus |
- | DamascusMedium |
- | DamascusSemiBold |
Noteworthy | Noteworthy 家族字体如下 |
- | Noteworthy-Bold |
- | Noteworthy-Light |
Avenir | Avenir 家族字体如下 |
- | Avenir-Oblique |
- | Avenir-HeavyOblique |
- | Avenir-Heavy |
- | Avenir-BlackOblique |
- | Avenir-BookOblique |
- | Avenir-Roman |
- | Avenir-Medium |
- | Avenir-Black |
- | Avenir-Light |
- | Avenir-MediumOblique |
- | Avenir-Book |
- | Avenir-LightOblique |
Mishafi | Mishafi 家族字体如下 |
- | DiwanMishafi |
Academy Engraved LET | Academy Engraved LET 家族字体如下 |
- | AcademyEngravedLetPlain |
Futura | Futura 家族字体如下 |
- | Futura-CondensedExtraBold |
- | Futura-Medium |
- | Futura-Bold |
- | Futura-CondensedMedium |
- | Futura-MediumItalic |
Party LET | Party LET 家族字体如下 |
- | PartyLetPlain |
Kannada Sangam MN | Kannada Sangam MN 家族字体如下 |
- | KannadaSangamMN-Bold |
- | KannadaSangamMN |
Arial Hebrew | Arial Hebrew 家族字体如下 |
- | ArialHebrew-Bold |
- | ArialHebrew-Light |
- | ArialHebrew |
Farah | Farah 家族字体如下 |
- | Farah |
Arial | Arial 家族字体如下 |
- | Arial-BoldMT |
- | Arial-BoldItalicMT |
- | Arial-ItalicMT |
- | ArialMT |
Chalkduster | Chalkduster 家族字体如下 |
- | Chalkduster |
Kefa | Kefa 家族字体如下 |
- | Kefa-Regular |
Hoefler Text | Hoefler Text 家族字体如下 |
- | HoeflerText-Italic |
- | HoeflerText-Black |
- | HoeflerText-Regular |
- | HoeflerText-BlackItalic |
Optima | Optima 家族字体如下 |
- | Optima-ExtraBlack |
- | Optima-BoldItalic |
- | Optima-Italic |
- | Optima-Regular |
- | Optima-Bold |
Palatino | Palatino 家族字体如下 |
- | Palatino-Italic |
- | Palatino-Roman |
- | Palatino-BoldItalic |
- | Palatino-Bold |
Malayalam Sangam MN | Malayalam Sangam MN 家族字体如下 |
- | MalayalamSangamMN-Bold |
- | MalayalamSangamMN |
Al Nile | Al Nile 家族字体如下 |
- | AlNile |
- | AlNile-Bold |
Lao Sangam MN | Lao Sangam MN 家族字体如下 |
- | LaoSangamMN |
Bradley Hand | Bradley Hand 家族字体如下 |
- | BradleyHandITCTT-Bold |
Hiragino Mincho ProN | Hiragino Mincho ProN 家族字体如下 |
- | HiraMinProN-W3 |
- | HiraMinProN-W6 |
PingFang HK | PingFang HK 家族字体如下 |
- | PingFangHK-Medium |
- | PingFangHK-Thin |
- | PingFangHK-Regular |
- | PingFangHK-Ultralight |
- | PingFangHK-Semibold |
- | PingFangHK-Light |
Helvetica | Helvetica 家族字体如下 |
- | Helvetica-Oblique |
- | Helvetica-BoldOblique |
- | Helvetica |
- | Helvetica-Light |
- | Helvetica-Bold |
- | Helvetica-LightOblique |
Courier | Courier 家族字体如下 |
- | Courier-BoldOblique |
- | Courier-Oblique |
- | Courier |
- | Courier-Bold |
Cochin | Cochin 家族字体如下 |
- | Cochin-Italic |
- | Cochin-Bold |
- | Cochin |
- | Cochin-BoldItalic |
Trebuchet MS | Trebuchet MS 家族字体如下 |
- | TrebuchetMS-Bold |
- | TrebuchetMS-Italic |
- | Trebuchet-BoldItalic |
- | TrebuchetMS |
Devanagari Sangam MN | Devanagari Sangam MN 家族字体如下 |
- | DevanagariSangamMN |
- | DevanagariSangamMN-Bold |
Oriya Sangam MN | Oriya Sangam MN 家族字体如下 |
- | OriyaSangamMN |
- | OriyaSangamMN-Bold |
Rockwell | Rockwell 家族字体如下 |
- | Rockwell-Italic |
- | Rockwell-Regular |
- | Rockwell-Bold |
- | Rockwell-BoldItalic |
Snell Roundhand | Snell Roundhand 家族字体如下 |
- | SnellRoundhand |
- | SnellRoundhand-Bold |
- | SnellRoundhand-Black |
Zapf Dingbats | Zapf Dingbats 家族字体如下 |
- | ZapfDingbatsITC |
Bodoni 72 | Bodoni 72 家族字体如下 |
- | BodoniSvtyTwoITCTT-Bold |
- | BodoniSvtyTwoITCTT-BookIta |
- | BodoniSvtyTwoITCTT-Book |
Verdana | Verdana 家族字体如下 |
- | Verdana-Italic |
- | Verdana |
- | Verdana-Bold |
- | Verdana-BoldItalic |
American Typewriter | American Typewriter 家族字体如下 |
- | AmericanTypewriter-CondensedBold |
- | AmericanTypewriter-Condensed |
- | AmericanTypewriter-CondensedLight |
- | AmericanTypewriter |
- | AmericanTypewriter-Bold |
- | AmericanTypewriter-Semibold |
- | AmericanTypewriter-Light |
Avenir Next | Avenir Next 家族字体如下 |
- | AvenirNext-Medium |
- | AvenirNext-DemiBoldItalic |
- | AvenirNext-DemiBold |
- | AvenirNext-HeavyItalic |
- | AvenirNext-Regular |
- | AvenirNext-Italic |
- | AvenirNext-MediumItalic |
- | AvenirNext-UltraLightItalic |
- | AvenirNext-BoldItalic |
- | AvenirNext-Heavy |
- | AvenirNext-Bold |
- | AvenirNext-UltraLight |
Baskerville | Baskerville 家族字体如下 |
- | Baskerville-SemiBoldItalic |
- | Baskerville-SemiBold |
- | Baskerville-BoldItalic |
- | Baskerville |
- | Baskerville-Bold |
- | Baskerville-Italic |
Khmer Sangam MN | Khmer Sangam MN 家族字体如下 |
- | KhmerSangamMN |
Didot | Didot 家族字体如下 |
- | Didot-Bold |
- | Didot |
- | Didot-Italic |
Savoye LET | Savoye LET 家族字体如下 |
- | SavoyeLetPlain |
Bodoni Ornaments | Bodoni Ornaments 家族字体如下 |
- | BodoniOrnamentsITCTT |
iconfont | iconfont 家族字体如下 |
- | iconfont |
Symbol | Symbol 家族字体如下 |
- | Symbol |
Charter | Charter 家族字体如下 |
- | Charter-BlackItalic |
- | Charter-Bold |
- | Charter-Roman |
- | Charter-Black |
- | Charter-BoldItalic |
- | Charter-Italic |
Menlo | Menlo 家族字体如下 |
- | Menlo-BoldItalic |
- | Menlo-Bold |
- | Menlo-Italic |
- | Menlo-Regular |
Noto Nastaliq Urdu | Noto Nastaliq Urdu 家族字体如下 |
- | NotoNastaliqUrdu |
Bodoni 72 Smallcaps | Bodoni 72 Smallcaps 家族字体如下 |
- | BodoniSvtyTwoSCITCTT-Book |
DIN Alternate | DIN Alternate 家族字体如下 |
- | DINAlternate-Bold |
Papyrus | Papyrus 家族字体如下 |
- | Papyrus-Condensed |
- | Papyrus |
Hiragino Sans | Hiragino Sans 家族字体如下 |
- | HiraginoSans-W3 |
- | HiraginoSans-W6 |
PingFang SC | PingFang SC 家族字体如下 |
- | PingFangSC-Medium |
- | PingFangSC-Semibold |
- | PingFangSC-Light |
- | PingFangSC-Ultralight |
- | PingFangSC-Regular |
- | PingFangSC-Thin |
Myanmar Sangam MN | Myanmar Sangam MN 家族字体如下 |
- | MyanmarSangamMN |
- | MyanmarSangamMN-Bold |
Noto Sans Chakma | Noto Sans Chakma 家族字体如下 |
- | NotoSansChakma-Regular |
Zapfino | Zapfino 家族字体如下 |
- | Zapfino |
Telugu Sangam MN | Telugu Sangam MN 家族字体如下 |
Bodoni 72 Oldstyle | Bodoni 72 Oldstyle 家族字体如下 |
- | BodoniSvtyTwoOSITCTT-BookIt |
- | BodoniSvtyTwoOSITCTT-Book |
- | BodoniSvtyTwoOSITCTT-Bold |
Euphemia UCAS | Euphemia UCAS 家族字体如下 |
- | EuphemiaUCAS |
- | EuphemiaUCAS-Italic |
- | EuphemiaUCAS-Bold |
Bangla Sangam MN | Bangla Sangam MN 家族字体如下 |
DIN Condensed | DIN Condensed 家族字体如下 |
- | DINCondensed-Bold |
2. 获取所有字体的代码
for family in UIFont.familyNames {
print("|**\(family)**|\(family) 家族字体如下|")
for fontName in UIFont.fontNames(forFamilyName: family){
print("|-|"+fontName+"|")
}
}
3. 运行效果
4. 使用
let font = UIFont.init(name: "PingFangTC-Regular", size: 18)
本文完