summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Robertson <wspr81@gmail.com>2010-06-02 16:48:03 +0930
committerWill Robertson <wspr81@gmail.com>2010-06-05 16:27:34 +0930
commitcf7388ed0f408fdeb219ff924e8b6191784f412b (patch)
tree42958fecb63ebc6d7975aca0f4fb846c3ff618ad
parent075ef195bf5c129ea9d7006e29d035a749f8fec1 (diff)
downloadluaotfload-cf7388ed0f408fdeb219ff924e8b6191784f412b.tar.gz
be more verbose when updating the font database
(so users know what's taking so long)
-rw-r--r--otfl-font-nms.lua4
-rw-r--r--otfl-luat-ovr.lua1
2 files changed, 3 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 3e283b2..a401072 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -93,10 +93,10 @@ function names.load()
foundname = systempath
end
if data then
- logs.report("load font",
+ logs.info("load font",
"loaded font names database: %s", foundname)
else
- logs.report("load font",
+ logs.info("load font",
"no font names database found, generating new one")
data = names.update()
names.save(data)
diff --git a/otfl-luat-ovr.lua b/otfl-luat-ovr.lua
index 20d2b73..7bac97d 100644
--- a/otfl-luat-ovr.lua
+++ b/otfl-luat-ovr.lua
@@ -32,6 +32,7 @@ function logs.info(category,fmt,...)
else
write_nl(format("%s |",name))
end
+ io.flush()
end
function logs.simple(fmt,...)