summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-16 20:27:26 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-16 20:27:26 +0300
commit855887d831ae93edfc760f973e2bedf23d76a53b (patch)
treef1764d8389c45733c0d375328e452f3784d6904c
parent92fd666d7e6e8f22498612118dc4556dc989ad79 (diff)
downloadluaotfload-855887d831ae93edfc760f973e2bedf23d76a53b.tar.gz
Simplify
-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