From f83baafcf664a4153bf398de7d22acc07f0a44ef Mon Sep 17 00:00:00 2001
From: FunkyFr3sh <cc.red.alert.1@googlemail.com>
Date: Mon, 9 Sep 2024 19:09:40 +0200
Subject: [PATCH] move font settings to the top

---
 src/config.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/config.c b/src/config.c
index 4e425f2..7416ad7 100644
--- a/src/config.c
+++ b/src/config.c
@@ -243,6 +243,12 @@ static void cfg_create_ini()
             "; Possible values: 0 = nearest-neighbor, 1 = bilinear, 2 = bicubic, 3 = lanczos (bicubic/lanczos only support 16/32bit color depth games)\n"
             "d3d9_filter=2\n"
             "\n"
+            "; Disable font smoothing for fonts that are smaller than size X\n"
+            "anti_aliased_fonts_min_size=13\n"
+            "\n"
+            "; Raise the size of small fonts to X\n"
+            "min_font_size=0\n"
+            "\n"
             "; Enable upscale hack for high resolution patches (Supports C&C1, Red Alert 1, Worms 2 and KKND Xtreme)\n"
             "vhack=false\n"
             "\n"
@@ -307,10 +313,8 @@ static void cfg_create_ini()
             "rgb555=false\n"
             "no_dinput_hook=false\n"
             "refresh_rate=0\n"
-            "anti_aliased_fonts_min_size=13\n"
             "custom_width=0\n"
             "custom_height=0\n"
-            "min_font_size=0\n"
             "direct3d_passthrough=false\n"
             "center_cursor_fix=false\n"
             ";fake_mode=640x480x32\n"