Fix test-multithread build on FreeBSD (#1217)
Add the default font path used by FreeBSD ports.
This commit is contained in:
parent
df32eaae42
commit
7a1ab0464d
|
@ -37,6 +37,8 @@ static const char *text = "طرحنَما";
|
||||||
static const char *path =
|
static const char *path =
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf";
|
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf";
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
"/usr/local/share/fonts/dejavu/DejaVuSans.ttf";
|
||||||
#elif defined(_WIN32) || defined(_WIN64)
|
#elif defined(_WIN32) || defined(_WIN64)
|
||||||
"C:\\Windows\\Fonts\\tahoma.ttf";
|
"C:\\Windows\\Fonts\\tahoma.ttf";
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
|
|
Loading…
Reference in New Issue