https://bugs.winehq.org/show_bug.cgi?id=44052
--- Comment #40 from Louis Lenders xerox.xerox2000x@gmail.com --- The new paint.net installer (4.1.*) also suffers from this bug and bails out:
003a:trace:text:DrawTextExW L"PaintDotNet.ComponentModel.InterfaceNotSupportedException: 'PaintDotNet.Direct2D1.IDeviceContext' is not a supported interface\r\n at PaintDotNet.ComponentModel.ObjectRefExtensions.CastOrTransferRef[T](IObjectRef objectRef) in D:\src\pdn\src\Base\ComponentModel\ObjectRefExtensions.cs:line
Tested after winetricks472 with Staging-3.15
sha1sum ~/Downloads/paint.net.4.1.install.exe b2b886c97532eb4c5eabf7e2fd888d61f4a9ae78 /home/louis/Downloads/paint.net.4.1.install.exe
With the patch from Nicolay (comment 39) bails out at
0036:trace:text:DrawTextExW L"System.NotImplementedException: d:\src\pdn\src\systemlayer.native\direct2d1\d2dfactory1.cpp (91) : hr = m_pFactory1->CreateDrawingStateBlock( drawingStateDescription.HasValue ? &NativeConversions::ToNative(drawingStateDescription.Value) : 0, spTextRenderingParams, &spDrawingStateBlock);\r\n a"..., -1, [(0,0)-(304,949)] 00000050