From 6f9d8c4b630178e5a8ffa7df3272c77c9c49883d Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Sun, 2 Aug 2026 22:05:45 +0200 Subject: [PATCH] bugfix(gamefont): Lift the upper font point size limit of 100 --- Core/GameEngine/Source/GameClient/GUI/GameFont.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/GameEngine/Source/GameClient/GUI/GameFont.cpp b/Core/GameEngine/Source/GameClient/GUI/GameFont.cpp index 6fd6e38bab7..e8dbc96bb4f 100644 --- a/Core/GameEngine/Source/GameClient/GUI/GameFont.cpp +++ b/Core/GameEngine/Source/GameClient/GUI/GameFont.cpp @@ -178,9 +178,8 @@ void FontLibrary::reset() //------------------------------------------------------------------------------------------------- GameFont *FontLibrary::getFont( AsciiString name, Int pointSize, Bool bold ) { - // sanity check the size - anything over 100 is probably wrong. -MW - // TheSuperHackers @fix Now also no longer creates fonts with zero size. - if (pointSize < 1 || pointSize > 100) + // TheSuperHackers @fix No longer creates fonts with zero size. And allows fonts with size larger than 100. + if (pointSize < 1) { return nullptr; }