FREETYPEEEEEE

This commit is contained in:
2026-03-05 02:31:31 -05:00
parent fb358e3c4b
commit 6c43a29f9f
293 changed files with 153022 additions and 262 deletions

View File

@@ -1910,7 +1910,8 @@ static void do_frame(AppState *app) {
}
app->ui_scale = Clamp(0.5f, app->ui_scale, 3.0f);
g_ui_scale = app->ui_scale;
renderer_set_font_scale(app->renderer, app->ui_scale);
F32 dpi_scale = platform_get_dpi_scale(app->window);
renderer_set_font_scale(app->renderer, app->ui_scale * dpi_scale);
// Handle theme change
if (app->settings_theme_sel != app->settings_theme_prev) {