Windows 10 1803

时间:2018-05-14 14:35:48

标签: c# .net windows visual-studio fonts

Windows 10 1803上的WinForm应用程序(.NET 4.5)中的以下单行代码返回与以前的Windows 10更新不同的对象:

protected override void OnLoad(EventArgs e)
{
    Font f = new Font("", 2048, FontStyle.Regular, GraphicsUnit.Point);

    base.OnLoad(e);
}

来自Win10 1803:

  

{Name =""大小= 2048}

早些时候:

  

{Name =" Microsoft Sans Serif"大小= 2048}

是否有任何技术原因?

感谢。

0 个答案:

没有答案