android: set FONTDIR so MuPDF can find its fallback fonts (#15738)

This commit is contained in:
Jacques PERON authored and GitHub committed 2026-07-25 00:29:15 +02:00
1 parent 6296a3cc7f
commit dab8e448f3
1 file changed
+3
+3
View File
@@ -18,6 +18,9 @@ end
-- path to primary external storage partition
local path = android.getExternalStoragePath()
-- Set $FONTDIR to android.dir/fonts so MuPDF can find its fonts.
C.setenv("FONTDIR", android.dir .. "/fonts", 1)
-- create fake command-line arguments
-- luacheck: ignore 121
if android.isDebuggable() then