imgui console: use JetBrains (redistributable font); use font size, not pixel scaling
This commit is contained in:
parent
4ead2f25fe
commit
0207595db0
3 changed files with 97 additions and 13 deletions
|
|
@ -83,6 +83,10 @@ GameEngine::GameEngine(const McRogueFaceConfig& cfg)
|
|||
// Initialize ImGui for the window
|
||||
if (ImGui::SFML::Init(*window)) {
|
||||
imguiInitialized = true;
|
||||
// Register settings handler before .ini is loaded (happens on first frame)
|
||||
ImGuiConsole::registerSettingsHandler();
|
||||
// Load JetBrains Mono for crisp console text (will be overridden by .ini if present)
|
||||
ImGuiConsole::reloadFont(16.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue