termux-packages/packages/tsmuxer/tsMuxer-osdep-textSubtitles...

12 lines
458 B
Diff

--- a/tsMuxer/osdep/textSubtitlesRenderFT.cpp
+++ b/tsMuxer/osdep/textSubtitlesRenderFT.cpp
@@ -19,7 +19,7 @@
#if defined(_WIN32)
const static char FONT_ROOT[] = "c:/WINDOWS/Fonts"; // for debug only
#elif __linux__ == 1
-const static char FONT_ROOT[] = "/usr/share/fonts/";
+const static char FONT_ROOT[] = "@TERMUX_PREFIX@/share/fonts/";
#elif defined(__APPLE__) && defined(__MACH__)
const static char FONT_ROOT[] = "/System/Library/Fonts/";
#endif