static bool IsSameTypeFace(TextFormattingRunProperties a, TextFormattingRunProperties b) { if (a.TypefaceEmpty != b.TypefaceEmpty) { return(false); } if (a.Typeface == b.Typeface) { return(true); } return(a.GetFontName() == a.GetFontName()); }
static bool IsSameTypeFace(TextFormattingRunProperties a, TextFormattingRunProperties b) { if (a.TypefaceEmpty != b.TypefaceEmpty) { return(false); } if (a.Typeface == b.Typeface) { return(true); } return(a.GetFontName() == a.GetFontName()); }