Fix test-multithread build on FreeBSD (#1217)

Add the default font path used by FreeBSD ports.
This commit is contained in:
lantw44 2018-10-03 23:22:43 +08:00 committed by Ebrahim Byagowi
parent df32eaae42
commit 7a1ab0464d

View File

@ -37,6 +37,8 @@ static const char *text = "طرح‌نَما";
static const char *path =
#if defined(__linux__)
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf";
#elif defined(__FreeBSD__)
"/usr/local/share/fonts/dejavu/DejaVuSans.ttf";
#elif defined(_WIN32) || defined(_WIN64)
"C:\\Windows\\Fonts\\tahoma.ttf";
#elif __APPLE__