예제 #1
0
        private static FontFamily FontFamilyFor(IconChar iconChar)
        {
            var name = IconHelper.FontFor(iconChar).FamilyNames.Values.Single();

            return(Fonts.Families.FirstOrDefault(f => name.StartsWith(f.Name)) ?? Fonts.Families[0]);
        }