0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/fontforge-gtk/fontforgeexe-prefs.c.patch
2022-05-18 08:12:59 +09:00

13 lines
355 B
Diff

--- a/fontforgeexe/prefs.c
+++ b/fontforgeexe/prefs.c
@@ -585,6 +585,9 @@
#if __CygWin
b[i++] = uc_copy("/usr/share/fonts/");
b[i++] = uc_copy("/usr/share/X11/fonts/");
+#elif defined __ANDROID__
+ b[i++] = uc_copy("@TERMUX_PREFIX@/share/fonts/");
+ b[i++] = uc_copy("/system/fonts/");
#else
b[i++] = uc_copy("/usr/X11R6/lib/X11/fonts/");
#endif