You need to use the native API (Monotouch.UIKit.UIFont). Put this in your
FinishedLaunching to dump a list of all the fonts to the console:

String fonts = "--------------------------------------\n";
List<String> fontFamilies = new List<String> (UIFont.FamilyNames);
fontFamilies.Sort ();
foreach (String familyName in fontFamilies) {
foreach (String fontName in UIFont.FontNamesForFamilyName (familyName)) {
fonts += familyName;
fonts += "\t";
fonts += fontName;
fonts += "\n";
}
fonts += "--------------------------------------\n";
}
Console.WriteLine (fonts);


On Sat, Jun 11, 2011 at 6:25 PM, bluuemango <[email protected]> wrote:

> How do I view installed fonts? I don't have access to the
> System.Drawing.Text.InstalledFontCollection class.
>
> Thanks!
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Custom-Fonts-tp3591283p3591313.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
David Moles
[email protected]
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to