summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 5aadd7b..7abc62b 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -273,10 +273,17 @@ end
local lastislog = 0
+function log(fmt, ...)
+ lastislog = 1
+ texio.write_nl(format("luaotfload | %s", format(fmt,...)))
+end
+
logs = logs or { }
logs.report = logs.report or log
logs.info = logs.info or log
+local log = names.log
+
-- The progress bar
local function progress(current, total)
if trace_progress then