private static bool CheckFontIsInstalled(string fontName) { var installedFonts = new InstalledFontCollection().Families; return(installedFonts.Where(font => font.Name == fontName).Count() > 0); }