diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-02-14 23:18:53 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-02-14 23:18:53 +0100 |
commit | aa016b9643a986dc1cf0bed24fbb07e302b5d0d8 (patch) | |
tree | 432c5d80fd0f53436c17c0ffb0000dad1698ca60 /src/luaotfload-tool.lua | |
parent | 5ea0298990512f196ce1fb54ae2e6becc7b725a6 (diff) | |
parent | 41a2ac387b7cbc1d724fd0016a156c4b210ec07e (diff) | |
download | luaotfload-aa016b9643a986dc1cf0bed24fbb07e302b5d0d8.tar.gz |
Merge pull request #199 from phi-gamma/texlive2014
scan local fonts during TeX run
Diffstat (limited to 'src/luaotfload-tool.lua')
-rwxr-xr-x | src/luaotfload-tool.lua | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua index 9f00956..f9b9b94 100755 --- a/src/luaotfload-tool.lua +++ b/src/luaotfload-tool.lua @@ -723,9 +723,9 @@ set. --]]-- local action_sequence = { - "loglevel", "help", "version", "diagnose", - "blacklist", "cache", "flush", "generate", - "scan_local", "list", "query", + "loglevel", "help", "version", "diagnose", + "blacklist", "cache", "flush", "generate", + "list", "query", } local action_pending = tabletohash(action_sequence, false) @@ -770,11 +770,6 @@ actions.generate = function (job) return false, false end -actions.scan_local = function (job) - names.scan_local_fonts () - return true, true -end - actions.flush = function (job) local success = names.flush_lookup_cache() if success then @@ -1174,7 +1169,7 @@ local process_cmdline = function ( ) -- unit -> jobspec action_pending["flush"] = true elseif v == "L" then action_pending["generate"] = true - action_pending["scan_local"] = true + luaotfloadconfig.scan_local = true elseif v == "list" then action_pending["list"] = true result.criterion = optarg[n] |