Default font for Windows Forms application

后端 未结 9 1383
有刺的猬
有刺的猬 2020-12-08 07:06

Every time that I create a new form in my application, it uses the \"Microsoft Sans Serif, 8.25pt\" font by default. I\'m not changing it because I know that in this case my

9条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 07:30

    I've tried sample app that targets both net472/net48 and netcoreapp3.1. While .net app Control.DefaultFont always returns Microsoft Sans Serif and not scaled. But .net core 3.1 app Control.DefaultFont returns exactly the system font on win7/10 and scaled well. So, I think they fixed this in core at last.

提交回复
热议问题