diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 14:48:42 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 14:48:42 +1000 |
commit | 8ee9c97f54b210f9bb74b6a3c4f32f91b1620f13 (patch) | |
tree | 3dfbaf64eda93578d7f21d772100f0ed2a287363 /source/frontend/StarMainInterface.cpp | |
parent | d018957b098f00536d0d7641e13aaf1ebddf2238 (diff) |
Tweak debug font
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 37ff2e3..83eb1b4 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -1261,6 +1261,7 @@ void MainInterface::renderDebug() { auto assets = Root::singleton().assets(); m_guiContext->setFontSize(m_config->debugFontSize); m_guiContext->setFont(m_config->debugFont); + m_guiContext->setLineSpacing(0.5f); m_guiContext->setFontProcessingDirectives(m_config->debugFontDirectives); m_guiContext->setFontColor(Color::Green.toRgba()); m_guiContext->setFontMode(FontMode::Normal); @@ -1297,6 +1298,7 @@ void MainInterface::renderDebug() { } m_guiContext->setFontSize(8); m_guiContext->setDefaultFont(); + m_guiContext->setDefaultLineSpacing(); m_guiContext->setFontColor(Vec4B::filled(255)); m_guiContext->setFontProcessingDirectives(""); |