summaryrefslogtreecommitdiff
path: root/source/main.cpp
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-06-21 00:33:35 +0500
committertalha <talha@talhaamir.xyz>2024-06-21 00:33:35 +0500
commit8824908b696278f34891d95c15e519710ea0d18d (patch)
treef08522791a6ec89b531317c5ad3b551cca9c3e74 /source/main.cpp
parentba43db84ce7e80449c505c1381b33786cc047131 (diff)
Setup font loading on linux
Diffstat (limited to 'source/main.cpp')
-rw-r--r--source/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/main.cpp b/source/main.cpp
index 6df5451..3458820 100644
--- a/source/main.cpp
+++ b/source/main.cpp
@@ -378,7 +378,7 @@ int main(int argc, char* argv[])
return -1;
}
- FT_Error error = FT_New_Face(ft_lib, "assets/fonts/Arial.ttf", 0, &face);
+ FT_Error error = FT_New_Face(ft_lib, "assets/fonts/Roboto.ttf", 0, &face);
if (error == FT_Err_Unknown_File_Format)
{
printf("Error: Font Loading Failed. The font format is unsupported.\n");