summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-04-02 11:10:37 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-04-02 11:16:25 +0200
commitb5d772765146e00f1f2f00d962e64b14a4fbb153 (patch)
treee4c7a94e5fc60fc67f60bbc9bcd57343d38b52a0 /mkluatexfontdb.lua
parente829a47bf78db8f1a9f691dcd7b096eab58040ad (diff)
downloadluaotfload-b5d772765146e00f1f2f00d962e64b14a4fbb153.tar.gz
Clean database generation code a bit
Simplify the database and the code to reflect recent changes in font matching logic.
Diffstat (limited to 'mkluatexfontdb.lua')
-rwxr-xr-xmkluatexfontdb.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua
index a26b80b..ad9a362 100755
--- a/mkluatexfontdb.lua
+++ b/mkluatexfontdb.lua
@@ -164,8 +164,7 @@ local function generate(force)
fontnames = nil
end
fontnames, status = names.update(fontnames, status, force)
- log("%s fonts in %s families in the database",
- #fontnames.mappings, #table.keys(fontnames.families))
+ log("%s fonts in the database", #fontnames.mappings)
io.savedata(savepath, table.serialize(fontnames, true))
log("saved font names database in %s\n", savepath)
io.savedata(status_file, table.serialize(status, true))