Is there an easy way (in .Net) to test if a Font is installed on the current machine?
In my case I need to check font filename with extension
ex: verdana.ttf = Verdana Regular, verdanai.ttf = Verdana Italic
using System.IO;
IsFontInstalled("verdana.ttf")
public bool IsFontInstalled(string ContentFontName)
{
return File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Fonts), ContentFontName.ToUpper()));
}