winforms
winforms copied to clipboard
Font scaling is not efficient for PMV2
https://github.com/dotnet/winforms/blob/9becf03cc9e364a90889672e1f383cd72568a4cb/src/System.Windows.Forms/System/Windows/Forms/Control.cs#L289
We currently create copies of Fonts for every DPI for every Control when PMv2 is enabled. This is hugely inefficient as most Applications do not have a different font on every control.
This should, at a minimum, be coming from a weak referenced scaled Font cache.