Tweak debug font
This commit is contained in:
parent
d018957b09
commit
8ee9c97f54
@ -13,9 +13,9 @@
|
|||||||
"cursorTooltip" : {
|
"cursorTooltip" : {
|
||||||
"font" : ""
|
"font" : ""
|
||||||
},
|
},
|
||||||
|
|
||||||
"debugFont" : "mono-b",
|
"debugFont" : "mono",
|
||||||
"debugFontSize" : 6,
|
"debugFontSize" : 7,
|
||||||
"debugFontDirectives" : "?border=1;0007;0000",
|
"debugFontDirectives" : "?border=1;0007;0000",
|
||||||
|
|
||||||
// Change planet name to support the new internal string formatting.
|
// Change planet name to support the new internal string formatting.
|
||||||
|
@ -1261,6 +1261,7 @@ void MainInterface::renderDebug() {
|
|||||||
auto assets = Root::singleton().assets();
|
auto assets = Root::singleton().assets();
|
||||||
m_guiContext->setFontSize(m_config->debugFontSize);
|
m_guiContext->setFontSize(m_config->debugFontSize);
|
||||||
m_guiContext->setFont(m_config->debugFont);
|
m_guiContext->setFont(m_config->debugFont);
|
||||||
|
m_guiContext->setLineSpacing(0.5f);
|
||||||
m_guiContext->setFontProcessingDirectives(m_config->debugFontDirectives);
|
m_guiContext->setFontProcessingDirectives(m_config->debugFontDirectives);
|
||||||
m_guiContext->setFontColor(Color::Green.toRgba());
|
m_guiContext->setFontColor(Color::Green.toRgba());
|
||||||
m_guiContext->setFontMode(FontMode::Normal);
|
m_guiContext->setFontMode(FontMode::Normal);
|
||||||
@ -1297,6 +1298,7 @@ void MainInterface::renderDebug() {
|
|||||||
}
|
}
|
||||||
m_guiContext->setFontSize(8);
|
m_guiContext->setFontSize(8);
|
||||||
m_guiContext->setDefaultFont();
|
m_guiContext->setDefaultFont();
|
||||||
|
m_guiContext->setDefaultLineSpacing();
|
||||||
m_guiContext->setFontColor(Vec4B::filled(255));
|
m_guiContext->setFontColor(Vec4B::filled(255));
|
||||||
m_guiContext->setFontProcessingDirectives("");
|
m_guiContext->setFontProcessingDirectives("");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user