From d280136ca77c3b67c6282a7554443e02d795e339 Mon Sep 17 00:00:00 2001 From: indigo Date: Thu, 18 Jun 2026 07:15:55 +0800 Subject: [PATCH] Modify font size to 15 --- src/ui/ImGuiContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ImGuiContext.cpp b/src/ui/ImGuiContext.cpp index 4939443..8563b16 100644 --- a/src/ui/ImGuiContext.cpp +++ b/src/ui/ImGuiContext.cpp @@ -106,7 +106,7 @@ bool ImGuiContext::Initialize(const std::string& windowTitle, int width, int hei const char* tryPaths[] = { fontPath0.c_str(), fontPath1.c_str() }; bool loaded = false; for (const char* p : tryPaths) { - ImFont* f = io.Fonts->AddFontFromFileTTF(p, 16.0f, &fontConfig); + ImFont* f = io.Fonts->AddFontFromFileTTF(p, 15.0f, &fontConfig); if (f) { LOG_INFO(std::string("Loaded Inter font from ") + p); loaded = true;