Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是注意到在.net 中 System.Drawing.Font 似乎没有字体粗细的概念,除了正常和粗体的 FontStyle。我没有在win32中的精细控制。WPF 框架具有字体权重,但我没有使用该命名空间。
我认为您可以使用 Win32 创建字体,然后使用 Font.FromHfont 包装它。