Modify font size to 15

This commit is contained in:
2026-06-18 07:15:55 +08:00
parent 81d4372bf6
commit d280136ca7
+1 -1
View File
@@ -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;