Set a good default font style

This commit is contained in:
yyc12345 committed 2018-12-27 09:28:14 +08:00
1 parent 75cd0249ee
commit b1a3e05b67
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ namespace HFUTCourseSimulation {
var headerBrush = new SolidBrush(Color.Gray);
var textBrush = new SolidBrush(Color.Black);
Brush cellBrush;
var textFont = new Font("Arial", 12);
var textFont = new Font("Microsoft YaHei UI", 12);
var textMargin = graphics.MeasureString("测试字符", textFont).Height;