xenadmin
xenadmin copied to clipboard
Unable to detect which font is used
Could you please make the exception selfexplanatory? so I can fix the dependencies.
Background: I've installed XCP-NG Center on linux via wine and is falling with an exception that it cannot load a font. And the problem is that the exception doesn't say which font is trying to load.
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet) [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte)
at splash_xcp_ng.SplashForm.InitializeComponent () [0x0004f] in <16ae16145a664fdc99f8bbd4a7a12e76>:0
at splash_xcp_ng.SplashForm..ctor () [0x00052] in <16ae16145a664fdc99f8bbd4a7a12e76>:0
at (wrapper remoting-invoke-with-check) splash_xcp_ng.SplashForm..ctor()
at splash_xcp_ng.Program.Main () [0x0000b] in <16ae16145a664fdc99f8bbd4a7a12e76>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet) [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte)
at splash_xcp_ng.SplashForm.InitializeComponent () [0x0004f] in <16ae16145a664fdc99f8bbd4a7a12e76>:0
at splash_xcp_ng.SplashForm..ctor () [0x00052] in <16ae16145a664fdc99f8bbd4a7a12e76>:0
at (wrapper remoting-invoke-with-check) splash_xcp_ng.SplashForm..ctor()