Problem With Game Font Related???

Post bug reports and ask for game support here.

Moderator: Vic

Post Reply
Alan Sharif
Posts: 1129
Joined: Wed Aug 01, 2001 8:00 am
Location: UK.
Contact:

Problem With Game Font Related???

Post by Alan Sharif »

Hi, my game has stopped working and I get am error message that reads 'Font Arial does not support Regular' and this;
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** 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 WindowsApplication1.GameClass..ctor()
at WindowsApplication1.Form1.FinishUp()
at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.3908.21501
Win32 Version: 1.0.3908.21501
CodeBase: file:///C:/Matrix%20Games/Decisive%20Campaigns%20The%20Blitzkrieg%20from%20Warsaw%20to%20Paris/WarsawToParis.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


What do I have to do to resolve this? Answer in plain English please :)
A Sharif
Alan Sharif
Posts: 1129
Joined: Wed Aug 01, 2001 8:00 am
Location: UK.
Contact:

RE: Problem With Game Font Related???

Post by Alan Sharif »

I am an XP user. The fonts offered by TEC support for Windows7/Vista already exist on my PC. Game patched to version 1.2.
A Sharif
User avatar
Vic
Posts: 10077
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem With Game Font Related???

Post by Vic »

Hi Alan,

Try installing the arial fonts in the attached .zip file.

let me know if that helps.

best regards,
Vic
Attachments
arialfonts.zip
(1.22 MiB) Downloaded 20 times
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Alan Sharif
Posts: 1129
Joined: Wed Aug 01, 2001 8:00 am
Location: UK.
Contact:

RE: Problem With Game Font Related???

Post by Alan Sharif »

Vic,

I have no idea why but yes it now works. Thanks for your help.

Regards

Alan
A Sharif
Post Reply

Return to “Tech Support”