HEM error

    • Hlynkinn
      Hlynkinn
      Bronze
      Joined: 14.06.2008 Posts: 4,998
      ************* Exception Text **************
      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, GraphicsUnit unit)
      at ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
      at ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
      at ZedGraph.Legend..ctor()
      at ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
      at ZedGraph.MasterPane..ctor(String title, RectangleF paneRect)
      at ZedGraph.ZedGraphControl..ctor()
      at bb.a()
      at bb..ctor()
      at i.a()
      at i..ctor(cw A_0)
      at cw.a(Object A_0, EventArgs A_1)
      at System.Windows.Forms.Timer.OnTick(EventArgs e)
      at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      Get this error when I try to open HEM...
      Not sure if hem was closed properly last time it shut down since it's around a week r so since the last time I've used it...

      I've been having troubles with some other software as well.. not sure if the problems connected...
  • 2 replies
    • netsrak
      netsrak
      Gold
      Joined: 11.03.2006 Posts: 36,835
      Yes, its system related. The Arial font is a windows font. If this is not available something in your windows installation is corrupt.
      I can send you the missing font files but i think the best is a reparation/reinstallation of your windows.
    • Hlynkinn
      Hlynkinn
      Bronze
      Joined: 14.06.2008 Posts: 4,998
      Originally posted by netsrak
      Yes, its system related. The Arial font is a windows font. If this is not available something in your windows installation is corrupt.
      I can send you the missing font files but i think the best is a reparation/reinstallation of your windows.
      thx somehow seems like the regular format for Arial got corrupt or I accidentally deleted it or something..
      I found a backup for the font and everything works now.. THX