summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-nms.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index d7a5847..ff848ce 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -66,9 +66,8 @@ function names.load()
else
logs.report("load font",
"no font names database found, generating new one")
- local fontnames = fontnames_init()
local savepath = names.path.localdir .. names.path.basename
- data = names.update(fontnames, false)
+ data = names.update()
io.savedata(savepath, table.serialize(data, true))
end
return data