OsirisAndExtra
OsirisAndExtra copied to clipboard
I'm having trouble changing the font for the logs
I'm trying to change the font for the logs and when I use ImGui documentation I use
ImGuiIO& io = ImGui::GetIO(); io.Fonts->AddFontFromFileTTF("myfont.ttf", 9);
any ideas?
Try adding the font like in GUI.cpp
fonts.example = io.Fonts->AddFontFromFileTTF("font", 35.f);
then call it through
ImGui::PushFont(fonts.example) //code ImGui::PopFont();
It crashes when I do that
It crashes when I do that
make sure the font is right, or add through byte array. if that fails, just debug
yh I gotta debug mb ps sorry for the late responce