Skip to content

Commit 8069fd1

Browse files
authored
Fix font file path bug
1 parent 49f4c48 commit 8069fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

umplot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ void umplot_plot(UmkaStackSlot *params, UmkaStackSlot *result)
433433
InitWindow(800, 600, "UmPlot");
434434
SetTargetFPS(30);
435435

436-
const char *fontName = "liberation.ttf";
436+
const char *fontName = "./liberation.ttf";
437437
Font gridFont = LoadFontEx(fontName, plot->grid.fontSize, NULL, 256);
438438
Font titlesFont = LoadFontEx(fontName, plot->titles.fontSize, NULL, 256);
439439

0 commit comments

Comments
 (0)