Browse Source

Introduce fonts/ folder

rexim 2 years ago
parent
commit
299390390d
3 changed files with 2 additions and 2 deletions
  1. 0 0
      fonts/VictorMono-Regular.ttf
  2. 0 0
      fonts/iosevka-regular.ttf
  3. 2 2
      src/main.c

+ 0 - 0
VictorMono-Regular.ttf → fonts/VictorMono-Regular.ttf


+ 0 - 0
iosevka-regular.ttf → fonts/iosevka-regular.ttf


+ 2 - 2
src/main.c

@@ -65,8 +65,8 @@ int main(int argc, char **argv)
     }
 
     // TODO: users should be able to customize the font
-    // const char *const font_file_path = "./VictorMono-Regular.ttf";
-    const char *const font_file_path = "./iosevka-regular.ttf";
+    // const char *const font_file_path = "./fonts/VictorMono-Regular.ttf";
+    const char *const font_file_path = "./fonts/iosevka-regular.ttf";
 
     FT_Face face;
     error = FT_New_Face(library, font_file_path, 0, &face);