Editor Error - Moving Object in Editor

Started by None, Sat 28/04/2012 16:11:53

Previous topic - Next topic

None

 ???

I've attempted to simply add an object to a room and when I go to drag it, this error is displayed and the background to the room is removed from the display and replaced by a giant red X cross.

Error: Font 'Arial' does not support style 'Regular'.
Version: AGS 3.2.1.111

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)
   at AGS.Editor.ObjectsEditorFilter.Paint(Graphics graphics, RoomEditorState state)
   at AGS.Editor.RoomSettingsEditor.bufferedPanel1_Paint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I thought perhaps I could fix it with a clean install, so I installed it to a new folder. I received the same glitch/error again.

None

 (laugh)
AGS needs 'Arial Regular' to display font coordinates in the room editor screen.
Which I didn't have for some reason.

If anyone else has this problem simply install:

European Union Expansion Font Update:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0ec6f335-c3de-44c5-a13d-a1e7cea5ddea

Thx Anyways,

SMF spam blocked by CleanTalk