public static Font LoadDefaultMonospacedFont(FontStyle style)
{
if (Environment.OSVersion.Platform == PlatformID.Win32NT
&& Environment.OSVersion.Version.Major >= 6)
{
return LoadFont("Consolas", 10, style);
} else {
return LoadFont("Courier New", 10, style);
}
}