Set a good default font style

This commit is contained in:
2018-12-27 09:28:14 +08:00
parent 75cd0249ee
commit b1a3e05b67

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;