changeset 2294:7e995fb948c3

Make UI font less comically large
author Michael Pavone <pavone@retrodev.com>
date Fri, 10 Feb 2023 21:37:59 -0800
parents 3e0d463eb9b3
children eb45ad9d8a3f
files nuklear_ui/blastem_nuklear.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Sun Feb 05 15:27:46 2023 -0800
+++ b/nuklear_ui/blastem_nuklear.c	Fri Feb 10 21:37:59 2023 -0800
@@ -2377,7 +2377,7 @@
 	if (!font) {
 		fatal_error("Failed to find default font path\n");
 	}
-	def_font = nk_font_atlas_add_from_memory(atlas, font, font_size, render_height() / 16, NULL);
+	def_font = nk_font_atlas_add_from_memory(atlas, font, font_size, render_height() / 24, NULL);
 	free(font);
 	if (fb_context) {
 		nk_rawfb_font_stash_end(fb_context);