AODL.ExternalExporter.PDF.Document.StyleConverter.DefaultDocumentStyles.LoadInstalledFonts C# (CSharp) Method

LoadInstalledFonts() public method

Loads the installed fonts.
public LoadInstalledFonts ( ) : void
return void
		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
			}
		}
	}