summaryrefslogtreecommitdiff
path: root/tex/context/base/font-log.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-log.lua')
-rw-r--r--tex/context/base/font-log.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/font-log.lua b/tex/context/base/font-log.lua
index 3f9e111b3..e16a945f9 100644
--- a/tex/context/base/font-log.lua
+++ b/tex/context/base/font-log.lua
@@ -37,12 +37,13 @@ function logger.save(tfmtable,source,specification) -- save file name in spec he
end
function logger.report(complete)
- local t = { }
+ local t, n = { }, 0
for name, used in table.sortedhash(fonts.used) do
+ n = n + 1
if complete then
- t[#t+1] = used .. "->" .. file.basename(name)
+ t[n] = used .. "->" .. file.basename(name)
else
- t[#t+1] = file.basename(name)
+ t[n] = file.basename(name)
end
end
return t