Commit a4e01382828e60cc5c4aa138ba7ecbdbe76ba8ac

Thomas de Grivel 2024-06-16T10:30:50

fix 'Noto Sans' font path

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3_window/sdl2/demo/matrix.c b/libc3_window/sdl2/demo/matrix.c
index 6310ecc..a550284 100644
--- a/libc3_window/sdl2/demo/matrix.c
+++ b/libc3_window/sdl2/demo/matrix.c
@@ -116,7 +116,7 @@ bool matrix_load (s_sequence *seq)
   assert(window);
   point_per_pixel = (f32) window->w / window->gl_w;
   if (! gl_font_init(&g_matrix_font,
-                     "fonts/NotoSans-Regular.ttf",
+                     "fonts/Noto Sans/NotoSans-Regular.ttf",
                      point_per_pixel))
     return false;
   gl_font_set_size(&g_matrix_font, MATRIX_FONT_SIZE);