From a428bf2117d61d92e41e48454601a4e788847e9e Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 9 Apr 2017 12:31:17 -0400 Subject: gave proper font to ie4 --- TimeHACK.Engine/WindowManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TimeHACK.Engine/WindowManager.cs') diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 65a0ec5..d0a95c0 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -20,7 +20,7 @@ namespace TimeHACK.Engine app.Height = content.Height + 26; // Initialize Font pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\LeviWindows.ttf"); - Font fnt = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); + Font fnt = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); app.fnt = fnt; app.Title.Font = new Font(pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, ((0))); // Setup UC -- cgit v1.2.3