[Tracking] DefaultFont is static and could cause issues in PermonitorV2 applications.
Open
area-HDPI
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
### .NET version
.NET 8.0
### Did it work in .NET Framework?
No
### Did it work in any of the earlier releases of .NET Core or .NET 5+?
NO
### Issue description
`DefaultFont `in WinForms is static and currently does not consider the DPI of the monitor into consideration. This need to be investigated for all scenarios in PermonitorV2 mode applications.
Currently, `DeviceContext `and Font are defaulting to primary monitor and seems working as expected but would need deeper investigation/understanding
### Steps to reproduce
Any PerMonitor V2 mode WinForms application with dual monitor with different DPI.
Contributor guide
Assessment
This issue has not been assessed yet.