Modify font size to 15
This commit is contained in:
@@ -106,7 +106,7 @@ bool ImGuiContext::Initialize(const std::string& windowTitle, int width, int hei
|
|||||||
const char* tryPaths[] = { fontPath0.c_str(), fontPath1.c_str() };
|
const char* tryPaths[] = { fontPath0.c_str(), fontPath1.c_str() };
|
||||||
bool loaded = false;
|
bool loaded = false;
|
||||||
for (const char* p : tryPaths) {
|
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) {
|
if (f) {
|
||||||
LOG_INFO(std::string("Loaded Inter font from ") + p);
|
LOG_INFO(std::string("Loaded Inter font from ") + p);
|
||||||
loaded = true;
|
loaded = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user