summaryrefslogtreecommitdiff
path: root/src/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-14 23:15:37 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-14 23:15:37 +0100
commit93d0150fdba1a1e212aafeb4e16faef1cba82d60 (patch)
tree56aef6689729c3d570ad5d6921d91aa32e6dcd54 /src/luaotfload-tool.lua
parentfa25005e7ad5ffc537b5aaf39d1b3562daf8f5eb (diff)
downloadluaotfload-93d0150fdba1a1e212aafeb4e16faef1cba82d60.tar.gz
[db,main,tool] scan local fonts upon failed lookup during a TeX run (requires the config flag “scan_local”)
Diffstat (limited to 'src/luaotfload-tool.lua')
-rwxr-xr-xsrc/luaotfload-tool.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua
index d405dc7..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