From cf7388ed0f408fdeb219ff924e8b6191784f412b Mon Sep 17 00:00:00 2001 From: Will Robertson Date: Wed, 2 Jun 2010 16:48:03 +0930 Subject: be more verbose when updating the font database (so users know what's taking so long) --- otfl-font-nms.lua | 4 ++-- otfl-luat-ovr.lua | 1 + 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,...) -- cgit v1.2.3