diff --git a/assets/opensb/interface/optionsmenu/optionsmenu.config.patch b/assets/opensb/interface/optionsmenu/optionsmenu.config.patch index 1911b08..cc8568b 100644 --- a/assets/opensb/interface/optionsmenu/optionsmenu.config.patch +++ b/assets/opensb/interface/optionsmenu/optionsmenu.config.patch @@ -2,7 +2,7 @@ "paneLayout" : { "voiceLabel" : { "type" : "label", - "position" : [119, 187], + "position" : [119, 186], "hAnchor" : "mid", "value" : "VOICE" }, diff --git a/source/windowing/StarCanvasWidget.cpp b/source/windowing/StarCanvasWidget.cpp index a0eeb7d..0c7ea82 100644 --- a/source/windowing/StarCanvasWidget.cpp +++ b/source/windowing/StarCanvasWidget.cpp @@ -274,6 +274,7 @@ void CanvasWidget::renderText(Vec2F const& renderingOffset, String const& s, Tex context.setDefaultLineSpacing(); context.setDefaultFont(); + context.setFontMode(FontMode::Normal); context.setFontProcessingDirectives(""); } diff --git a/source/windowing/StarLabelWidget.cpp b/source/windowing/StarLabelWidget.cpp index 30b1451..b55ecc1 100644 --- a/source/windowing/StarLabelWidget.cpp +++ b/source/windowing/StarLabelWidget.cpp @@ -14,7 +14,8 @@ LabelWidget::LabelWidget(String text, m_hAnchor(hAnchor), m_vAnchor(vAnchor), m_wrapWidth(move(wrapWidth)), - m_lineSpacing(move(lineSpacing)) { + m_lineSpacing(move(lineSpacing)), + m_fontMode(FontMode::Normal) { auto assets = Root::singleton().assets(); auto fontConfig = assets->json("/interface.config:font"); m_fontSize = fontConfig.getInt("baseSize");