Skip to content

Instantly share code, notes, and snippets.

@eleev
Created July 30, 2018 07:19
Show Gist options
  • Save eleev/89db66d8ba87b0cbdc786914ca434181 to your computer and use it in GitHub Desktop.
Save eleev/89db66d8ba87b0cbdc786914ca434181 to your computer and use it in GitHub Desktop.
Use the following reference to properly construct UIFont instances with valid font names
UIFont: family Thonburi
UIFont: font Thonburi-Bold
UIFont: font Thonburi
UIFont: font Thonburi-Light
UIFont: family Khmer Sangam MN
UIFont: font KhmerSangamMN
UIFont: family Snell Roundhand
UIFont: font SnellRoundhand-Black
UIFont: font SnellRoundhand-Bold
UIFont: font SnellRoundhand
UIFont: family Academy Engraved LET
UIFont: font AcademyEngravedLetPlain
UIFont: family Marker Felt
UIFont: font MarkerFelt-Thin
UIFont: font MarkerFelt-Wide
UIFont: family Avenir
UIFont: font Avenir-Heavy
UIFont: font Avenir-Oblique
UIFont: font Avenir-Black
UIFont: font Avenir-Book
UIFont: font Avenir-BlackOblique
UIFont: font Avenir-HeavyOblique
UIFont: font Avenir-Light
UIFont: font Avenir-MediumOblique
UIFont: font Avenir-Medium
UIFont: font Avenir-LightOblique
UIFont: font Avenir-Roman
UIFont: font Avenir-BookOblique
UIFont: family Geeza Pro
UIFont: font GeezaPro-Bold
UIFont: font GeezaPro
UIFont: family Arial Rounded MT Bold
UIFont: font ArialRoundedMTBold
UIFont: family Trebuchet MS
UIFont: font Trebuchet-BoldItalic
UIFont: font TrebuchetMS
UIFont: font TrebuchetMS-Bold
UIFont: font TrebuchetMS-Italic
UIFont: family Arial
UIFont: font ArialMT
UIFont: font Arial-BoldItalicMT
UIFont: font Arial-ItalicMT
UIFont: font Arial-BoldMT
UIFont: family Marion
UIFont: font Marion-Regular
UIFont: font Marion-Italic
UIFont: font Marion-Bold
UIFont: family Menlo
UIFont: font Menlo-BoldItalic
UIFont: font Menlo-Regular
UIFont: font Menlo-Bold
UIFont: font Menlo-Italic
UIFont: family Malayalam Sangam MN
UIFont: font MalayalamSangamMN
UIFont: font MalayalamSangamMN-Bold
UIFont: family Kannada Sangam MN
UIFont: font KannadaSangamMN
UIFont: font KannadaSangamMN-Bold
UIFont: family Gurmukhi MN
UIFont: font GurmukhiMN-Bold
UIFont: font GurmukhiMN
UIFont: family Bodoni 72 Oldstyle
UIFont: font BodoniSvtyTwoOSITCTT-BookIt
UIFont: font BodoniSvtyTwoOSITCTT-Bold
UIFont: font BodoniSvtyTwoOSITCTT-Book
UIFont: family Bradley Hand
UIFont: font BradleyHandITCTT-Bold
UIFont: family Cochin
UIFont: font Cochin-Bold
UIFont: font Cochin-BoldItalic
UIFont: font Cochin-Italic
UIFont: font Cochin
UIFont: family Sinhala Sangam MN
UIFont: font SinhalaSangamMN
UIFont: font SinhalaSangamMN-Bold
UIFont: family Hiragino Kaku Gothic ProN
UIFont: font HiraKakuProN-W6
UIFont: font HiraKakuProN-W3
UIFont: family Iowan Old Style
UIFont: font IowanOldStyle-Bold
UIFont: font IowanOldStyle-BoldItalic
UIFont: font IowanOldStyle-Italic
UIFont: font IowanOldStyle-Roman
UIFont: family Damascus
UIFont: font DamascusBold
UIFont: font Damascus
UIFont: font DamascusLight
UIFont: font DamascusMedium
UIFont: font DamascusSemiBold
UIFont: family Al Nile
UIFont: font AlNile-Bold
UIFont: font AlNile
UIFont: family Farah
UIFont: font Farah
UIFont: family Papyrus
UIFont: font Papyrus-Condensed
UIFont: font Papyrus
UIFont: family Verdana
UIFont: font Verdana-BoldItalic
UIFont: font Verdana-Italic
UIFont: font Verdana
UIFont: font Verdana-Bold
UIFont: family Zapf Dingbats
UIFont: font ZapfDingbatsITC
UIFont: family DIN Condensed
UIFont: font DINCondensed-Bold
UIFont: family Avenir Next Condensed
UIFont: font AvenirNextCondensed-Regular
UIFont: font AvenirNextCondensed-MediumItalic
UIFont: font AvenirNextCondensed-UltraLightItalic
UIFont: font AvenirNextCondensed-UltraLight
UIFont: font AvenirNextCondensed-BoldItalic
UIFont: font AvenirNextCondensed-Italic
UIFont: font AvenirNextCondensed-Medium
UIFont: font AvenirNextCondensed-HeavyItalic
UIFont: font AvenirNextCondensed-Heavy
UIFont: font AvenirNextCondensed-DemiBoldItalic
UIFont: font AvenirNextCondensed-DemiBold
UIFont: font AvenirNextCondensed-Bold
UIFont: family Courier
UIFont: font Courier
UIFont: font Courier-Oblique
UIFont: font Courier-BoldOblique
UIFont: font Courier-Bold
UIFont: family Hoefler Text
UIFont: font HoeflerText-Regular
UIFont: font HoeflerText-BlackItalic
UIFont: font HoeflerText-Italic
UIFont: font HoeflerText-Black
UIFont: family Euphemia UCAS
UIFont: font EuphemiaUCAS
UIFont: font EuphemiaUCAS-Bold
UIFont: font EuphemiaUCAS-Italic
UIFont: family Helvetica
UIFont: font Helvetica-Oblique
UIFont: font Helvetica-Light
UIFont: font Helvetica-Bold
UIFont: font Helvetica
UIFont: font Helvetica-BoldOblique
UIFont: font Helvetica-LightOblique
UIFont: family Lao Sangam MN
UIFont: font LaoSangamMN
UIFont: family Hiragino Mincho ProN
UIFont: font HiraMinProN-W6
UIFont: font HiraMinProN-W3
UIFont: family Bodoni Ornaments
UIFont: font BodoniOrnamentsITCTT
UIFont: family Superclarendon
UIFont: font Superclarendon-Regular
UIFont: font Superclarendon-BoldItalic
UIFont: font Superclarendon-Light
UIFont: font Superclarendon-BlackItalic
UIFont: font Superclarendon-Italic
UIFont: font Superclarendon-LightItalic
UIFont: font Superclarendon-Bold
UIFont: font Superclarendon-Black
UIFont: family Mishafi
UIFont: font DiwanMishafi
UIFont: family Optima
UIFont: font Optima-Regular
UIFont: font Optima-Italic
UIFont: font Optima-Bold
UIFont: font Optima-BoldItalic
UIFont: font Optima-ExtraBlack
UIFont: family Gujarati Sangam MN
UIFont: font GujaratiSangamMN-Bold
UIFont: font GujaratiSangamMN
UIFont: family Devanagari Sangam MN
UIFont: font DevanagariSangamMN
UIFont: font DevanagariSangamMN-Bold
UIFont: family Apple Color Emoji
UIFont: font AppleColorEmoji
UIFont: family Savoye LET
UIFont: font SavoyeLetPlain
UIFont: family Kailasa
UIFont: font Kailasa
UIFont: font Kailasa-Bold
UIFont: family Times New Roman
UIFont: font TimesNewRomanPS-BoldItalicMT
UIFont: font TimesNewRomanPSMT
UIFont: font TimesNewRomanPS-BoldMT
UIFont: font TimesNewRomanPS-ItalicMT
UIFont: family Telugu Sangam MN
UIFont: font TeluguSangamMN
UIFont: font TeluguSangamMN-Bold
UIFont: family Heiti SC
UIFont: font STHeitiSC-Medium
UIFont: font STHeitiSC-Light
UIFont: family Apple SD Gothic Neo
UIFont: font AppleSDGothicNeo-Thin
UIFont: font AppleSDGothicNeo-UltraLight
UIFont: font AppleSDGothicNeo-SemiBold
UIFont: font AppleSDGothicNeo-Medium
UIFont: font AppleSDGothicNeo-Regular
UIFont: font AppleSDGothicNeo-Bold
UIFont: font AppleSDGothicNeo-Light
UIFont: family Futura
UIFont: font Futura-Medium
UIFont: font Futura-CondensedMedium
UIFont: font Futura-MediumItalic
UIFont: font Futura-CondensedExtraBold
UIFont: family Bodoni 72
UIFont: font BodoniSvtyTwoITCTT-Book
UIFont: font BodoniSvtyTwoITCTT-Bold
UIFont: font BodoniSvtyTwoITCTT-BookIta
UIFont: family Baskerville
UIFont: font Baskerville-Bold
UIFont: font Baskerville-SemiBoldItalic
UIFont: font Baskerville-BoldItalic
UIFont: font Baskerville
UIFont: font Baskerville-SemiBold
UIFont: font Baskerville-Italic
UIFont: family Symbol
UIFont: font Symbol
UIFont: family Heiti TC
UIFont: font STHeitiTC-Medium
UIFont: font STHeitiTC-Light
UIFont: family Copperplate
UIFont: font Copperplate
UIFont: font Copperplate-Light
UIFont: font Copperplate-Bold
UIFont: family Party LET
UIFont: font PartyLetPlain
UIFont: family American Typewriter
UIFont: font AmericanTypewriter-Light
UIFont: font AmericanTypewriter-CondensedLight
UIFont: font AmericanTypewriter-CondensedBold
UIFont: font AmericanTypewriter
UIFont: font AmericanTypewriter-Condensed
UIFont: font AmericanTypewriter-Bold
UIFont: family Chalkboard SE
UIFont: font ChalkboardSE-Light
UIFont: font ChalkboardSE-Regular
UIFont: font ChalkboardSE-Bold
UIFont: family Avenir Next
UIFont: font AvenirNext-MediumItalic
UIFont: font AvenirNext-Bold
UIFont: font AvenirNext-UltraLight
UIFont: font AvenirNext-DemiBold
UIFont: font AvenirNext-HeavyItalic
UIFont: font AvenirNext-Heavy
UIFont: font AvenirNext-Medium
UIFont: font AvenirNext-Italic
UIFont: font AvenirNext-UltraLightItalic
UIFont: font AvenirNext-BoldItalic
UIFont: font AvenirNext-Regular
UIFont: font AvenirNext-DemiBoldItalic
UIFont: family Bangla Sangam MN
UIFont: font BanglaSangamMN
UIFont: font BanglaSangamMN-Bold
UIFont: family Noteworthy
UIFont: font Noteworthy-Bold
UIFont: font Noteworthy-Light
UIFont: family Zapfino
UIFont: font Zapfino
UIFont: family Tamil Sangam MN
UIFont: font TamilSangamMN
UIFont: font TamilSangamMN-Bold
UIFont: family Chalkduster
UIFont: font Chalkduster
UIFont: family Arial Hebrew
UIFont: font ArialHebrew-Bold
UIFont: font ArialHebrew-Light
UIFont: font ArialHebrew
UIFont: family Georgia
UIFont: font Georgia-BoldItalic
UIFont: font Georgia-Bold
UIFont: font Georgia-Italic
UIFont: font Georgia
UIFont: family Helvetica Neue
UIFont: font HelveticaNeue-BoldItalic
UIFont: font HelveticaNeue-Light
UIFont: font HelveticaNeue-Italic
UIFont: font HelveticaNeue-UltraLightItalic
UIFont: font HelveticaNeue-CondensedBold
UIFont: font HelveticaNeue-MediumItalic
UIFont: font HelveticaNeue-Thin
UIFont: font HelveticaNeue-Medium
UIFont: font HelveticaNeue-ThinItalic
UIFont: font HelveticaNeue-LightItalic
UIFont: font HelveticaNeue-UltraLight
UIFont: font HelveticaNeue-Bold
UIFont: font HelveticaNeue
UIFont: font HelveticaNeue-CondensedBlack
UIFont: family Gill Sans
UIFont: font GillSans
UIFont: font GillSans-SemiBoldItalic
UIFont: font GillSans-Italic
UIFont: font GillSans-BoldItalic
UIFont: font GillSans-Light
UIFont: font GillSans-LightItalic
UIFont: font GillSans-UltraBold
UIFont: font GillSans-Bold
UIFont: font GillSans-SemiBold
UIFont: family Kohinoor Devanagari
UIFont: font KohinoorDevanagari-Light
UIFont: font KohinoorDevanagari-Book
UIFont: font KohinoorDevanagari-Medium
UIFont: family Palatino
UIFont: font Palatino-Roman
UIFont: font Palatino-Italic
UIFont: font Palatino-Bold
UIFont: font Palatino-BoldItalic
UIFont: family Courier New
UIFont: font CourierNewPSMT
UIFont: font CourierNewPS-BoldMT
UIFont: font CourierNewPS-ItalicMT
UIFont: font CourierNewPS-BoldItalicMT
UIFont: family Oriya Sangam MN
UIFont: font OriyaSangamMN
UIFont: font OriyaSangamMN-Bold
UIFont: family Didot
UIFont: font Didot-Bold
UIFont: font Didot-Italic
UIFont: font Didot
UIFont: family DIN Alternate
UIFont: font DINAlternate-Bold
UIFont: family Bodoni 72 Smallcaps
UIFont: font BodoniSvtyTwoSCITCTT-Book
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment