public bool DoesFontExist(FontFamily fontFamily) { if (fontFamily == null) { return false; } foreach (var f in System.Windows.Media.Fonts.SystemFontFamilies) { if (f.Source.Equals(fontFamily.Source)) { return true; } } return false; }