Add NetBSD Fonts

Credits go to @Randrianasulu.

Fixes #595.
master
jcdr428 2022-05-04 19:12:32 +00:00 committed by GitHub
parent 327744f69f
commit 548eb1d718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ const static char FONT_ROOT[] = "c:/WINDOWS/Fonts"; // for debug only
const static char FONT_ROOT[] = "/usr/share/fonts/";
#elif defined(__APPLE__) && defined(__MACH__)
const static char FONT_ROOT[] = "/System/Library/Fonts/";
#elif defined(__NetBSD__)
const static char FONT_ROOT[] = "/usr/X11R7/lib/X11/fonts/";
#endif
#include <freetype/ftstroke.h>