Created
February 4, 2011 06:33
-
-
Save Digitalchemy/810815 to your computer and use it in GitHub Desktop.
Monotouch method to enumerate loaded iPhone fonts to debug output for diagnostic purposes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void EnumerateLoadedFonts() | |
{ | |
foreach (string family in UIFont.FamilyNames) | |
{ | |
Debug.WriteLine("Family : " + family); | |
foreach (string font in UIFont.FontNamesForFamilyName(family)) | |
{ | |
Debug.WriteLine(" Font : " + font); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment