summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
authorPhilipp Stephani <st_philipp@yahoo.de>2011-07-24 20:41:27 +0200
committerPhilipp Stephani <st_philipp@yahoo.de>2011-07-24 20:41:27 +0200
commit25c1a595cd25fe657c3dce394024fedc800797b8 (patch)
tree150751dd2756eda576ae8e504fb74618fee2453f /mkluatexfontdb.lua
parent605fc04052dbdf49b55a07820e82de25e4b3494f (diff)
downloadluaotfload-25c1a595cd25fe657c3dce394024fedc800797b8.tar.gz
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
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-xmkluatexfontdb.lua3
1 files changed, 2 insertions, 1 deletions
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()