diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-12-13 11:30:40 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-12-13 11:30:40 +0100 |
commit | 21ebcc5a7c7907a8a2141b09b230e6c259594b76 (patch) | |
tree | 6675373938ed6c980597f909b6efbaafd8aab5d1 /luaotfload-diagnostics.lua | |
parent | 77bc18e06aa2956abc67a32ad6c28e890a252451 (diff) | |
download | luaotfload-21ebcc5a7c7907a8a2141b09b230e6c259594b76.tar.gz |
[diagnose] adapt to new index structure
Diffstat (limited to 'luaotfload-diagnostics.lua')
-rw-r--r-- | luaotfload-diagnostics.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/luaotfload-diagnostics.lua b/luaotfload-diagnostics.lua index 9d0eff6..97390ce 100644 --- a/luaotfload-diagnostics.lua +++ b/luaotfload-diagnostics.lua @@ -56,10 +56,10 @@ end local check_index = function (errcnt) out "================= font names ==================" - local name_index = names.data() + local namedata = names.data() - if not name_index then - name_index = names.load () + if not namedata then + namedata = names.load () end local mappings = namedata.mappings @@ -69,9 +69,9 @@ local check_index = function (errcnt) return errcnt + 1 end - out ("Database version: %.3f.", names.version) + out ("Database version: %.3f.", namedata.meta.version) out ("Font formats indexed: %s.", - tableconcat (namedata.formats, ", ")) + tableconcat (namedata.meta.formats, ", ")) out ("%d font files indexed.", #mappings) local by_format = { } |