diff --git a/demo/sdl/sdl.c b/demo/sdl/sdl.c index faa497a..43bae65 100644 --- a/demo/sdl/sdl.c +++ b/demo/sdl/sdl.c @@ -435,7 +435,7 @@ main(int argc, char *argv[]) zr_font_atlas_init_default(&atlas); zr_font_atlas_begin(&atlas); - if (font_path) font = zr_font_atlas_add_from_file(&atlas, font_path, 30.0f, NULL); + if (font_path) font = zr_font_atlas_add_from_file(&atlas, font_path, 14.0f, NULL); else font = zr_font_atlas_add_default(&atlas, 14.0f, NULL); image = zr_font_atlas_bake(&atlas, &width, &height, ZR_FONT_ATLAS_RGBA32); device_upload_atlas(&device, image, width, height);