Jibble

Author Topic: Editor Error - Moving Object in Editor  (Read 1564 times)

None

    • None worked on one or more games that won an AGS Award!
    •  
    • None worked on one or more games that was nominated for an AGS Award!
Editor Error - Moving Object in Editor
« on: 28 Apr 2012, 16:11 »
 ???

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.bufferedP anel1_Paint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithE rrorHandling(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.ControlNat iveWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNat iveWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callb ack(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

    • None worked on one or more games that won an AGS Award!
    •  
    • None worked on one or more games that was nominated for an AGS Award!
Re: Editor Error - Moving Object in Editor
« Reply #1 on: 28 Apr 2012, 16:21 »
 (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,