From e6085e1890fdbfde027e096e48ecefffbd2acb12 Mon Sep 17 00:00:00 2001 From: Fireblade <3+fireblade@noreply.neolegacy.dev> Date: Wed, 8 Jul 2026 23:25:10 +0100 Subject: [PATCH] fix: font crash when switching languages thank you perky --- Minecraft.Client/Common/UI/UIController.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Minecraft.Client/Common/UI/UIController.cpp b/Minecraft.Client/Common/UI/UIController.cpp index 8121bb90..d2415b1f 100644 --- a/Minecraft.Client/Common/UI/UIController.cpp +++ b/Minecraft.Client/Common/UI/UIController.cpp @@ -514,9 +514,12 @@ void UIController::SetupFont() } else { + //removed this cause it caused a crash when switching from custom font to bitmap font but not when loading the game with font selected, needs a deeper look +#if 0 app.DebugPrintf("[Iggy] Set font indirect to '%hs'.\n", m_mcTTFFont->getFontName().c_str()); IggyFontSetIndirectUTF8( "Mojangles7", -1, IGGY_FONTFLAG_all, m_mcTTFFont->getFontName().c_str(), -1, IGGY_FONTFLAG_none ); IggyFontSetIndirectUTF8( "Mojangles11", -1, IGGY_FONTFLAG_all, m_mcTTFFont->getFontName().c_str(), -1, IGGY_FONTFLAG_none ); +#endif } } else