Check root directory for font
This commit is contained in:
parent
9c00945ea1
commit
fa24633a9e
|
@ -20,7 +20,7 @@ void ApplyUIScaling(GLFWwindow* window) {
|
|||
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.Fonts->Clear();
|
||||
|
||||
std::cout << "Current Path: " << std::filesystem::current_path() << std::endl;
|
||||
io.Fonts->AddFontFromFileTTF("imgui/misc/fonts/JetBrainsMono/JetBrainsMono-Medium.ttf", 8.0f * scale);
|
||||
|
||||
io.Fonts->Build();
|
||||
|
|
Loading…
Reference in New Issue