From 25c1a595cd25fe657c3dce394024fedc800797b8 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 24 Jul 2011 20:41:27 +0200 Subject: Unify logging systems Until now, the logging functions in `otfl-luat-ovr.lua` and the function `log` in `otfl-font-nms.lua` used different syntax conventions, which resulted in suboptimal output when the functions in `otfl-font-nms.lua` were called from the LuaLaTeX module (in contrast to `mkluatexfontdb`). Spotted by Karl Berry, see http://tug.org/pipermail/lualatex-dev/2011-July/001274.html --- mkluatexfontdb.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mkluatexfontdb.lua') diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua index 553332d..99d1552 100755 --- a/mkluatexfontdb.lua +++ b/mkluatexfontdb.lua @@ -89,8 +89,9 @@ end local function generate(force) local fontnames, saved fontnames = names.update(fontnames, force) - logs.report("%s fonts in the database", #fontnames.mappings) + logs.report("fonts in the database", "%i", #fontnames.mappings) saved = names.save(fontnames) + texio.write_nl("") end process_cmdline() -- cgit v1.2.3