Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: posse p on Fri 06/11/2009 19:15:36

Title: an unexpected error occurred when i tried to load up the AGS editor
Post by: posse p on Fri 06/11/2009 19:15:36
Hi!

I just downloaded AGS 3.1.2.82, the newest version..
I have been searching the technical forum for help but didnt find any..

here is the problem.
I get a start up error when trying to enter the editor, saying exactly:

"System.ArgumentException: The Font 'Tahoma' Does not support the format 'Regular'.
   ved System.Drawing.Font.CreateNativeFont()
   ved System.Drawing.Font.Initialize(FontFamily family, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean
gdiVerticalFont)
   ved System.Drawing.Font.Initialize(String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean
gdiVerticalFont)
   ved System.Drawing.Font..ctor(String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharset)
   ved AGS.Editor.CallStackPanel.InitializeComponent()
   ved AGS.Editor.CallStackPanel..ctor()
   ved AGS.Editor.frmMain.InitializeComponent()
   ved AGS.Editor.frmMain..ctor()
   ved AGS.Editor.GUIController.initialize(AGSEditor agsEditor)
   ved AGS.Editor.ApplicationController..ctor()
   ved AGS.Editor.Program.startupTimer_Tick(Object sender, EventArgs
e)
  ved System.Windows.Forms.Timer.OnTick(EventArgs e)
  ved
System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message
& m)
  ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)"

from danish to english:
ved = at/by
sender = sending

i have no idea about code.. so i would appreciate a little help on what to do to get this fantastic editor to work??! :/
Title: Re: an unexpected error occurred when i tried to load up the AGS editor
Post by: Pumaman on Sat 07/11/2009 00:58:12
Strange, looks like your Tahoma font might be corrupt.

If you open Notepad, go to the Format menu, "Font", and then choose Tahoma, do you see a "Regular" option?

If not you could try downloading the Tahoma font from the internet and installing it, see if that fixes the problem.
Title: Re: an unexpected error occurred when i tried to load up the AGS editor
Post by: legrand on Fri 10/03/2023 16:24:45
Yes, I had a similar error message.  After I downloaded the Tahoma font, I was able to open AGS Editor.  Thank you for the suggestion!