From 838831e13a9c6b3114d4d9ec0417f04dde47b1ac Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 19 Nov 2021 03:44:30 +0100 Subject: Revert test changes --- tests/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/main.c b/tests/main.c index a544761..b341bb3 100644 --- a/tests/main.c +++ b/tests/main.c @@ -57,7 +57,7 @@ static void draw(mgl_window *window, void *userdata) { fprintf(stderr, "fps: %d\n", u->fps); } char str[255]; - snprintf(str, sizeof(str), "I finally did it!! Me and my sock puppets riled Connor and Punk"); + snprintf(str, sizeof(str), "hello|fps\nåäö: %d", u->fps); mgl_text text; mgl_text_init(&text, u->font, str, strlen(str)); @@ -256,10 +256,10 @@ int main(int argc, char **argv) { if(mgl_mapped_file_load("/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc", &cjk_font_file, &(mgl_memory_mapped_file_load_options){ .readable = true, .writable = false }) != 0) return 1; - if(mgl_font_load_from_file(&font, &font_file, 22) != 0) + if(mgl_font_load_from_file(&font, &font_file, 26) != 0) return 1; - if(mgl_font_load_from_file(&cjk_font, &cjk_font_file, 22) != 0) + if(mgl_font_load_from_file(&cjk_font, &cjk_font_file, 26) != 0) return 1; if(mgl_shader_program_init(&shader_program) != 0) -- cgit v1.2.3