Change text renderer to pango (supports all languages and loads font automatically), start on game detection

This commit is contained in:
dec05eba
2026-04-18 00:37:16 +02:00
parent 72c8c79896
commit 010787854e
39 changed files with 636 additions and 886 deletions

View File

@@ -12,7 +12,7 @@ namespace gsr {
static const float title_spacing_scale = 0.010f;
Subsection::Subsection(const char *title, std::unique_ptr<Widget> inner_widget, mgl::vec2f size) :
label(&get_theme().title_font, title ? title : "", get_color_theme().text_color),
label(get_theme().title_font_desc.c_str(), title ? title : "", get_color_theme().text_color),
inner_widget(std::move(inner_widget)),
size(size)
{