summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-06-24 22:02:45 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-06-24 22:02:45 +0300
commitf6aace6e9db3f96cc08dfc932954dbd695c60ee5 (patch)
tree71534a9ccd628e6ad3147b124167891670f56935
parent153e373087f59a4d01c9e10ab8a289372be3972e (diff)
downloadluaotfload-f6aace6e9db3f96cc08dfc932954dbd695c60ee5.tar.gz
Revert "Unused code"
This reverts commit 1473edf932ec729f4a41736fb7ee52654c848d59. This broke mkluatexfontdab.
-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