android: set FONTDIR so MuPDF can find its fallback fonts (#15738)
This commit is contained in:
1 parent
6296a3cc7f
commit
dab8e448f3
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user