austinulmer / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

FontStyle.Regular for the SystemFonts.MessageBoxFont is not always supported #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
System.ArgumentException: Font 'Tahoma' 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..ctor(FontFamily family, Single emSize, FontStyle style)
   at OpenHardwareMonitor.GUI.SensorGadget.CreateFont(Single size, FontStyle style)
   at OpenHardwareMonitor.GUI.SensorGadget.SetFontSize(Single size)
   at OpenHardwareMonitor.GUI.SensorGadget..ctor(IComputer computer, PersistentSettings settings, UnitManager unitManager)
   at OpenHardwareMonitor.GUI.MainForm..ctor()
   at OpenHardwareMonitor.Program.Main()

Original issue reported on code.google.com by moel.mich on 6 Oct 2010 at 7:13

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r249.

Original comment by moel.mich on 6 Oct 2010 at 7:18