Set a good default font style
This commit is contained in:
@ -47,7 +47,7 @@ namespace HFUTCourseSimulation {
|
|||||||
var headerBrush = new SolidBrush(Color.Gray);
|
var headerBrush = new SolidBrush(Color.Gray);
|
||||||
var textBrush = new SolidBrush(Color.Black);
|
var textBrush = new SolidBrush(Color.Black);
|
||||||
Brush cellBrush;
|
Brush cellBrush;
|
||||||
var textFont = new Font("Arial", 12);
|
var textFont = new Font("Microsoft YaHei UI", 12);
|
||||||
|
|
||||||
var textMargin = graphics.MeasureString("测试字符", textFont).Height;
|
var textMargin = graphics.MeasureString("测试字符", textFont).Height;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user