.net - System.Drawing.Font.FromLogFont not implemented

Questions about Wine on Linux
Locked
beauxq
Newbie
Newbie
Posts: 3
Joined: Mon Jan 20, 2020 10:57 am

.net - System.Drawing.Font.FromLogFont not implemented

Post by beauxq »

Trying to run an obscure app.
It requires .net, so I installed .net

getting this error in wine (when I don't get this error in windows)

I tried copying a real windows C:\Windows\Fonts to my wine C:\Windows\Fonts - still get the same error.

Code: Select all

Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009c] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Windows.Forms.Control.get_DefaultFont () [0x00007] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.Control.get_Font () [0x00054] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.Control.get_FontHeight () [0x00076] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.TextBoxBase.get_PreferredHeight () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.TextBoxBase.get_DefaultSize () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.Control..ctor (System.Boolean autoInstallSyncContext) [0x000cd] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.Control..ctor () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.TextBoxBase..ctor () [0x00012] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.TextBox..ctor () [0x0000b] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TextBox..ctor()
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: .net - System.Drawing.Font.FromLogFont not implemented

Post by jkfloris »

How and which version of .Net did you install?
Did you tried a clean 32-bit Wineprefix?
Locked