aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/main.c6
1 files changed, 3 insertions, 3 deletions
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)