diff options
Diffstat (limited to 'update-luatex-font-database.lua')
-rw-r--r-- | update-luatex-font-database.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/update-luatex-font-database.lua b/update-luatex-font-database.lua index 6b68e68..38a83cb 100644 --- a/update-luatex-font-database.lua +++ b/update-luatex-font-database.lua @@ -117,6 +117,9 @@ local function process_cmdline() luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" end end + if string.match(arg[0], '-sys') then + luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" + end luaotfload.fonts.log_level = log_level end |