Originally Posted by Ice
I tried Rawr b12.1 on linux with wine, installed Mono for Windows first.
fixme:win:EnumDisplayDevicesW ((null),0,0x61e4d4,0x00000000), stub!
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
...
|
I have a similar, but slightly different, crash trying to use Rawr 12.1 (or 11) with wine on linux. Mine is:

fixme:spoolsv:serv_main (0 (nil))
err:service:service_get_status service protocol error - failed to read pipe r = 0 count = 0!
fixme:win:EnumDisplayDevicesW ((null),0,0x61e4f4,0x00000000), stub!
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: Style Regular isn't supported by font Microsoft Sans Serif.
at System.Drawing.Font.CreateFont (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical)
[0x00000]
at System.Drawing.Font..ctor (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00
000]
at System.Drawing.Font..ctor (System.String familyName, Single emSize, System.String systemName) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (string,single,string)
at System.Drawing.SystemFonts.get_DefaultFont () [0x00000]
at System.Windows.Forms.Theme..ctor () [0x00000]
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000]
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] --- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000]
at System.Windows.Forms.Control..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] --- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000]
at System.Windows.Forms.ScrollableControl..ctor () [0x00000]
at System.Windows.Forms.ContainerControl..ctor () [0x00000]
at System.Windows.Forms.Form..ctor () [0x00000]
at Rawr.FormSplash..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Rawr.FormSplash:.ctor ()
at Rawr.FormMain..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Rawr.FormMain:.ctor ()
at Rawr.Program.Main () [0x00000]
I've tried downloading a real MS copy of the Microsoft Sans Serif font, and I have it copied in both ~/.wine/drive_c/windows/fonts/ and in /usr/share/wine/fonts/ but to no avail.
So, in my case, it seems like GDI is successfully fetching the sans-serif font, and getting Microsoft Sans Serif, but then that fetched font doesn't have the right properties.
Any ideas?
Or any chance of somebody porting this to a more cross-platform environment? =D