Пример #1
0
 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());
 }