summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-15 00:14:23 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-15 00:14:23 +0200
commit25444ac8cd48cd5ad7ed32bfcc9a0a1314e2223a (patch)
treee56c6909cdfacac4f383f203fdd8c228c41fae76 /mkluatexfontdb.lua
parent7b6553218a35e5f74ad2013a1a16f54b8aa4f2ca (diff)
downloadluaotfload-25444ac8cd48cd5ad7ed32bfcc9a0a1314e2223a.tar.gz
rewrite filename logger
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-xmkluatexfontdb.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua
index ec8396f..956fa18 100755
--- a/mkluatexfontdb.lua
+++ b/mkluatexfontdb.lua
@@ -24,11 +24,11 @@ _G.config = _G.config or { }
local config = _G.config
config.lualibs = config.lualibs or { }
config.lualibs.prefer_merged = false
-config.lualibs.load_extended = true
+config.lualibs.load_extended = false
require"lualibs"
require"otfl-basics-gen.lua"
-require"otfl-luat-ovr.lua"
+require"otfl-luat-ovr.lua" --- this populates the logs.* namespace
require"otfl-font-nms"
require"alt_getopt"
@@ -84,7 +84,9 @@ local short_options = "fqpvVh"
local force_reload = nil
local function process_cmdline()
- local options, _, _ = alt_getopt.get_ordered_opts (arg, short_options, long_options)
+ local options, _, _ = alt_getopt.get_ordered_opts (arg,
+ short_options,
+ long_options)
local log_level = 1
for _,v in next, options do
if v == "q" then
@@ -105,7 +107,7 @@ local function process_cmdline()
force_reload = 1
end
end
- names.set_log_level(log_level)
+ logs.set_loglevel(log_level)
end
local function generate(force)