public void LoadInstalledFonts()
{
try
{
string windowsFontDir = @"C:\Windows\Fonts\";
if (System.IO.Directory.Exists(windowsFontDir))
FontFactory.RegisterDirectory(windowsFontDir);
}
catch(Exception)
{
// Currently do nothing maybe we are running under a linux system
}
}
}