diff --git a/src/Views/Widgets/DiffViewer.xaml.cs b/src/Views/Widgets/DiffViewer.xaml.cs index 10c15433..739f49b3 100644 --- a/src/Views/Widgets/DiffViewer.xaml.cs +++ b/src/Views/Widgets/DiffViewer.xaml.cs @@ -467,6 +467,7 @@ namespace SourceGit.Views.Widgets { line.SetBinding(TextBlock.BackgroundProperty, new Binding("BG")); line.SetBinding(TextBlock.ForegroundProperty, new Binding("FG")); line.SetBinding(TextBlock.FontStyleProperty, new Binding("Style")); + line.SetValue(TextBlock.FontFamilyProperty, new FontFamily("Consolas,Microsoft YaHei UI")); line.SetValue(TextBlock.FontSizeProperty, new FontSizeConverter().ConvertFrom("9pt")); line.SetValue(TextBlock.MarginProperty, new Thickness(0)); line.SetValue(TextBlock.PaddingProperty, new Thickness(4, 0, 0, 0)); diff --git a/src/Views/Widgets/RevisionFiles.xaml b/src/Views/Widgets/RevisionFiles.xaml index 33302c46..712f9be6 100644 --- a/src/Views/Widgets/RevisionFiles.xaml +++ b/src/Views/Widgets/RevisionFiles.xaml @@ -66,7 +66,7 @@