From 570ed51111624dbee1023d6968c7fde6f3cb7d50 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sat, 12 Dec 2020 13:44:34 +0300 Subject: [PATCH] font fixes: - replace font to UI_Canvas_Fonts.Font_Main (which supports chinese); - scaling configured (not final). --- ServerExt/Classes/KF2Style.uc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ServerExt/Classes/KF2Style.uc b/ServerExt/Classes/KF2Style.uc index f8e6dea..6635e7e 100644 --- a/ServerExt/Classes/KF2Style.uc +++ b/ServerExt/Classes/KF2Style.uc @@ -17,7 +17,7 @@ function InitStyle() if (LoadedTex[i]==None) LoadedTex[i] = Texture2D'EngineMaterials.DefaultWhiteGrid'; // TODO: SmallFont/TinyFont not support unicode - DrawFonts[0] = Font(DynamicLoadObject("UI_Canvas_Fonts.Font_General",class'Font')); + DrawFonts[0] = Font(DynamicLoadObject("UI_Canvas_Fonts.Font_Main",class'Font')); DrawFonts[1] = Font(DynamicLoadObject("EngineFonts.SmallFont",class'Font')); DrawFonts[2] = Font(DynamicLoadObject("EngineFonts.TinyFont",class'Font')); for (i=0; i