Added font in

This commit is contained in:
Casey 2024-09-06 23:08:28 +03:00
parent 050dcf9765
commit c081ad93d7
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
3 changed files with 2 additions and 2 deletions

BIN
DepartureMono-Regular.otf Normal file

Binary file not shown.

View File

@ -74,7 +74,7 @@ int main(void) {
thrd_t mongoose_manager_thrd;
thrd_create(&mongoose_manager_thrd, mongoose_thread, 0);
Font font = LoadFontEx("/home/kc/.local/share/fonts/DepartureMono-Regular.otf", 14, 0, 512);
Font font = LoadFontEx("./DepartureMono-Regular.otf", 14, 0, 512);
Image img = {
.data = MemAlloc(512 * 512),

View File

@ -178,7 +178,7 @@ int main(void) {
memset(subscribed.img.data, 0x55, 512 * 512);
}
Font font = LoadFontEx("/home/kc/.local/share/fonts/DepartureMono-Regular.otf", 14, 0, 1024);
Font font = LoadFontEx("./DepartureMono-Regular.otf", 14, 0, 1024);
Camera2D cam = {
.offset.x = 400,