| Wizards of SimPE & SimPE Bugs > system.argumentexception problems | ||
| Bugreport | Priority ; State Open; SimPE Version 0.72; Operating System | |
| desasteraang | ||
Member since: 2010-04-12 Posts: 1 | Message: SimPE will shutdown due to an unhandled Exception. SimPE Version: Default (0.72.1.33855). Exception Stack: System.ArgumentException: Font 'Arial' does not support style 'Regular'. at System.Drawing.Font.CreateNativeFont() at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style) at Ambertation.Windows.Forms.BaseFontTable..ctor() at Ambertation.Windows.Forms.WhidbeyRenderer..ctor() at SimPe.MainForm.InitializeComponent() at SimPe.MainForm..ctor() at SimPe.MainForm.Main(String[] args) Source: System.Drawing Execution Stack: at System.Drawing.Font.CreateNativeFont() at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style) at Ambertation.Windows.Forms.BaseFontTable..ctor() at Ambertation.Windows.Forms.WhidbeyRenderer..ctor() at SimPe.MainForm.InitializeComponent() at SimPe.MainForm..ctor() at SimPe.MainForm.Main(String[] args) Windows Version: WindowsXP .NET Version: 2.0.50727.3082 How do you install back the arial font?? This problem is driving me mad! | |
| Ghost | ||
Member since: 2006-03-19 Posts: 775 | First you might want to find out why it's missing, since the Arial font is a system file, not a SimPe file. If you have actual Windows discs, you can find Arial.ttf somewhere on there and copy it into the Windows Fonts directory. Exactly where it is depends on which version of Windows you have. You might also be able to get it from Microsoft. | |
viewpost, 31084, 0