termux-packages/packages/tsmuxer/tsMuxer-osdep-textSubtitlesRenderFT.cpp.patch

12 lines
458 B
Diff
Raw Normal View History

2021-12-07 13:15:24 +01:00
--- 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